Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| linux:partition [23-03-2016 15:58] – edmc73 | linux:partition [28-02-2026 10:57] (Version actuelle) – edmc73 | ||
|---|---|---|---|
| Ligne 293: | Ligne 293: | ||
| Mettre à jour le /etc/fstab, pour cela, copier/ | Mettre à jour le /etc/fstab, pour cela, copier/ | ||
| mount -fav | 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, | ||
| + | |||
| + | |||
| + | </ | ||