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

Robert Holtzman holtzm at cox.net
Thu Apr 29 21:47:13 UTC 2010


On Thu, 29 Apr 2010, Lucio M Nicolosi wrote:

> On Thu, Apr 29, 2010 at 1:26 AM, Robert Holtzman <holtzm at cox.net> wrote:
>
>>
>> I said before that I had made *some* progress. I took a good look at the
>> 9.04 stanzas I had added to menu.lst and noticed there was no "root"
>> line specifying "(hd0,x). I added it and found *one* value of x that
>> initiated the boot process. My elation was short lived when it hung on
>> (initramfs)_. One source I found said it might be that the root
>> partition wasn't found. Not sure if that's the case here. Any other
>> possibilities?
>
> Good start,
>
> the line:
>
> root            (hd?,!)
>
> is indeed needed, or Grub will not know where to look up. Of course,
> given the proper location (above) it expects to find exactly the
> /directory/file you stated at the next line, like:
>
> kernel          /boot/vmlinuz-2.6.??-??-generic

This is the 9.04 stanza in my .menu.list file:

title		Ubuntu 9.04, kernel 2.6.28-18-generic
root            (hd0,8)
kernel		/vmlinuz-2.6.28-18-generic
                 root=UUID=77874663-a37d-4df7-8f24-335183e01c79 ro 
initrd		/initrd.img-2.6.28-18-generic

which matches the 8.04 stanzas which was autogenerated:

title		Ubuntu 8.04.4 LTS, kernel 2.6.24-27-generic
root		(hd0,5)
kernel		/vmlinuz-2.6.24-27-generic
                 root=UUID=75015d64-51cb-4975-a11f-f6ebc2d48d1f ro
initrd		/initrd.img-2.6.24-27-generic
quiet

Note the absence of "/boot" in the kernel line.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
  check the price of the beer"




More information about the ubuntu-users mailing list