View previous topic :: View next topic |
Author |
Message |
fixhalleluja n00b
Joined: 09 Aug 2007 Posts: 12
|
Posted: Sun Feb 17, 2008 10:02 am Post subject: Mount mac-fdisk partitioned HDD on x86 |
|
|
Hi out there!
I removed my mac-fdisk partitioned HDD from a Powerbook running Gentoo and installed it in a x86 also running gentoo.
Now I got the following problem:
Code: | fdisk -l /dev/hdc
Disk /dev/hdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdc doesn't contain a valid partition table
|
Code: | mac-fdisk -l /dev/hdc
/dev/hdc
# type name length base ( size ) system
/dev/hdc1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hdc2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock
/dev/hdc3 Apple_UNIX_SVR2 swap 1048576 @ 1664 (512.0M) Linux swap
/dev/hdc4 Apple_UNIX_SVR2 root 155251248 @ 1050240 ( 74.0G) Linux native
Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0
|
Code: | mount /dev/hdc4 /mnt/test
mount: you must specify the filesystem type |
Code: | mount -t reiserfs /dev/hdc4 /mnt/test
mount: /dev/hdc4 is not a valid block device |
Another information that could be useful is that I ddrescue'd the whole HDD from the original hardware to another drive and then did a successful reiserfsck --rebuild-tree ...
What does 'normally' happen if you try to mount a mac-fdisk HDD on an Intel machine? Can anybody tell me if the source of the problem is the mac-fdisk stuff or some reiserfsck trouble? |
|
Back to top |
|
|
// k Tux's lil' helper
Joined: 27 Dec 2004 Posts: 122 Location: Germany | UK | India
|
Posted: Sun Feb 17, 2008 10:33 am Post subject: |
|
|
Hmmm...I've never done anything likewise, but have you enabled support
for both partition tables in your kernel? _________________ // k
MySpace. | Website. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Feb 17, 2008 11:47 pm Post subject: |
|
|
Ask //k suggests, you merely need to add support for Apple partitions in your kernel config. You can do this by selecting the "Advanced Partition Selection" option in menuconfig, then selecting the "Macintosh partition map support" option. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
fixhalleluja n00b
Joined: 09 Aug 2007 Posts: 12
|
Posted: Mon Feb 18, 2008 8:21 am Post subject: |
|
|
Ok, thanks to you both.
I added to the Kernel:
Code: | File Systems --->
Partition Types --->
[*] Macintosh partition map support |
That solved the issue. Thank you! |
|
Back to top |
|
|
|