Strona 1 z 1

[SOLVED] montowanie partycji ntfs

: 01 mar 2014, 16:51
autor: kubus86
postapilem wedlug poradnika http://www.ubuntu-pomoc.org/automatyczn ... ycji-ntfs/
po restarcie wyskakuje blad i partycja sie nie montuje

Kod: Zaznacz cały

Error mounting system-managed device /dev/sda1: Command-line `mount "/media/sda1"' exited with non-zero exit status 14: [mntent]: warning: no final newline at the end of /etc/fstab
Windows is hibernated, refused to mount.
Failed to mount '/dev/sda1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
po recznym montowaniu sudo mount -t ntfs-3g /dev/sda2 /media/sda2
wyskakuje blad

Kod: Zaznacz cały

kuba@ubuntu:~/Pulpit$ sudo mount -t ntfs-3g /dev/sda2 /media/sda2
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda2': Operacja niedozwolona
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
kuba@ubuntu:~/Pulpit$ sudo fdisk -l
sudo -fdisk l

Kod: Zaznacz cały

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sda1   *        2048   104859647    52428800    7  HPFS/NTFS/exFAT
/dev/sda2       104859648   383539199   139339776    7  HPFS/NTFS/exFAT
/dev/sda3       383541246   488396799    52427777    5  Rozszerzona
/dev/sda5       383541248   425484607    20971680   83  Linux
/dev/sda6       486301696   488396799     1047552   82  Linux swap / Solaris
/dev/sda7       425486336   486299647    30406656   83  Linux
jak sobie z tym poradzic?

Re: montowanie partycji ntfs

: 01 mar 2014, 17:03
autor: namok
Przeczytaj dokładnie komunikaty które wkleiłeś.

Re: montowanie partycji ntfs

: 01 mar 2014, 18:43
autor: enedil
Zamknij Windowsa normalnie, a nie hibernuj. Dodatkowo dodaj nową pustą linię na końcu /etc/fstab.

Re: montowanie partycji ntfs

: 01 mar 2014, 19:25
autor: kubus86
windowsa nigdy nie hibernuje

sudo ls -l

Kod: Zaznacz cały

lrwxrwxrwx 1 root root 10 mar  1 19:22 5638A81F38A7FBDD -> ../../sda1
lrwxrwxrwx 1 root root 10 mar  1 19:22 62440E616E05943A -> ../../sda2
lrwxrwxrwx 1 root root 10 mar  1 19:22 73d1d4ed-0096-4215-a9e7-12ccaf4d9270 -> ../../sda6
lrwxrwxrwx 1 root root 10 mar  1 19:22 b6562171-ad0e-4503-9bee-910f49b48596 -> ../../sda5
lrwxrwxrwx 1 root root 10 mar  1 19:22 ec1ba81c-11ce-45d8-987f-53c0c02c0885 -> ../../sda7
leafpad /etc/fstab

Kod: Zaznacz cały

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=b6562171-ad0e-4503-9bee-910f49b48596 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=ec1ba81c-11ce-45d8-987f-53c0c02c0885 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=73d1d4ed-0096-4215-a9e7-12ccaf4d9270 none            swap    sw              0       0
#/dev/sda1
UUID=5638A81F38A7FBDD /media/sda1 ntfs defaults,utf8,umask=007,gid=46 0 0
#/dev/sda2
UUID=62440E616E05943A /media/sda2 ntfs defaults,utf8,umask=007,gid=46 0 0



sprawa rozwiazana, nalezalo uruchomic windowsa i w cmd wstukac
shutdown /s /t 0
po tym zabiegu partycje montuja sie bez problemu