# Segun device map de éste. #(hd1) /dev/sdb #(hd5) /dev/sdf #(hd4) /dev/sde #(hd0) /dev/sda crypto_LUKS, 500GB #(hd2) /dev/sdc #(hd3) /dev/sdd #el main (grub 1) device map: #(hd0) /dev/disk/by-id/ata-ST3500418AS_5VM2RSY4 #el main es "root (hd0,1)" # Aquí es: #/dev/sdc7 on /other/main type ext4 (rw,relatime,data=ordered) #/dev/sdc2 on /other/main/boot type ext2 (rw,relatime) # Todo eso ha cambiado al enchufar el disco en otro sitio, el definitivo. menuentry 'Gestor (por uuid)' --id cer-gestor-001 { insmod part_gpt insmod ext2 set root='hd1,gpt2' if search --no-floppy --fs-uuid --set=root 943d650b-ea9c-4fbd-9d2c-993abae7655b ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi } menuentry 'Main (por uuid)' --id cer-main-001 { insmod part_gpt insmod ext2 set root='hd0,gpt5' if search --no-floppy --fs-uuid --set=root e99d9dcb-869d-4a24-94cf-cba32f169b8d ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi } menuentry 'oS 11.4, sdb1 (por uuid)' --id cer-sdb1-001 { insmod part_gpt insmod ext2 set root='hd1,msdos1' if search --no-floppy --fs-uuid --set=root 7cb39bb9-10da-4add-8eec-38306ce5e05f ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi } menuentry '1:1 - openSUSE 11.4' --id cer-direct-1-1 { insmod part_msdos insmod ext2 set root='hd1,msdos1' chainloader +1 } menuentry '1:2 - ' --id cer-direct-1-2 { insmod part_msdos insmod ext2 set root='hd1,msdos2' chainloader +1 } menuentry '2:2 - Main (must fail)' --id cer-try-2-4 { insmod part_msdos insmod ext2 set root='hd2,msdos4' if search --no-floppy --fs-uuid --set=root 5135ab82-1374-4c30-b9d0 ; then chainloader +1 else echo Could not find this OS instance, will not boot (1) sleep 1 fi } menuentry '2:2 - Main (uuid)' --id cer-try-2-2 { insmod part_msdos insmod ext2 set root='hd2,msdos2' if search --no-floppy --fs-uuid --set=root 5135ab82-1374-4c30-b9d0-4b56d6d6d6c6 ; then chainloader +1 else echo Could not find this OS instance, will not boot (2) sleep 1 fi } menuentry 'Gestor' --id cer-gestor-011 { insmod part_gpt insmod ext2 set root='hd1,gpt2' if search --no-floppy --fs-uuid --set=root 943d650b-ea9c-4fbd-9d2c-993abae7655b ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi }