Also hier ist die Sache. Ich habe zwei Partitionen in meinem Netbook (plus Swap):
/dev/sda4mit Ubuntu 10.4
/dev/sda5mit Centos 5.5
Ich benutze natürlich Ubuntu. Centos ist da, weil ich einen Test für diese Distribution durchführen muss. Das Problem ist, dass Centos Grub und Ubuntu Grub2 verwendet.
Dies ist /boot/grub/menu.lstvon Centos:
default=0
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title CentOS (2.6.18-194.17.4.el5xen)
root (hd0,4)
kernel /boot/xen.gz-2.6.18-194.17.4.el5
module /boot/vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-194.17.4.el5xen.img
title CentOS (2.6.18-194.el5xen)
root (hd0,4)
kernel /boot/xen.gz-2.6.18-194.el5
module /boot/vmlinuz-2.6.18-194.el5xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-194.el5xen.img
Die /boot/grub/grub.cfgvon Ubuntu:
menuentry "CentOS release 5.5 (Final) (on /dev/sda5)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 66daaf1a-53b0-4e12-96f3-db01d52e12d1
linux /boot/vmlinuz-2.6.18-194.17.4.el5xen root=/dev/sda5
}
menuentry "CentOS release 5.5 (Final) (on /dev/sda5)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 66daaf1a-53b0-4e12-96f3-db01d52e12d1
linux /boot/vmlinuz-2.6.18-194.el5xen root=/dev/sda5
}
Dies wurde laufend update-grub2und grub-installunter Ubuntu generiert . Es funktioniert nicht. Es gibt mir so etwas wie eine schlechte magische Zahl .
Wie kann ich den Eintrag grub1 in eine Form grub2 konvertieren?