Ho installato Ubuntu e poi Windows 7 (per la moglie).<br>Naturalmente W7 cancella grub e ho provato a reinstallare grub2.<br><br>Riavviando il computer con ubuntu mi da l'errore "error 11 : unrecognized device string"<br>
con windows mi da "Error 21 : selected disk does not exist".<br><br>Facendo il comando "sudo Fdisk -l" ho per risposta:<br><br>sudo fdisk -l<br><br>Disk /dev/sda: 500.1 GB, 500107862016 bytes<br>255 heads, 63 sectors/track, 60801 cylinders<br>
Units = cylinders of 16065 * 512 = 8225280 bytes<br>Disk identifier: 0x000eb6d1<br><br> Device Boot Start End Blocks Id System<br>/dev/sda1 1 255 2048256 82 Linux swap / Solaris<br>
/dev/sda2 256 2805 20482875 83 Linux<br>/dev/sda3 2806 13004 81923467+ 83 Linux<br>/dev/sda4 * 13005 60801 383929402+ 7 HPFS/NTFS<br><br>mentre per il file "grub.cfg" trovo questo.<br>
<br>#<br># DO NOT EDIT THIS FILE<br>#<br># It is automatically generated by /usr/sbin/update-grub using templates<br># from /etc/grub.d and settings from /etc/default/grub<br>#<br><br>### BEGIN /etc/grub.d/00_header ###<br>
set default=0<br>set timeout=5<br>set root=(hd0,2)<br>search --fs-uuid --set 3467764f-5a6d-4381-80f8-91ac1dd6d28f<br>if font /usr/share/grub/ascii.pff ; then<br> set gfxmode=640x480<br> insmod gfxterm<br> insmod vbe<br>
terminal gfxterm<br>fi<br>### END /etc/grub.d/00_header ###<br><br>### BEGIN /etc/grub.d/05_debian_theme ###<br>set menu_color_normal=cyan/blue<br>set menu_color_highlight=white/blue<br>### END /etc/grub.d/05_debian_theme ###<br>
<br>### BEGIN /etc/grub.d/10_hurd ###<br>### END /etc/grub.d/10_hurd ###<br><br>### BEGIN /etc/grub.d/10_linux ###<br>set root=(hd0,2)<br>search --fs-uuid --set 3467764f-5a6d-4381-80f8-91ac1dd6d28f<br>menuentry "Ubuntu, linux 2.6.28-14-generic" {<br>
linux /boot/vmlinuz-2.6.28-14-generic root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro quiet splash<br> initrd /boot/initrd.img-2.6.28-14-generic<br>}<br>menuentry "Ubuntu, linux 2.6.28-14-generic (single-user mode)" {<br>
linux /boot/vmlinuz-2.6.28-14-generic root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro single <br> initrd /boot/initrd.img-2.6.28-14-generic<br>}<br>menuentry "Ubuntu, linux 2.6.28-11-generic" {<br>
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro quiet splash<br> initrd /boot/initrd.img-2.6.28-11-generic<br>}<br>menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {<br>
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro single <br> initrd /boot/initrd.img-2.6.28-11-generic<br>}<br>### END /etc/grub.d/10_linux ###<br><br>### BEGIN /etc/grub.d/20_memtest86+ ###<br>
menuentry "Memory test (memtest86+)" {<br> linux /boot/memtest86+.bin<br>}<br>menuentry "Memory test (memtest86+, serial console 115200)" {<br> linux /boot/memtest86+.bin console=ttyS0,115200n8<br>
}<br>### END /etc/grub.d/20_memtest86+ ###<br><br>### BEGIN /etc/grub.d/30_os-prober ###<br>menuentry "Windows Vista (loader) (on /dev/sda4)" {<br> set root=(hd0,4)<br> chainloader +1<br>}<br>### END /etc/grub.d/30_os-prober ###<br>
<br>### BEGIN /etc/grub.d/40_custom ###<br># This file is an example on how to add custom entries<br>### END /etc/grub.d/40_custom ###<br><br>Dove stanno gli errori?<br>Grazie per l'aiuto.<br><br>Giovanni<br>