scusate se mi intrometto, ma piu o meno ho lo stesso problema.avevo installato xp, seven, e ubuntu, installando la back non mi vede piu ubuntu..ho provato di tutto.ho disinstallato ubuntu e back..e poi reistallato prima back e poi ubuntu niente.segrub lancia la bak non lancia ubuntu ho provato anche a ripristinare il grub niente..ora ho rinunciato a ubuntu.istallato la back e il grub mi fa lanciare i tre sistemi..xp,seven, e back
se installo ubuntu... non mi fa lanciare la back..come si puo risolvere il problema? allego del codice di una procedura x cercare di ripristinare grub...che non è andato a buon fine
Code:
ubu@ubu:~$ sudo fdisk -l
Disco /dev/sda: 320.1 GB, 320072933376 byte
255 testine, 63 settori/tracce, 38913 cilindri
UnitÃ* = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0002bafa
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 3891 31254426 7 HPFS/NTFS
/dev/sda2 3892 7804 31431172+ 7 HPFS/NTFS
/dev/sda3 7805 38913 249883042+ 5 Esteso
/dev/sda5 7805 34247 212403334+ 7 HPFS/NTFS
/dev/sda6 34248 38222 31929156 83 Linux
/dev/sda7 38223 38913 5550426 82 Linux swap / Solaris
Disco /dev/sdb: 1000.2 GB, 1000204886016 byte
255 testine, 63 settori/tracce, 121601 cilindri
UnitÃ* = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x000b1a6e
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 1 7717 61986771 83 Linux
/dev/sdb2 120586 121601 8161020 82 Linux swap / Solaris
/dev/sdb3 7718 120585 906612210 7 HPFS/NTFS
Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
ubu@ubu:~$ sudo mount /dev/sda1 /mnt
ubu@ubu:~$ sudo mount --bind /dev /mnt/dev
mount: il mount point /mnt/dev non esiste
ubu@ubu:~$ sudo mount /dev/sda6 /mnt
ubu@ubu:~$ sudo mount --bind /dev /mnt/dev
ubu@ubu:~$ sudo mount --bind /proc /mnt/proc
ubu@ubu:~$ sudo mount --bind /sys /mnt/sys
ubu@ubu:~$ sudo chroot /mnt
root@ubu:/# grub-install /dev/sda
Installation finished. No error reported.
root@ubu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-21-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 8.10 (8.10) on /dev/sdb1
done
root@ubu:/# exit
exit
ubu@ubu:~$ cd ~
ubu@ubu:~$ sudo umount /mnt/dev
ubu@ubu:~$ sudo umount /mnt/proc
ubu@ubu:~$ sudo umount /mnt/sys
ubu@ubu:~$ sudo umount /mnt/
ubu@ubu:~$