Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| linux:partition [29-11-2015 23:38] – edmc73 | linux:partition [28-02-2026 10:57] (Version actuelle) – edmc73 | ||
|---|---|---|---|
| Ligne 15: | Ligne 15: | ||
| Copiez vos données | Copiez vos données | ||
| - | cp -a /home/ /mnt/home/ | + | cp -ar /home/. /mnt/home/ |
| | | ||
| Récupérez l'uuid de votre partition | Récupérez l'uuid de votre partition | ||
| Ligne 290: | Ligne 290: | ||
| umount /mnt/temp | umount /mnt/temp | ||
| mount -o loop linux-home.ext4 /home | mount -o loop linux-home.ext4 /home | ||
| + | |||
| + | Mettre à jour le /etc/fstab, pour cela, copier/ | ||
| + | mount -fav | ||
| + | |||
| + | |||
| + | ===== NTFS ===== | ||
| + | |||
| + | Dans le cas ou un montage d'une partition NTFS vous dit ça | ||
| + | |||
| + | < | ||
| + | # mount.ntfs-3g /dev/sdb2 test/ | ||
| + | The disk contains an unclean file system (0, 0). | ||
| + | Metadata kept in Windows cache, refused to mount. | ||
| + | Falling back to read-only mount because the NTFS partition is in an | ||
| + | unsafe state. Please resume and shutdown Windows fully (no hibernation | ||
| + | or fast restarting.) | ||
| + | Could not mount read-write, trying read-only | ||
| + | </ | ||
| + | |||
| + | Et que vous vous retrouvez avec une partition monté en lecture seule | ||
| + | /dev/sdb2 on /media/test type fuseblk (ro, | ||
| + | |||
| + | Utilisez la commande **ntfsfix** | ||
| + | |||
| + | < | ||
| + | # ntfsfix /dev/sdb2 | ||
| + | Mounting volume... The disk contains an unclean file system (0, 0). | ||
| + | Metadata kept in Windows cache, refused to mount. | ||
| + | FAILED | ||
| + | Attempting to correct errors... | ||
| + | Processing $MFT and $MFTMirr... | ||
| + | Reading $MFT... OK | ||
| + | Reading $MFTMirr... OK | ||
| + | Comparing $MFTMirr to $MFT... OK | ||
| + | Processing of $MFT and $MFTMirr completed successfully. | ||
| + | Setting required flags on partition... OK | ||
| + | Going to empty the journal ($LogFile)... OK | ||
| + | Checking the alternate boot sector... OK | ||
| + | NTFS volume version is 3.1. | ||
| + | NTFS partition /dev/sdb2 was processed successfully. | ||
| + | |||
| + | # mount | grep sdb2 | ||
| + | /dev/sdb2 on /media/test type fuseblk (rw, | ||
| + | |||
| + | |||
| + | </ | ||