grub not showing ubuntu partition
Tom H
tomh0665 at gmail.com
Thu Sep 9 21:38:31 UTC 2010
On Thu, Sep 9, 2010 at 8:27 AM, Tanmoy Chatterjee <tachchot007 at gmail.com> wrote:
> My hard disk partition is as following -
> /dev/sda1 - ext3 - ubuntu installed here
> /dev/sda3 - ext4 - /boot for Fedora13
> /dev/sda4 - ext4 - remaining partition of Fedora13(/, /home, /var )
> /dev/sda2 - extended - created when I installed Ubuntu 9.04
> /dev/sda5 - linux-swap - created with ubuntu installation
> To Tom H
> Thank you very much for your suggestion - kindly help me with the cli
> solution.
Just remembered that I never replied to the above.
I've never used Fedora's grub1 to boot Ubuntu but this should work.
Booted into F13, run "mount /dev/sda1 /mnt" followed by "ls -l /mnt/boot".
You will have the filenames of your Ubuntu vmlinuz and initrd files.
Run "blkid -c /dev/null /dev/sda1".
You will have the UUID of sda1.
Edit as root "/etc/grub.conf" (it is a symlink to /boot/grub/grub.conf" and add:
title Ubuntu 10.04
root hd(0,0)
kernel /boot/vmlinuz_from_ls root=UUID=uuid_from_blkid ro
initrd /boot/initrd.img_from_ls
If "root=UUID=..." doesn't work, try
"root=/dev/disk/by-uuid/uuid_from_blkid" or "root=/dev/sda1"
More information about the ubuntu-users
mailing list