Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mount mac-fdisk partitioned HDD on x86
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
fixhalleluja
n00b
n00b


Joined: 09 Aug 2007
Posts: 12

PostPosted: Sun Feb 17, 2008 10:02 am    Post subject: Mount mac-fdisk partitioned HDD on x86 Reply with quote

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
View user's profile Send private message
// k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2004
Posts: 122
Location: Germany | UK | India

PostPosted: Sun Feb 17, 2008 10:33 am    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Feb 17, 2008 11:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
fixhalleluja
n00b
n00b


Joined: 09 Aug 2007
Posts: 12

PostPosted: Mon Feb 18, 2008 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum