+ -
当前位置:首页 → 问答吧 → 如何mount 本地硬盘上的MSDOS分区?

如何mount 本地硬盘上的MSDOS分区?

时间:2004-03-24

来源:互联网

如何mount 本地硬盘上的MSDOS分区?

安装FreeBSD 4.9后,将20G硬盘分了5G给FreeBSD,type为165,设备为ad0s1
15G给了Win,type为6,设备为ad0s2
其后正常安装好FreeBSD系统后,
查看mount
# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /tmp (ufs, local, soft-updates)
/dev/ad0s1g on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

查看硬盘信息
#fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 10485153 (5119 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 10485216, size 28584864 (13957 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

在/dev 下也有 ad0s2 的设备

可是我使用
#mount -t msdos /dev/ad0s2 /mnt
msdos: /dev/ad0s2: Invalid argument

请问如何把这个本地的MSDOS分区给mount上 ??

作者: tntnt   发布时间: 2004-03-24

先看看这个:

http://www.linuxsir.com/bbs/showthre...threadid=67743

作者: 尘飞扬   发布时间: 2004-03-24