[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grub install



Dear all,

because lilo couldn't boot my new drive (an IBM DNES 18 GB SCSI disk),
I began to try out grub, which can. However, I'm stuck halfway with
the installation: According to the info pages I made a boot disk and
installed grub on the hard disk with the command

     install (fd0)+1 (hd0) (hd0,1) /grub/stage2 p

(I made a 6 GB Win partition, a 20 MB boot partition and the rest for
the root part. + swap.) Now at boot time I get to a grub prompt and I
can boot the system by hand with the commands

     root (hd0,1)
     kernel vmlinuz-2.2.14 root=/dev/sda3
     boot

The menu.lst file which I placed in the /boot/grub directory is
happily ignored.

My question is how to slip booting by hand and get a boot menu
according to my menu.lst -- maybe the configuration isn't quite
correct. The menu.lst by now looks like this:

     # Boot automatically after 30 secs.
     timeout 30
     # By default, boot the first entry.
     default 0
     timeout 5
     # For booting Linux
     title GNU/Linux
     kernel (hd0,1)/vmlinuz-2.2.14 root=/dev/sda3
     # For booting Windows
     title Windows
     root (hd0,0)
     makeactive
     chainloader +1
     # For installing GRUB into the hard disk
     title Install GRUB into the hard disk
     root (hd0,1)
     install /grub/stage1 d (hd0) /grub/stage2 p

(copied from the example file and adapted to my setup). Any comments/
hints?

Thanks for your answers,
joachim


Reply to: