LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4161|回复: 0

有没有人在linux下挂非x86分区表的硬盘?

[复制链接]
发表于 2008-6-29 11:20:22 | 显示全部楼层 |阅读模式
我的苹果机上装的是netbsd,现在硬盘拆下来,想恢复硬盘里的数据。
$ dmesg | tail 的输出如下,认得出来,可是mount不上去。fdisk也不能认出分区表来。
[  344.429447] sdc: assuming drive cache: write through
[  344.430500] SCSI device sdc: 117210240 512-byte hdwr sectors (60012 MB)
[  344.431934] sdc: Write Protect is off
[  344.431938] sdc: Mode Sense: 03 00 00 00
[  344.431941] sdc: assuming drive cache: write through
[  344.431944]  sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 sdc11 sdc12 sdc13
[  344.447820] sd 4:0:0:0: Attached scsi disk sdc
[  344.447865] sd 4:0:0:0: Attached scsi generic sg3 type 0
[  573.217533] ufs was compiled with read-only support, can't be mounted as read-write
[  586.357878] ufs was compiled with read-only support, can't be mounted as read-write


使用testdisk能够认出来。三个linux分区,其实是netbsd的分区,newfs格式的。
TestDisk 6.5, Data Recovery Utility, October 2006
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdc - 60 GB / 55 GiB - CHS 117209089 1 1

     Partition                  Start        End    Size in sectors
1 P partition_map                  1         63         63
2 P Driver43                      64        119         56
3 P Driver43                     120        175         56
4 P Driver_ATA                   176        231         56
5 P Driver_ATA                   232        287         56
6 P FWDriver                     288        799        512
7 P Driver_IOKit                 800       1311        512
8 P Patches                     1312       1823        512
9 P HFS                         1824      32543      30720 [loader]
10 P Linux                      32544   25167647   25135104
11 P Linux                   25167648   46139167   20971520
12 P Swap                    46139168   47187743    1048576
13 P Linux                   47187744  117210239   70022496



[  Type  ]  [  Quit  ]
              Change type, this setting will not be saved on disk


有没人能给点意见?


================================================================================

使用
mount -t ufs -o ro,ufstype=44bsd /dev/sdc10 /mnt/sdc10
mount -t ufs -o ro,ufstype=44bsd /dev/sdc11 /mnt/sdc11
mount -t ufs -o ro,ufstype=44bsd /dev/sdc13 /mnt/sdc13
成功地把硬盘挂载上去。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表