0

I've got Open SUSE 11.4 and Ubuntu 10.10 now installed on the same machine now, but I need to edit the GRUB so I can boot into them. I can boot into OpenSUSE fine, but since it overwrote the Ubuntu bootloader, I can't seem to get it to boot into it. I added an entry for Ubuntu after looking around the internet:

###Don't change this comment - YaST2 identifier: Original name: none#
title UBuntu 10.10 booting via symlinks
    root (hda0,4)
    kernel /boot/vmlinuz root=/dev/sda5 ro quiet splash
    initrd initrd.img

In /boot/vmlinuz on the Ubuntu partition, I can find the following files, so I believe the kernel is contained there:
item (type)
grub (folder)
abi-2.6.35-22-generic (plain text document)
config-2.6.35-22-generic (MPSub subtitles)
initrd.img-2.6.35-22-generic (Gzip archive)
memtest86+.bin (unknown)
memtest86+_multiboot.bin (unknown)
System.map-2.6.35-22-generic (plain text document)
vmcoreinfo-2.6.35-22-generic (plain text document)
vmlinuz-2.6.35-22-generic (unknown)

Ubuntu's grub.cfg file has the following entry:

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos5)'
      search --no-floppy --fs-uuid --set 9c55c16b-7d2e-4132-92c1-dfb5533abf48
      linux  /boot/vmlinuz-2.6.35-22-generic root=UUID=9c55c16b-7d2e-4132-92c1-dfb5533abf48 ro  quiet splash
      initrd  /boot.initrd.img-2.6.35-22-generic

I'm also going to install Sabayon Linux after I get both of these working, but I need to get these working first.

OpenSUSE is located on (hda0,1), or sda2
Ubuntu is located on (hda0,4), or sda5

/dev/sda1 is Dell Utility
/dev/sda3 is Extended (free space for Sabayon)
/dev/sda6 is Linux swap/Solaris

If anyone could help me figure out how to edit the GRUB, that would be great.

2
Contributors
2
Replies
4
Views
6 Years
Discussion Span
Last Post by iamthesgt
0

There's a quick and dirty fix:
Boot into the Ubuntu Live disc
Mount the Ubuntu partition: sudo mount /dev/sda(whatever partition it's on)
Run grub-install: sudo grub-install --root-directory=mnt/dev/sda
Reboot, then run sudo update-grub

Grub2 recognizes legacy grub partitions, but legacy knows nothing of 2.

0

Thanks for the response. I actually already figured that out - I installed Fedora and Ubuntu side by side, then install SUSE without its bootloader. I then ran grub-update in Ubuntu and SUSE was there upon reboot.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.