Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: hdc install like cdrom, Installing a cd like system on hdc< Next Oldest | Next Newest >
t2dave Offline





Group: Members
Posts: 1
Joined: Sep. 2005
Posted: Sep. 10 2005,02:40 QUOTE

I'm trying to install a cdrom style system (runs out of ramdisk) onto hdc1.  I don't have the option of reconfiguring my system to have my disk on hda, so frugal_install won't work.  It only installs onto hda.

I've managed the following so far:

1) boot dsl on cdrom
2) run frugal_grub.sh to put the system and grub on /dev/hdc1

I then reboot the system without the disk in the cd drive, and I get to the grub prompt.

At the grub prompt I do the following 3 lines:

kernel /boot/linux24
initrd /boot/minirt24.gz
boot

The system boots.  During boot is asks me about Xvesa, about USB mouse, PS2 mouse, screen size, etc.

I answer these questions and the system boots DSL nice and happy.

What I want to be able to do is:

1) Not have to manually enter those commands at the grub prompt.
2) Not have to answer those questions during the boot process.

I'm a real novice with grub - maybe someone knows much more than me and would like to explain what I should do - I'm at a loss.

dave
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Sep. 10 2005,03:04 QUOTE

Quote

1) Not have to manually enter those commands at the grub prompt.


Open your /mnt/hdc1/boot/grub/menu.list file AS ROOT,
and make it look like this...

Quote

default 0
timeout 10

title DSL
root (hd2,0)
kernel /boot/linux24 quiet vga=normal noapm noacpi noscsi frugal dma
initrd /boot/minirt24.gz


You can also add other options to your kernel line, like 'host=whatever',
'toram' ( if you have 128MB ram or more), 'secure' ( for passwords )
See your f2 and f3 options at boottime when booting from your cdrom
for more options..

Quote

2) Not have to answer those questions during the boot process.


Before a shutdown, make a backup to hdc1..
From right/click menu, choose System > Backup/Restore
and put    '  hdc1  '  in the textbox.

The backup process copies almost everything in your /home/dsl dir
to the backup.tar.gz .. the key file to save is called /home/dsl/.xserverrc

Upon reboot, your backup should restore automatically.
You could also add the option "restore=hdc1' at boottime,
to select it, if you had a backup in more than one location.

It's been a while since I played with doing this, and selecting
something besides hd0 to boot from in my bios..

Let us know how it goes..

73
ke4nt
Back to top
Profile PM 
1 replies since Sep. 10 2005,02:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: hdc install like cdrom

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code