LinuxSir.Org  
| 网站首页 | 注册账号 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
 
主题工具
旧 08-06-29, 11:20 第 1 帖
YGC
 
YGC 的头像
 
 
注册会员  
  注册日期: Mar 2004
  我的住址: SCAU
  帖子: 386
  精华: 2
 

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


我的苹果机上装的是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
成功地把硬盘挂载上去。







__________________
[size=4] Yes I would, If only could, I surely would.[/size]

此帖于 08-06-30 16:59 被 YGC 编辑. 原因: solved...
  YGC 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [启用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 03:15


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2010, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2009, LinuxSir.Org