Unable to boot CentOS 5.5 with SUSE 11.3 grub

Working on installing openSUSE 11.2 grub for chainloading. I’ve installed Linux Mint’s Grub2, here is the grub.cnf, will it be possible to add centos, ubuntu entries in SUSE Grub.

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,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
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,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
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/06_mint_theme

insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi

END /etc/grub.d/06_mint_theme

BEGIN /etc/grub.d/10_linux

menuentry “Linux Mint 9, 2.6.32-21-generic (/dev/sda18)” --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b8deaaa0-5614-4b65-ba7a-c0893ef60b95 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry “Linux Mint 9, 2.6.32-21-generic (/dev/sda18) – recovery mode” --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
echo ‘Loading Linux 2.6.32-21-generic …’
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b8deaaa0-5614-4b65-ba7a-c0893ef60b95 ro single
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-2.6.32-21-generic
}

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/10_lupin

END /etc/grub.d/10_lupin

BEGIN /etc/grub.d/20_memtest86+

menuentry “Memory test (memtest86+)” {
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux16 /boot/memtest86+.bin
}
menuentry “Memory test (memtest86+, serial console 115200)” {
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}

END /etc/grub.d/20_memtest86+

BEGIN /etc/grub.d/30_os-prober

menuentry “Windows 7 (loader) (on /dev/sda1)” {
insmod ntfs
set root=‘(hd0,1)’
search --no-floppy --fs-uuid --set 1e419fde2bb6a036
chainloader +1
}
menuentry “Desktop – openSUSE 11.3 - 2.6.34.7-0.2 (on /dev/sda10)” {
insmod ext2
set root=‘(hd0,10)’
search --no-floppy --fs-uuid --set e30264b8-70c3-44f8-836b-dd0ab868cde0
linux /boot/vmlinuz-2.6.34.7-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part10 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.34.7-0.2-desktop
}
menuentry “Failsafe – openSUSE 11.3 - 2.6.34.7-0.2 (on /dev/sda10)” {
insmod ext2
set root=‘(hd0,10)’
search --no-floppy --fs-uuid --set e30264b8-70c3-44f8-836b-dd0ab868cde0
linux /boot/vmlinuz-2.6.34.7-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part10 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
initrd /boot/initrd-2.6.34.7-0.2-desktop
}
menuentry “Fedora (2.6.33.3-85.fc13.x86_64) (on /dev/sda12)” {
insmod ext2
set root=‘(hd0,12)’
search --no-floppy --fs-uuid --set 26c0a7c1-96e5-4c50-a8f2-50f10b2113d3
linux /boot/vmlinuz-2.6.33.3-85.fc13.x86_64 ro root=UUID=26c0a7c1-96e5-4c50-a8f2-50f10b2113d3 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.33.3-85.fc13.x86_64.img
}
menuentry “SUSE LINUX (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 repair=1 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x317
initrd /boot/initrd
}
menuentry “Failsafe – SUSE LINUX (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd
}
menuentry “Ubuntu, with Linux 2.6.35-19-generic (on /dev/sda16)” {
insmod ext2
set root=‘(hd0,16)’
search --no-floppy --fs-uuid --set d9a771bc-8b4c-44cc-a3b8-ae1893ce975e
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d9a771bc-8b4c-44cc-a3b8-ae1893ce975e ro quiet splash
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry “Ubuntu, with Linux 2.6.35-19-generic (recovery mode) (on /dev/sda16)” {
insmod ext2
set root=‘(hd0,16)’
search --no-floppy --fs-uuid --set d9a771bc-8b4c-44cc-a3b8-ae1893ce975e
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d9a771bc-8b4c-44cc-a3b8-ae1893ce975e ro single
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry “PClinuxOS 17 (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788
initrd (hd0,5)/boot/initrd.img
}
menuentry “PClinuxOS-nonfb (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS-nonfb root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a
initrd (hd0,5)/boot/initrd.img
}
menuentry “PCLinuxOS failsafe (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PCLinuxOS_failsafe root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a failsafe
initrd (hd0,5)/boot/initrd.img
}
menuentry “CentOS (2.6.18-194.11.3.el5) (on /dev/sda8)” {
insmod ext2
set root=‘(hd0,8)’
search --no-floppy --fs-uuid --set e389a097-ef84-48f7-a065-5cb8bbbf805c
linux /boot/vmlinuz-2.6.18-194.11.3.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-194.11.3.el5.img
}
menuentry “CentOS-base (2.6.18-194.el5) (on /dev/sda8)” {
insmod ext2
set root=‘(hd0,8)’
search --no-floppy --fs-uuid --set e389a097-ef84-48f7-a065-5cb8bbbf805c
linux /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-194.el5.img
}

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

###Don't change this comment - YaST2 identifier: Original name: Centos###
title CentOS (2.6.18-194.11.3.el5) (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz-2.6.18-194.11.3.el5 ro root=/dev/sda8 rhgb quiet
initrd /boot/initrd-2.6.18-194.11.3.el5.img

###Don't change this comment - YaST2 identifier: Original name: Centos-base###
title CentOS-base (2.6.18-194.el5) (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz-2.6.18-194.el5 ro root=/dev/sda8 rhgb quiet
initrd /boot/initrd-2.6.18-194.el5.img

Not to mention that you should not label sda8 “/” !
I wouldn’t be surprised if it doesn’t boot by label because of that.

Thanks guy, if I do this will I get a recursive grub. How do I add Ubuntu.

I didnt lable it but centos installer put a lable on it.

I don’t believe centos uses a slash to label its root partition … as a mountpoint … it’s not impossible.
You should use e2label to rename this partition. With a partition named ‘slash’ an a dozend Linux distros, you’re obviously only looking for trouble.

Which Ubuntu and where? Do you want to chainload Ubuntu’s Grub2 from openSUSE Grub?
BTW, don’t edit Grub2 menu. It will get overwritten after each kernel update. Add your own boot entries in /etc/grub.d/40_custom and nowhere else - speaking about Ubuntu and other OS using Grub2.

The problem with grub2 is that it lists everything after kernel update, its garbage. I have a Ubuntu 10.04 & Windows 7 dual boot on other box with 9 Ubuntu boot options or old kernels. One can modify the options but then again it just doesnt look good or make sense. I feel comfortable using SUSE grub, have chainloaded Linux Mint 9 (GRUB2) from SUSE earlier. I will have a recursive GRUB menu and at the end of the day I will be able to boot everything.

I will add FreeBSD and openSolaris entries in /etc/grub.d/40_custom and then run update-grub.

Just uninstall older Ubuntu kernels you don’t need and propably never boot and run update-grub, and they won’t appear in grub.cfg any more .

You can probably disable multi-version support in Ub*
Just ask in their forum.

I dont have good feelings about modifying Grub2 entries. I installed it in order to find proper image name for CentOS. Will install SUSE Grub and get Ubuntu 10.10 and Mint 9 to boot from there.

Best,

David

It’s not that.
You can enable multi version is suse too, nothing to do with modifying grub menu

Grub2 has done it again. Bugger messed up PCLinuxOS partition# and created 5 entries that cant boot.

It has changed sda6, / of PCLinuxOS while probing.

Here is grub.cnf -

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,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
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,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
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/06_mint_theme

insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi

END /etc/grub.d/06_mint_theme

BEGIN /etc/grub.d/10_linux

menuentry “Linux Mint 9, 2.6.32-21-generic (/dev/sda18)” --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b8deaaa0-5614-4b65-ba7a-c0893ef60b95 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry “Linux Mint 9, 2.6.32-21-generic (/dev/sda18) – recovery mode” --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
echo ‘Loading Linux 2.6.32-21-generic …’
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b8deaaa0-5614-4b65-ba7a-c0893ef60b95 ro single
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-2.6.32-21-generic
}

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/10_lupin

END /etc/grub.d/10_lupin

BEGIN /etc/grub.d/20_memtest86+

menuentry “Memory test (memtest86+)” {
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux16 /boot/memtest86+.bin
}
menuentry “Memory test (memtest86+, serial console 115200)” {
insmod ext2
set root=‘(hd0,18)’
search --no-floppy --fs-uuid --set b8deaaa0-5614-4b65-ba7a-c0893ef60b95
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}

END /etc/grub.d/20_memtest86+

BEGIN /etc/grub.d/30_os-prober

menuentry “Windows 7 (loader) (on /dev/sda1)” {
insmod ntfs
set root=‘(hd0,1)’
search --no-floppy --fs-uuid --set 1e419fde2bb6a036
chainloader +1
}
menuentry “Desktop – openSUSE 11.3 - 2.6.34.7-0.2 (on /dev/sda10)” {
insmod ext2
set root=‘(hd0,10)’
search --no-floppy --fs-uuid --set e30264b8-70c3-44f8-836b-dd0ab868cde0
linux /boot/vmlinuz-2.6.34.7-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part10 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.34.7-0.2-desktop
}
menuentry “Failsafe – openSUSE 11.3 - 2.6.34.7-0.2 (on /dev/sda10)” {
insmod ext2
set root=‘(hd0,10)’
search --no-floppy --fs-uuid --set e30264b8-70c3-44f8-836b-dd0ab868cde0
linux /boot/vmlinuz-2.6.34.7-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part10 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
initrd /boot/initrd-2.6.34.7-0.2-desktop
}
menuentry “Fedora (2.6.33.3-85.fc13.x86_64) (on /dev/sda12)” {
insmod ext2
set root=‘(hd0,12)’
search --no-floppy --fs-uuid --set 26c0a7c1-96e5-4c50-a8f2-50f10b2113d3
linux /boot/vmlinuz-2.6.33.3-85.fc13.x86_64 ro root=UUID=26c0a7c1-96e5-4c50-a8f2-50f10b2113d3 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.33.3-85.fc13.x86_64.img
}
menuentry “Desktop – openSUSE 11.2 - 2.6.31.12-0.2 (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz-2.6.31.12-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 repair=1 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x315
initrd /boot/initrd-2.6.31.12-0.2-desktop
}
menuentry “Failsafe – openSUSE 11.2 - 2.6.31.12-0.2 (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz-2.6.31.12-0.2-desktop root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.31.12-0.2-desktop
}
menuentry “SUSE LINUX (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 repair=1 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x317
initrd /boot/initrd
}
menuentry “Failsafe – SUSE LINUX (on /dev/sda14)” {
insmod ext2
set root=‘(hd0,14)’
search --no-floppy --fs-uuid --set 191d7017-0d9f-46c6-b78d-51f78f2ed1b3
linux /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part14 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd
}
menuentry “Ubuntu, with Linux 2.6.35-19-generic (on /dev/sda16)” {
insmod ext2
set root=‘(hd0,16)’
search --no-floppy --fs-uuid --set d9a771bc-8b4c-44cc-a3b8-ae1893ce975e
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d9a771bc-8b4c-44cc-a3b8-ae1893ce975e ro quiet splash
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry “Ubuntu, with Linux 2.6.35-19-generic (recovery mode) (on /dev/sda16)” {
insmod ext2
set root=‘(hd0,16)’
search --no-floppy --fs-uuid --set d9a771bc-8b4c-44cc-a3b8-ae1893ce975e
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d9a771bc-8b4c-44cc-a3b8-ae1893ce975e ro single
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry “MEPIS at sda20, newest kernel (on /dev/sda20)” {
insmod ext2
set root=‘(hd0,20)’
search --no-floppy --fs-uuid --set 7c740e48-82b7-428f-bff3-64b6117ad8ac
linux /boot/vmlinuz root=/dev/sda20 nomce quiet splash vga=789
initrd /boot/initrd.img
}
menuentry “MEPIS at sda20, kernel 2.6.32-1-mepis64-smp (on /dev/sda20)” {
insmod ext2
set root=‘(hd0,20)’
search --no-floppy --fs-uuid --set 7c740e48-82b7-428f-bff3-64b6117ad8ac
linux /boot/vmlinuz-2.6.32-1-mepis64-smp root=/dev/sda20 nomce quiet splash vga=789
initrd /boot/initrd.img-2.6.32-1-mepis64-smp
}
menuentry “PClinuxOS 17 (on /dev/sda20)” {
insmod ext2
set root=‘(hd0,20)’
search --no-floppy --fs-uuid --set 7c740e48-82b7-428f-bff3-64b6117ad8ac
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788
initrd (hd0,5)/boot/initrd.img
}
menuentry “MEMTEST (on /dev/sda20)” {
insmod ext2
set root=‘(hd0,20)’
search --no-floppy --fs-uuid --set 7c740e48-82b7-428f-bff3-64b6117ad8ac
linux /boot/memtest86+.bin
}
menuentry “PClinuxOS 17 (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788
initrd (hd0,5)/boot/initrd.img
}
menuentry “PClinuxOS-nonfb (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS-nonfb root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a
initrd (hd0,5)/boot/initrd.img
}
menuentry “PCLinuxOS failsafe (on /dev/sda6)” {
insmod ext2
set root=‘(hd0,6)’
search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a
linux /boot/vmlinuz BOOT_IMAGE=PCLinuxOS_failsafe root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a failsafe
initrd (hd0,5)/boot/initrd.img
}
menuentry “CentOS (2.6.18-194.11.3.el5) (on /dev/sda8)” {
insmod ext2
set root=‘(hd0,8)’
search --no-floppy --fs-uuid --set e389a097-ef84-48f7-a065-5cb8bbbf805c
linux /boot/vmlinuz-2.6.18-194.11.3.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-194.11.3.el5.img
}
menuentry “CentOS-base (2.6.18-194.el5) (on /dev/sda8)” {
insmod ext2
set root=‘(hd0,8)’
search --no-floppy --fs-uuid --set e389a097-ef84-48f7-a065-5cb8bbbf805c
linux /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-194.el5.img
}

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

here is the error -

menuentry “PClinuxOS 17 (on /dev/sda6)” { insmod ext2 set root=‘(hd0,6)’ search --no-floppy --fs-uuid --set 773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788 initrd (hd0,5)/boot/initrd.img

How to fix this. I’ve asked at Ubuntu forums but they didnt come with straight answer.

Which partition is openSUSE installed and did you write it to /

SUSE 11.3 on sda10 & SUSE 11.2 on sda14. I am using Grub2 atm. GRUB2 is installed on MBR. I’m in Linux Mint atm, will it be wise to reinstall GRUB2 or I need to use Live CD strictly.

In Mint did you do

sudo update-grub

I was thinking you really need to have a base camp, a OS you can be sure will work for you so your system is not permanently ‘Jeffed’.
And was going to suggest, re-installing SUSE grub. I presume the boot flag is on the extended partition, which it should be.
Follow this: Re-Install Grub Quickly with Parted Magic
and Install Grub for either 11.2 or 11.3 whichever you prefer

Then one at a time start working on the others. manually writing them in to menu.lst

Yep, I know this error. Grub2 does the same with Mandriva. Here’s the answer:

Edit this entry in /boot/grub/menu.lst (or whatever it is called) under PClinux . Replace :

kernel /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788
initrd (hd0,5)/boot/initrd.img

with


root (hd0,5)
kernel /boot/vmlinuz BOOT_IMAGE=PClinuxOS_17 root=UUID=773f0b6f-7115-4e4c-b9a1-b9f7193f7b8a resume=UUID=c5afe5a4-2ba5-48b7-b577-3a477a4b978a splash=silent vga=788
initrd /boot/initrd.img

If you happen to install Mandriva, you’ll have to do the same (However Mandriva is dead) :frowning:

If somebody ever needs my findgrub script, it would be you. :wink:


#! /bin/bash

dev=/dev/sda
 "$1" ] && dev=/dev/$1 

if  -b $dev ] ; then
        dd if=$dev bs=512 count=1 2> /dev/null | grep -q GRUB && echo "Grub found in MBR"
        for pt in `fdisk -l $dev | awk '/^\/dev/ { print $1 }'` ; do
                dd if=$pt bs=512 count=1 2> /dev/null | grep -q GRUB && echo "Grub found in $pt"
                dd if=$pt bs=512 count=1 2> /dev/null | grep -q NTLDR && echo "NT/XP/VISTA Loader found in $pt"
                dd if=$dev bs=512 count=1 2> /dev/null | grep -q BOOTMGR && echo "Windows 7 Loader found in $pt"
        done
fi

Thanks mate, PCOSLinux is based on Mandriva. I am gonna wait a bit and complete the download of Ubistudio, Mandriva, Puredyne & Chakra. My plan is to use SUSE 11.2 Grub for booting everything, its nice & easy to master. Lets see if Ubistudio picks up the right# for PCLinux.

Carl, the Grub.cnf posted above is post ‘sudo update-grub’ @ Mint. I have everything else working and system boots other OS except Unix & PCLinuxOS. I will try reinstalling PCLinuxOS Grub and then install GRUB2 from Mint Live CD. I will have to work on finding right vmlinuz’s at the time of SUSE GRUB install. Last time you helped me boot Mint off SUSE GRUB, we will find something similar. I trust I will be able to get installs done before weekend.