luofeiyu_cu 发表于 2012-08-23 11:45

让linux访问freebsd分区

请问,有什么方法让让inux访问freebsd分区?

luofeiyu_cu 发表于 2012-08-23 11:50

看见文章,执行下列命令即可挂载FreeBSD的slice:
# mount -rt ufs -o ufstype=ufs2 /dev/hda9 /mnt/bsd/

# mount -t ufs -o ro,ufstype=ufs2 /dev/hda9 /mnt/bsd/

请看,我的

root@debian:/home/tiger# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 160.0 GB, 160041885696 bytes
256 heads, 63 sectors/track, 19381 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   IdSystem
/dev/sda1   *         1       19382   156290903+eeGPT

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 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: 0x073a3c87

   Device Boot      Start         End      Blocks   IdSystem
/dev/sdb1               1      1912    15358108+   cW95 FAT32 (LBA)
/dev/sdb2            1913      3736    14647296    7HPFS/NTFS
/dev/sdb3            3736       14594    87213057    5Extended
/dev/sdb5         14435       14594   1275904   82Linux swap / Solaris
/dev/sdb6            3736       13462    78124032   83Linux
/dev/sdb7         13462       14434   7809745+83Linux

Partition table entries are not in disk order
root@debian:/home/tiger# mount -rt ufs -o ufstype=ufs2 /dev/sda1/mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tailor so
请问,如何处理?

foxwb 发表于 2012-08-23 13:06

估计你这篇文章是写在GPT时代前的吧,我的系统只有win+BSD或win+Linux,所以没有碰到过你的这种情况
页: [1]
查看完整版本: 让linux访问freebsd分区