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

Re: grub install



On 5 Feb 2000, Joachim Trinkwitz wrote:

> 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

My entry is:-

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd2,0)
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p \
(hd2,0)/boot/grub/menu.lst
 
Where the last two lines above are really one line.  Note the extra
parameter.

I find grub to be excellent, but I just wish that so many things in Linux
did not assume that I am using lilo.

 
> (copied from the example file and adapted to my setup). Any comments/
> hints?
> 
> Thanks for your answers,
> joachim
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

HTH
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen@cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 9316 2486   32.0125S 115.8445E               Debian Linux
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Reply to: