Hello, Tom H wrote: > - Does grub-probe on squeeze and maverick return the same values?
Looks like this is true. See attachments. > - Can you chainload squeeze's grub from maverick's? From maverick the boot drive after update-grub is now hd2 output from chainload: booting a command list error: no such partition Press any key to continue When I edit the chainload-entry and change "hd2" to i.e. hd1, the output is as follows: booting a command list error: hd1,msdos2 cannot get C/H/S values Press any key to continue From the ubuntus grub.cfg both ubuntu and debian are bootable. kind regards Gero
### PROBE OF / ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/sde1 (hd4,msdos1) ### PROBE OF /boot ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/sde2 (hd4,msdos2) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 (hd4,msdos1) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 (hd4,msdos2) =============================================================================== --- after some reboots =============================================================================== ### PROBE OF / ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/sda1 (hd4,msdos1) ### PROBE OF /boot ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/sda2 (hd4,msdos2) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 (hd4,msdos1) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 (hd4,msdos2)
### PROBE OF /mnt/squeeze ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/sdc1 (hd2,msdos1) ### PROBE OF /mnt/squeeze/boot ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/sdc2 (hd2,msdos2) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 ### ext2 7ce6540f-5ffe-445d-9bbf-d41652854700 /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part1 (hd2,msdos1) ### PROBE OF /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 ### ext2 59c82698-6fcc-4512-a51c-261348d637da /dev/disk/by-id/scsi-SATA_INTEL_SSDSA2M04CVGB0061021D040GGN-part2 (hd2,msdos2)
# # DO NOT EDIT THIS FILE # # It is automatically generated by 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 set have_grubenv=true 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 } function load_video { insmod vbe insmod vga } insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 set locale_dir=($root)/boot/grub/locale set lang=de 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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 linux /boot/vmlinuz-2.6.35-22-generic root=UUID=b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 ro quiet splash initrd /boot/initrd.img-2.6.35-22-generic } menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 echo 'Loading Linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=UUID=b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd2,msdos3)' search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 linux16 /boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64 (on /dev/sdc1)" { insmod part_msdos insmod ext2 set root='(hd2,msdos2)' search --no-floppy --fs-uuid --set 59c82698-6fcc-4512-a51c-261348d637da linux /vmlinuz-2.6.32-5-amd64 root=UUID=7ce6540f-5ffe-445d-9bbf-d41652854700 ro quiet initrd /initrd.img-2.6.32-5-amd64 } menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode) (on /dev/sdc1)" { insmod part_msdos insmod ext2 set root='(hd2,msdos2)' search --no-floppy --fs-uuid --set 59c82698-6fcc-4512-a51c-261348d637da linux /vmlinuz-2.6.32-5-amd64 root=UUID=7ce6540f-5ffe-445d-9bbf-d41652854700 ro single initrd /initrd.img-2.6.32-5-amd64 } ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### menuentry "chainload squeeze from maverick" { insmod part_msdos insmod ext2 set root='(hd2,msdos2)' ## using X and Y for /mnt/squeeze/boot linux /grub/core.img ## or /boot/grub/core.img if / and /boot aren't different partitions } ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###