Ubuntu no longer shows in boot options

Just installed openSuse 11.4 a few hours ago. Everything went fine but whenever I rebooted, Ubuntu 10.10 was not an option in the boot list. However, Windows shows up and boots just fine. I am currently tri booting (not sure if that’s the correct term) Windows 7, Ubuntu 10.10, and OpenSuse each on a hard drive of their own. In the dolphin file manager I can still see all the files for Ubuntu so I know it was not partitioned over or deleted. I apologize for the lack of information but I am a noob. Any help would be appreciated, thanks for you time.

Open a terminal, become su - and get me the result of

fdisk -l

https://www.youtube.com/watch?v=h191KrDK-I0)

On Friday 11 Mar 2011 05:06, thecakeisalie scribbled:

>
> ::Just installed openSuse 11.4 a few hours ago. Everything went fine but
> whenever I rebooted, Ubuntu 10.10 was not an option in the boot list.
> However, Windows shows up and boots just fine.
>

Yes, this is a bug which appeared at RC2. Unfortunately, the fix came too
late to appear in the final release. See
https://bugzilla.novell.com/show_bug.cgi?id=675224 for details.


Graham Davis, Bracknell, UK.

Sorry about not getting back sooner, this is what I got:

joman@Black-Mesa-East:~> su -
Password:
Black-Mesa-East:~ # fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfba67c9c

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 488394751 244196352 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a7d0c

Device Boot Start End Blocks Id System
/dev/sdb1 2048 468520959 234259456 83 Linux
/dev/sdb2 468523006 488396799 9936897 5 Extended
/dev/sdb5 468523008 488396799 9936896 82 Linux swap / Solaris

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x01009326

Device Boot Start End Blocks Id System
/dev/sdc1 2048 41945087 20971520 83 Linux
/dev/sdc2 41945088 976773119 467414016 83 Linux

Just check this thread ubuntu and open suse grub2 vs grub
see reply #18

ubuntu@ubuntu:/media/88c31556-c432-44c4-95bc-0b466fa6a5db/boot/grub$ pwd

/media/88c31556-c432-44c4-95bc-0b466fa6a5db/boot/grub

ubuntu@ubuntu:/media/88c31556-c432-44c4-95bc-0b466fa6a5db/boot/grub$ ls

