我有一个辅助硬盘,在 Ubuntu 13.04 中运行良好。我已经安装到/media/user/<some UUID>/
.我可以毫无问题地读取和写入文件。我的 Ubuntu 安装在主 SSD 上。
由于公司的新政策,我被迫安装 CentOS 6.7。现在,当我尝试安装驱动器时遇到问题。
sudo fdisk -l
产量
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00095739
Device Boot Start End Blocks Id System
说sudo mount -t autofs -o loop,offset=32256 /dev/sdb /secondary_hdd/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so`
然后
sudo file -Ls /dev/sdb
产量
/dev/sdb: x86 boot sector, code offset 0xb8
并
dmesg
产生
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb:
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI disk`
我没有格式化辅助磁盘,所以不确定出了什么问题。
更新:
我尝试过sudo mount /dev/sdb /secondary_hdd
,但不起作用(必须指定文件系统)。