我在辅助驱动器上运行 Ubuntu 13.10,我需要访问主硬盘上的文件(我使用的是笔记本电脑)。我该怎么做?
编辑-我突然意识到你可能必须先安装它。我该怎么做呢?
EDIT2-输出lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 500M 0 part
├─sda2 8:2 0 40M 0 part /media/llamah/DIAGS
├─sda3 8:3 0 128M 0 part
├─sda4 8:4 0 500M 0 part
├─sda5 8:5 0 452.7G 0 part
└─sda6 8:6 0 11.9G 0 part
sdb 8:16 0 74.5G 0 disk
├─sdb1 8:17 0 37.3G 0 part /
├─sdb2 8:18 0 1K 0 part
└─sdb5 8:21 0 5.6G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
EDIT3-遵循Avinash Raj的建议并得到以下输出:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda5': 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.
答案1
尝试以下命令来挂载/dev/sda5
分区。
sudo mkdir /media/gallery
sudo mount -t ntfs-3g -o ro /dev/sda5 /media/gallery
运行上述命令后,通过 nautilus 进入/media/gallery
目录。在那里你可以找到你的分区的文件/dev/sda5
。