915resolution.mod  boot.mod        cs5536.mod                   font.mod             gcry_serpent.mod    handler.lst    lnxboot.img   msdospart.mod   part_sunpc.mod       read.mod            terminal.lst      vbe.mod
acpi.mod           bsd.mod         datehook.mod                 fshelp.mod           gcry_sha1.mod       hashsum.mod    load.cfg      multiboot2.mod  parttool.lst         reboot.mod          terminal.mod      vbetest.mod
affs.mod           bufio.mod       date.mod                     fs.lst               gcry_sha256.mod     hdparm.mod     loadenv.mod   multiboot.mod   parttool.mod         regexp.mod          terminfo.mod      vga.mod
afs_be.mod         cat.mod         datetime.mod                 functional_test.mod  gcry_sha512.mod     hello.mod      locale        nilfs2.mod      password.mod         reiserfs.mod        test.mod          vga_text.mod
afs.mod            cdboot.img      diskboot.img                 gcry_arcfour.mod     gcry_tiger.mod      help.mod       loopback.mod  normal.mod      password_pbkdf2.mod  relocator.mod       tga.mod           video_bochs.mod
aout.mod           chain.mod       dm_nv.mod                    gcry_blowfish.mod    gcry_twofish.mod    hexdump.mod    lsmmap.mod    ntfscomp.mod    pbkdf2.mod           scsi.mod            trig.mod          video_cirrus.mod
ata.mod            cmostest.mod    drivemap.mod                 gcry_camellia.mod    gcry_whirlpool.mod  hfs.mod        ls.mod        ntfs.mod        pci.mod              search_fs_file.mod  true.mod          video_fb.mod
ata_pthru.mod      cmp.mod         echo.mod                     gcry_cast5.mod       gettext.mod         hfsplus.mod    lspci.mod     ohci.mod        play.mod             search_fs_uuid.mod  udf.mod           video.lst
at_keyboard.mod    command.lst     efiemu32.o                   gcry_crc.mod         gfxmenu.mod         iorw.mod       lvm.mod       part_acorn.mod  png.mod              search_label.mod    ufs1.mod          video.mod
befs_be.mod        configfile.mod  efiemu64.o                   gcry_des.mod         gfxterm.mod         iso9660.mod    mdraid.mod    part_amiga.mod  probe.mod            search.mod          ufs2.mod          videotest.mod
befs.mod           core.img        efiemu.mod                   gcry_md4.mod         gptsync.mod         jfs.mod        memdisk.mod   part_apple.mod  pxeboot.img          serial.mod          uhci.mod          xfs.mod
biosdisk.mod       cpio.mod        elf.mod                      gcry_md5.mod         grldr.img           jpeg.mod       memrw.mod     part_bsd.mod    pxecmd.mod           setjmp.mod          usb_keyboard.mod  xnu.mod
bitmap.mod         cpuid.mod       example_functional_test.mod  gcry_rfc2268.mod     grub.cfg            kernel.img     minicmd.mod   part_gpt.mod    pxe.mod              setpci.mod          usb.mod           xnu_uuid.mod
bitmap_scale.mod   crc.mod         ext2.mod                     gcry_rijndael.mod    grubenv             keystatus.mod  minix.mod     partmap.lst     raid5rec.mod         sfs.mod             usbms.mod         zfsinfo.mod
blocklist.mod      crypto.lst      extcmd.mod                   gcry_rmd160.mod      gzio.mod            linux16.mod    mmap.mod      part_msdos.mod  raid6rec.mod         sleep.mod           usbtest.mod       zfs.mod
boot.img           crypto.mod      fat.mod                      gcry_seed.mod        halt.mod            linux.mod      moddep.lst    part_sun.mod    raid.mod             tar.mod             vbeinfo.mod

I followed the directions but as you can see there is no /dev/sda in the grub directory
and so I get a “No device is specified” error
Am I missing something?

You don’t say which HD Ubuntu is on. So I’ll give instruction for both sdb and sdc.
I’m thinking it might be sdb so that would need an entry in the SUSE grub like this:

###Don't change this comment - YaST2 identifier: Original name: Ubuntu###
title Ubuntu
    root (hd1,0)
    kernel /vmlinuz root=/dev/sdb1 ro quiet splash
    initrd /initrd.img

If ubuntu is on sdc it would be:

###Don't change this comment - YaST2 identifier: Original name: Ubuntu###
title Ubuntu
    root (hd2,0)
    kernel /vmlinuz root=/dev/sdc1 ro quiet splash
    initrd /initrd.img

This guide shows you how to edit the SUSE grub (just ignore the windows info and use the above)
Edit the Grub Menu to add Windows entries.

Another option is to use your Ubuntu CD and repair grub2 and let Ubuntu boot all the systems:

Boot the Ubuntu cd

  • Open a terminal and type

$ sudo fdisk -l

* Now, you need to remember which device listed is your linux distribution, for reference, /dev/sdb1 will be used. Now we need to mount the filesystem to /mnt

$ sudo mount /dev/sdb1 /mnt (this assume sdb as Ubuntu install, change as needed, so sdc if it’s sdc)

* Now mount the rest of your devices

$ sudo mount --bind /dev /mnt/dev

* Now chroot into your system

$ sudo chroot /mnt

*

  When that is done you need to run update-grub to create the configuration file.

$ update-grub

*

  To install GRUB 2 to the MBR, next you need to run grub-install /dev/sda              (grub goes to sda MBR)

$ grub-install /dev/sda

And your done

Please type a space after grub…make sure the disk your Ubuntu is sda or sdb or sdc

sudo grub-setup -d /media/XXXX/boot/grub /dev/sdX