Well, I installed OpenSUSE and now I can’t boot my Ubuntu partition! There is no option for it in the boot loader, but it exists because I can mount it when I am on my desktop and see all my files.
PS. First time I tried OpenSUSE, and it has a great KDE integration! It’s really nice!
Are you sure the Ubuntu installation is still there? When I tried to install 11.2 after Ubuntu, 11.2 targeted my Ubuntu partitions for deletion, as though it didn’t even recognize there was anything on them.
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000116d8
Device Boot Start End Blocks Id System
/dev/sda1 1 6528 52428127 83 Linux
/dev/sda2 13996 14593 4803435 5 Extended
/dev/sda3 * 6528 13995 59986679 83 Linux
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris
Yes, I’m sure I still have my Ubuntu installation in my other partition. I shrunk my 'buntu partition in the install and made a new one for OpenSUSE. In openSUSE, I can mount my Ubuntu partition and look around in it. Everything is still there, and I can access my old documents
It’s possible that Ubuntu is here as highlighted red
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000116d8
Device Boot Start End Blocks Id System
/dev/sda1 1 6528 52428127 83 Linux
/dev/sda2 13996 14593 4803435 5 Extended
/dev/sda3 * 6528 13995 59986679 83 Linux
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris
Question is, do you or have mainly used Ubuntu. In which case we might be best getting Ubuntu to manage booting. Follow these directions, **but you could do with checking once you do the mnt of sda1 and see if you can see
/boot/grub/grub.cfg **
Boot with the Ubuntu live cd and when in the desktop open a terminal and do:
sudo mount /dev/sda1 /mnt
next
sudo mount --bind /dev /mnt/dev
next
sudo chroot /mnt
Now do
update-grub
then
grub-install /dev/sda
Then to finish off
Press Ctrl+D to exit out of the chroot
PS, This is what I get in terminal after doing “grep -e ‘set root’ -e ‘/boot’ /mnt/boot/grub/grub.cfg” from the Ubuntu 9.04 live CD (I assume this is the same as doing this from my openSUSE partition- I already had the LiveCD booted so I thought it would be easier):
if -s /boot/grub/grubenv ]; then
set root=(hd0,1)
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro single
initrd /boot/initrd.img-2.6.31-16-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-15-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro quiet splash
initrd /boot/initrd.img-2.6.31-15-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-15-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro single
initrd /boot/initrd.img-2.6.31-15-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro single
initrd /boot/initrd.img-2.6.31-14-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-11-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro quiet splash
initrd /boot/initrd.img-2.6.31-11-generic
set root=(hd0,1)
linux /boot/vmlinuz-2.6.31-11-generic root=UUID=74c3a951-7cec-4391-a669-61aa6b532cb0 ro single
initrd /boot/initrd.img-2.6.31-11-generic
linux16 /boot/memtest86+.bin
linux16 /boot/memtest86+.bin console=ttyS0,115200n8