免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2261 | 回复: 0
打印 上一主题 下一主题

[NetBSD] [solved]有没有人在linux下挂非x86分区表的硬盘? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-29 11:12 |只看该作者 |倒序浏览
我的苹果机上装的是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
成功地把硬盘挂载上去。

[ 本帖最后由 YGC 于 2008-6-30 16:47 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP