Multiple grub menu.lst?

Karl Larsen k5di at zianet.com
Sat May 3 11:36:33 UTC 2008


Charlie Zender wrote:
>  > > My hardy upgrade failed because it cannot find grub's new menu.lst.
>  > > The computer boots with the _old_ (gutsy) menu.lst, not with the
>  > > new (hardy) menu.lst. I checked and sure enough /boot/grub/menu.lst
>  > > has the correct (hardy) kernels. But the boot menu shows the old
>  > > menu.lst. It is booting from a menu.lst but not the one in /boot/grub.
>  > >
>  > > I think /boot only mounts correctly after
>  > > the (old gutsy) kernel boots. That is why I see the new menu.lst
>  > > in /boot/grub. But before the kernel boots, it is finding the old
>  > > menu.lst _somewhere_ and hence booting the old (gutsy) kernel.
>  >
>  > No.  I'm not at all sure what _is_ happening, but what you're 
> describing is
>  > just not the way grub works.
>
>  > Grub is finding the menu.lst in /boot/grub of the partition that was 
> named
>  > as the boot partition when you did (probably implicitly) "grub-install".
>  > Unless you have created a new /boot or / partition, it's still looking in
>  > the same place.
>
> Unfortunately, that seems to describe what is happening.
>
>  > > Weird, huh? This all traces back to brokeness that started when
>  > > edgy switch from human-readable fstab entries to UUIDs.
>  >
>  > OK, so the developers did a pretty poor job of advertising this 
> change, but
>  > trust me, you would have liked the results if they _hadn't_ changed your
>  > fstab to use UUID a lot less.  And I really don't see a likely
>  > connection... grub doesn't use either /dev names or UUIDs to find your
>  > menu.lst.
>
> OK.
>   
    Your problem is that Grub is going to the old location to boot from. 
You need to use the grub software and select to boot from the Hardy 
partition. Please read man grub and what you want is the thing that 
looks like:

grub> root (hd x, x)
grub> setup (hd0)
grub> quit


Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list