我在ubuntu 12.04 64位上有320 GB的硬盘。
无法安装2个硬盘(ext3类型的sda7和sda8)。
输出sudo mount /dev/sda7 /home/newfolder -t ext3
:
mount: special device /dev/sda7 does not exist
/dev/
包含以下内容:
sda sda1 sda5 sda6
但GParted显示sda7和sda8:
输出blkid
:
/dev/sda1: UUID="a898f3ad-11d9-4dbb-9ea8-71a819dc8f70" TYPE="ext4"
/dev/sda5: UUID="998c7c6f-5ff8-426c-83d4-1a309b7cdc4f" TYPE="swap"
/dev/sda6: UUID="da0460d0-714e-40ae-b88b-a0deca87087c" TYPE="ext4"
/dev/sdb1: LABEL="FLASH DRIVE" UUID="8A24-B5CD" TYPE="vfat"
输出fdisk -l
:
Disk /dev/sda: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 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: 0x17ea17ea
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 194559 96256 83 Linux
/dev/sda2 196607 625121279 312462336+ f W95 Ext'd (LBA)
/dev/sda5 196608 8007679 3905536 82 Linux swap / Solaris
/dev/sda6 8009728 61431807 26711040 83 Linux
/dev/sda7 61432623 337911209 138239293+ 83 Linux
/dev/sda8 337911273 625121279 143605003+ 83 Linux
输出cat /etc/fstab
:
# /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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda8 during installation
UUID=da0460d0-714e-40ae-b88b-a0deca87087c / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=a898f3ad-11d9-4dbb-9ea8-71a819dc8f70 /boot ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=998c7c6f-5ff8-426c-83d4-1a309b7cdc4f none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
输出ls /dev/mapper
:
control
我尝试过,但是...
—
Dariush
的输出
—
Dariush
cat /etc/fstab
已添加。
您可以在/ etc / fstab中添加一个条目,看看会发生什么吗?尝试一下。
—
NickTux
/dev/sda7 /home/mydevice/ ext3 defaults 0 2
。同样重要的是,这里的蜜蜂可能blkid
没有显示/ dev / sda7的UUID。您可以检查Gparted是否具有此分区的UUID号吗?
sudo mkdir /home/mydevice/
和sudo mount /dev/sda7 /home/mydevice