ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount -o bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount -o bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Installation finished. No error reported.
mi ha dato quell'errore su una partizione di cui non mi frega nulla, quindi credo di poter stare tranquilloroot@ubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
ls: impossibile accedere a /media/DATA: Nessun file o directory
ls: impossibile accedere a /media/DATA: Nessun file o directory
ls: impossibile accedere a /media/DATA: Nessun file o directory
ls: impossibile accedere a /media/DATA: Nessun file o directory
Found Windows 7 (loader) on /dev/sda1
done
root@ubuntu:/#

