ubuntu 12.1-无法挂载位置

ubuntu 12.1-无法挂载位置

我的电脑上有两个硬盘(sda 和 sdb)。我在“ sda”上安装了 ubuntu 12.1。我将其挂载到/homesdb ”。桌面-->菜单栏上方-->前往-->计算机-->2.0 TB 硬盘 (sdb)-->无法安装位置。我想从那里 (前往-->计算机) 访问“2.0 TB 硬盘 (sdb)”。我该如何安装它?

physics@physics:~$ sudo mount /dev/sdb5
mount: /dev/sdb5 already mounted or /home busy
mount: according to mtab, /dev/sdb5 is already mounted on /home

fdisk -l在终端上输入:

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000072a0

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 480585727 240291840 83 Linux
/dev/sda2 480587774 500117503 9764865 5 Extended
/dev/sda5 480587776 500117503 9764864 82 Linux swap / Solaris

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0001ca53

Device Boot Start End Blocks Id System
/dev/sdb1 2046 3907028991 1953513473 5 Extended
Partition 1 does not start on physical sector boundary.
/dev/sdb5 2048 3907028991 1953513472 83 Linux 

答案1

卸载 /dev/sdb5 并将其挂载到目录内,/media以便驱动器出现在统一栏上。

sudo umount /dev/sdb5

/media通过运行以下命令在文件夹内创建目录,

cd /media
mkdir hdd 

然后dev/sdb5通过运行以下命令将其挂载到 hdd 目录中,

sudo mount /dev/sdb5 /media/hdd

您无法删除 /dev/sdb5 里面的文件,因为它是您的/home分区。

相关内容