Subject: Mounting partition from Mac disk on NetBSD/i386
To: None <netbsd-help@netbsd.org>
From: Christoph Leuzinger <chris+ml@westworks.ch>
List: port-macppc
Date: 10/28/2007 22:38:41
Hello,
Sorry for the crossposting, but I figure that maybe there's somebody
on port-macppc that might help with this.
I'm attempting some data recovery after my iBook died (again). I took
the iBook's hard drive and put it in my NetBSD/i386 box. Now I'd like
to mount an ext3 partition that is located on that disk.
A modified [0] pdisk says:
----------------
Partition map (with 512 byte blocks) on '/dev/wd0d'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Bootstrap bootstrap 4096 @ 64 ( 2.0M)
3: Apple_UNIX_SVR2 swap 258048 @ 4160 (126.0M)
4: Apple_HFS Apple_HFS_Untitled_2 20709376 @ 262208 ( 9.9G)
5: Apple_UNIX_SVR2 swap 1572865 @ 20971584 (768.0M)
6: Apple_UNIX_SVR2 untitled 36060671 @ 22544449 ( 17.2G)
Device block size=512, Number of Blocks=58605120 (27.9G)
DeviceType=0x0, DeviceId=0x0
----------------
In contrast the output of disklabel:
----------------
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 58605120 0 4.2BSD 0 0 0 # (Cyl. 0 - 58139)
d: 58605120 0 unused 0 0 # (Cyl. 0 - 58139)
disklabel: boot block size 0
disklabel: super block size 0
----------------
Is there any way to mount partition number 6 (Linux ext3) on the
NetBSD/i386 box? I'd appreciate any hints.
[0] <http://mail-index.netbsd.org/port-macppc/2005/07/19/0001.html>
Thanks in advance,
Christoph