grub sees 2 out of 3 systems...lucky me

Goh Lip g.lip at gmx.com
Sun May 2 03:26:01 UTC 2010


On 05/02/2010 04:45 AM, Robert Holtzman wrote:
> On Fri, 30 Apr 2010, Goh Lip wrote:
>
>> Bob, the syslinks, vmlinuz and initrd.img are indeed in '/' and are
>> linked from the kernel in /boot. But /vmlinuz-2.6.28-18-generic
>>   and /initrd.img-2.6.28-18-generic *are* the kernel and initrd and they
>> are in /boot. So the UUID should be referring to /boot. Try amending the
>> UUID to /boot and see if it works.
>
> Please don't take this as me being argumentative but, to me,
> understanding why is as important as getting 9.04 to boot.

No, Bob. I don't think that's argumentative. And I would do the same if 
I were you. It is always okay to disagree, have different preferences, 
viewpoints and behaviours, as long as nobody gets hurt. But facts and 
evidence cannot and must not be disputed, however unpleasant they are.

>
> I can't dispute what you say and will try it in a day or so  when I get
> some time and report back. Having said that, there are a couple of
> things I can't get through my head. First, given the existence of the
> links in /, why would it be necessary to point to /boot? I know that's
> where the kernel and initrd are but the links should lead you there.
> Second, since both 8.04 (on the desktop and also the laptop) and Debian
> have no problem booting from / thru the links to the files in /boot,
> what's different about this 9.04 installation?
>

The following might explain....

> o If root and UUID are both pointed to '/' instead of /boot,(but your
> (hd0,5) is /boot, Bob, watch for it), the lines
> 'kernel /vmlinuz ro ' and
> 'initrd  /initrd.img' can be used
>
> instead of
> 'kernel  /vmlinuz-2.6.28-18-generic' and
> 'initrd        /initrd.img-2.6.28-18-generic'
>
> as the former refer to the syslinks in '/'
> and the latter refer to the actual kernel and initrd.img in /boot.

I append below the last entry from my hardy both from the menu.lst
and the current entry from the grub.cfg, also from hardy.

title		Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.24-24-generic 
root=UUID=ac709ece-0f4d-4845-8b47-508030ceeb00 ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-generic
quiet


menuentry "Ubuntu, linux 2.6.24-27-generic" {
	linux	(hd0,8)/boot/vmlinuz-2.6.24-27-generic 
root=UUID=ac709ece-0f4d-4845-8b47-508030ceeb00 ro quiet splash
	initrd	(hd0,8)/boot/initrd.img-2.6.24-27-generic
}

Note both (hd0,7) in menu.lst and (hd0,8) in grub.cfg refer to the same 
partition - different naming convention.

I don't use Debian, so I don't know if the syslinks to '/' from /boot 
are not renamed as /vmlinuz, but left 'unrenamed' as 
'/vmlinuz-2.6.xx.xx-generic'. If that is the case, then it should work 
too if uuid refers to '/'. But ubuntu will not.


> Many thanks for the great patience you have shown.
>

You're most welcome.

Regards - Goh Lip





More information about the ubuntu-users mailing list