sean finney on Sun, 27 Oct 2002 01:51:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] hard drive troubles


On Sun, Oct 27, 2002 at 01:09:50AM +0000, Michael Lazin wrote:
> 
> I have a linux formatted hard drive that I pulled out of a pc running 
> mandrake and put into a mac running os x, os 9, and yellow dog.  I no longer 
> have the pc and need to access the data on the ext2 formatted hard drive.  
> For some reason I am unable to mount it under yellow dog and have not found 
> a way to access it from my mac partitions.  Any ideas on what I should do?

like noah said, first i'd check to see if your kernel supports the proper
disklabel in question.  the config option you're probably interested in
is:

CONFIG_MSDOS_PARTITION

 Say Y here if you would like to use hard disks under Linux which      
were partitioned on an x86 PC (not necessarily by DOS).            

in my system (debian), there's a copy of the kernel config in /boot.
if that config option isn't set, give a go at rolling your own and
see if it works.  also, file -s might prove to be a little helpful.
example:

balthasar[/usr/src/linux]01:49:15# file -s /dev/hda
/dev/hda: x86 boot sector
balthasar[/usr/src/linux]01:49:21# file -s /dev/hda1
/dev/hda1: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

--sean

Attachment: pgpoMWkcfnnaF.pgp
Description: PGP signature