ma pigli in giro??neanderthal ha scritto: Ok, non ho inserito l'ultima parte. Sorry.
sudo mount /dev/sda1 /mnt
sudo mount /dev/sda7 /mnt
ti sembrano uguali

ma pigli in giro??neanderthal ha scritto: Ok, non ho inserito l'ultima parte. Sorry.

Codice: Seleziona tutto
ubu@ubu:~$ sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 testine, 63 settori/tracce, 38913 cilindri, totale 625142448 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x5a25087f
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 2048 409599 203776 7 HPFS/NTFS/exFAT
/dev/sda2 409600 180940094 90265247+ 7 HPFS/NTFS/exFAT
/dev/sda3 598194176 625139711 13472768 7 HPFS/NTFS/exFAT
/dev/sda4 180940798 598180274 208619738+ 5 Esteso
/dev/sda5 237456828 598180274 180361723+ 7 HPFS/NTFS/exFAT
/dev/sda6 221024256 229343231 4159488 82 Linux swap / Solaris
/dev/sda7 180940800 212703231 15881216 83 Linux
/dev/sda8 212705280 221022207 4158464 82 Linux swap / Solaris
Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
ubu@ubu:~$ sudo mount /dev/sda7 /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-grub2exit
update-grub2exit: comando non trovato
root@ubu:/# cd ~
bash: cd: /home/ubu: File o directory non esistente
root@ubu:/# sudo umount /mnt/dev
sudo: unable to resolve host ubu
umount: /mnt/dev: non trovato
root@ubu:/# sudo umount /mnt/proc
sudo: unable to resolve host ubu
umount: /mnt/proc: non trovato
root@ubu:/# sudo umount /mnt/sys
sudo: unable to resolve host ubu
umount: /mnt/sys: non trovato
root@ubu:/# sudo umount /mnt/

Codice: Seleziona tutto
cd ~
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/
>:(5920 ha scritto: sudo update grub 2 e exit sono separati! Poi questo comandocopialo ed incollalo nel terminale tutto d'un pezzoCodice: Seleziona tutto
cd ~ sudo umount /mnt/dev sudo umount /mnt/proc sudo umount /mnt/sys sudo umount /mnt/

Hai ragione!Diabolik62 ha scritto:>:(5920 ha scritto: sudo update grub 2 e exit sono separati! Poi questo comandocopialo ed incollalo nel terminale tutto d'un pezzoCodice: Seleziona tutto
cd ~ sudo umount /mnt/dev sudo umount /mnt/proc sudo umount /mnt/sys sudo umount /mnt/
prima lasciagli postare il comando
sudo update-grub2
Codice: Seleziona tutto
ubu@ubu:~$ sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 testine, 63 settori/tracce, 38913 cilindri, totale 625142448 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x5a25087f
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 2048 409599 203776 7 HPFS/NTFS/exFAT
/dev/sda2 409600 180940094 90265247+ 7 HPFS/NTFS/exFAT
/dev/sda3 598194176 625139711 13472768 7 HPFS/NTFS/exFAT
/dev/sda4 180940798 598180274 208619738+ 5 Esteso
/dev/sda5 237456828 598180274 180361723+ 7 HPFS/NTFS/exFAT
/dev/sda6 221024256 229343231 4159488 82 Linux swap / Solaris
/dev/sda7 180940800 212703231 15881216 83 Linux
/dev/sda8 212705280 221022207 4158464 82 Linux swap / Solaris
Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
ubu@ubu:~$ sudo mount /dev/sda7 /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-grub2
Generating grub.cfg ...
Found background image: splash-image.png
Found Debian background: splash-image.png
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
done
root@ubu:/#
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:~$
oppurepatel ha scritto: non con Ctrl +c e v, ma con modifica copia e modifica incolla
La voce dell'ordine è una baggianata che non crea problemi, invece la roba che riguarda NTFS è causata da partizioni chiuse male (tipo corrente staccata di botto o altri spegnimenti forzati su windows).Diabolik62 ha scritto:Codice: Seleziona tutto
[quote="neanderthal"] dov'è che che ho cappellato? Ho inserito quello che mi hai postato. [/quote] [codeLe voci nella tabella delle partizioni non sono nello stesso ordine del disco ubu@ubu:~$ sudo mount /dev/sda1 /mnt Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command]
Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti