On Wed, Feb 28, 2001 at 08:30:59AM -0800, Ivan Passos wrote:
> 
> Hello,
> 
> I'm trying to use GRUB and I ran into a situation that I don't know
> whether it's a problem or this is the way it's supposed to work.
> 
> I have a HD with the following partitioning:
> 
> /dev/hda1     /boot
> /dev/hda2     /
> /dev/hda3     /develop
> /dev/hda4     swap
> 
> When I try to use the menu facilities of GRUB by:
> - Creating a /boot/grub/menu.lst as follows:
> 
>       default 0
>       timeout 3
> 
>       title Linux
>       kernel (hd0,1)/vmlinuz root=/dev/hda2
> 
>       title Linux.old
>       kernel (hd0,1)/vmlinuz.old root=/dev/hda2
> 
> - Running 'grub-install /dev/hda';
> - Rebooting the system.


`--root-directory=DIR'
     Install GRUB images under the directory DIR instead of the root
     directory. This option is useful when you want to install GRUB
     into a separate partition or a removable disk. Here is an
     example when you have a separate "boot" partition which is
         mounted on `/boot':
         
                grub-install --root-directory=/boot '(hd0)'
                                                                   
The problem is here. "grub-install" has installed the images of grub
under the root directory, where it can't find the /boot/grub/menu.lst
since this file is on another partition.

Please use the command above to install correctly GRUB.

HTH
-- 
Thierry LARONDE <[EMAIL PROTECTED]>
10, rue du Bel Air, 74000 ANNECY - FRANCE/ Tel : 33.(0)4.50.67.46.61
/home du SDF (Site Debian Francophone) : http://sdf.polynum.org/

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to