Results 1 to 8 of 8
My laptop is set up for dual boot Ubuntu and RH. A few days ago something changed in my system and now I have only the Ubuntu grub boot loader. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-08-2011 #1Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
Ubuntu & RH
My laptop is set up for dual boot Ubuntu and RH. A few days ago something changed in my system and now I have only the Ubuntu grub boot loader. Previously there was one for RH and one for Ubuntu, now there's a lot for Ubuntu each one having it's own recovery start up mode. Can anyone tell me how to get RH and Ubuntu duel booting again? Thanks.
- 07-08-2011 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
Sounds like you ran an update and got new kernels? You could boot Ubuntu and open a terminal and run: sudo os-prober. When that completes run: sudo update-grub.
The above would work if you have a version of Ubuntu 9.10 or later.
If that doesn't do the job, open a terminal to get partition information: sudo fdisk -l(lower case Letter L in the command) Post it here as well as the /boot/grub/grub.cfg file.
- 07-08-2011 #3Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
Code:Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x220ed127 Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 14910 119250944 8e Linux LVM /dev/sda4 14911 29631 118246432+ 5 Extended /dev/sda5 14911 29028 113402803+ 83 Linux /dev/sda6 29029 29631 4843566 82 Linux swap / Solaris
Code:grub.ctg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi } insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; then true ; else # For backward compatibility with versions of terminal.mod that don't # understand terminal_output terminal gfxterm fi fi insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext if [ ${recordfail} = 1 ]; then set timeout=-1 else set timeout=10 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Ubuntu, with Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-32-generic } menuentry 'Ubuntu, with Linux 2.6.32-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-32-generic ...' linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-32-generic } menuentry 'Ubuntu, with Linux 2.6.32-31-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-31-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-31-generic } menuentry 'Ubuntu, with Linux 2.6.32-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-31-generic ...' linux /boot/vmlinuz-2.6.32-31-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-31-generic } menuentry 'Ubuntu, with Linux 2.6.32-30-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-30-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-30-generic } menuentry 'Ubuntu, with Linux 2.6.32-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-30-generic ...' linux /boot/vmlinuz-2.6.32-30-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-30-generic } menuentry 'Ubuntu, with Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-29-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-29-generic } menuentry 'Ubuntu, with Linux 2.6.32-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-29-generic ...' linux /boot/vmlinuz-2.6.32-29-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-29-generic } menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-28-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-28-generic } menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-28-generic ...' linux /boot/vmlinuz-2.6.32-28-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-28-generic } menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-27-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-27-generic } menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-27-generic ...' linux /boot/vmlinuz-2.6.32-27-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-27-generic } menuentry 'Ubuntu, with Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-26-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-26-generic } menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-26-generic ...' linux /boot/vmlinuz-2.6.32-26-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-26-generic } menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.32-25-generic } menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.32-25-generic ...' linux /boot/vmlinuz-2.6.32-25-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-25-generic } menuentry 'Ubuntu, with Linux 2.6.31-22-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux /boot/vmlinuz-2.6.31-22-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro quiet splash initrd /boot/initrd.img-2.6.31-22-generic } menuentry 'Ubuntu, with Linux 2.6.31-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 echo 'Loading Linux 2.6.31-22-generic ...' linux /boot/vmlinuz-2.6.31-22-generic root=UUID=d6e9e5c0-57b6-4e19-8873-79c72980f966 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.31-22-generic } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set d6e9e5c0-57b6-4e19-8873-79c72980f966 linux16 /boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###Last edited by MikeTbob; 07-09-2011 at 01:17 AM. Reason: Added Code Tags
- 07-09-2011 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
You have had kernel updates which is why you have multiple entries. Were your previous entries for Red Hat on the Ubuntu Grub menu? There is no entry in the grub.cfg file you posted for Red Hat so it obviously won't boot. What happened when you tried the commands from a terminal I suggested in my last post?
- 07-09-2011 #5Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
It processed a dozen or so lines and then said done.
- 07-09-2011 #6Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
And when you rebooted did you have an entry for Red Hat? If so, did it boot?
- 07-09-2011 #7Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
No, there was no entry for RH, it was the same, only a host of Ubuntus.
Last edited by Garrett85; 07-09-2011 at 03:16 PM.
- 07-09-2011 #8Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
If you booted into Ubuntu on your drive and ran sudo os-prober and then ran sudo update-grub it should have detected Fedora. Can you mount your Fedora boot partition from Ubuntu and see what is in the /boot/grub directory.
Could you run those commands again and post the actual output? Might help.


Reply With Quote
