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

Re: Where's the grub boot menu?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 19 Aug 2006 12:41:04 -0500
Kevin Buhr <buhr+debian@asaurus.net> wrote:

> Jacob,
> 
> Is it possible that GRUB is looking for "/boot/boot/grub/menu.lst",
> instead of "/boot/grub/menu.lst"?  The "README" makes reference to
> this when "/boot" is a separate partition.
> 
> When you ran "grub-install", did it not create a "/boot/boot/grub"
> directory with a "menu.lst" template in there?  If so, GRUB is
> probably using that one instead of the one you've been modifying.  The
> "update-grub" script, unfortunately, only updates the first of
> "/boot/grub" and "/boot/boot/grub" that it finds, so it won't have
> touched the version that GRUB is using, if this is the case.
> 
> The only difference I see between our "menu.lst" files is that my Xen
> boot stanzas have no "root" line in mine:
> 
> title       Xen 3.0 running 2.6.16.2-xen-amd64-k8
> kernel      /xen-3.0-amd64.gz dom0_mem=262144
> module      /vmlinuz-2.6.16-2-xen-amd64-k8
> root=/dev/mapper/main-buddharoot ro console=tty0
> module      /initrd.img-2.6.16-2-xen-amd64-k8 savedefault
> boot
> 
> However, I doubt your problem has anything to do with problems in the
> "menu.lst"---it seems pretty clear that GRUB is just failing to find
> the file entirely or using a different copy.

This was exactly it. Thank you! There was a /boot/boot/grub dir, but
no /boot/boot/grub/menu.lst.

Running "grub-install --root-directory=/ /dev/sda" fixed it. The
strange part is that the documentation specifically says "grub-install
- --root-directory=/boot /dev/sda" is an example of how to do the
installation when your boot partition is separate from the root
partition. Oh well, it works now. And I learned how to use the grub
shell in the process. :-)

Thanks for your help,
Jacob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD4DBQFE51cykpJ43hY3cTURAg0dAJimM5MRlNEOzhSwWCj/u3ckULA8AKC0qAR8
X3iKgn8iiIt6I1JPKXsCPA==
=2vcD
-----END PGP SIGNATURE-----

Reply to: