Partition issue on Mac drive

Steve.York at hpa.com.au Steve.York at hpa.com.au
Fri Aug 2 10:01:36 EST 2002


Hi,

A few days ago, I needed to copy some files from my MacOS9 partition to my Linux Partition.
I couldn't remember which device name it was, so I mounted each one in turn (in retrospect I should have just typed 'fdisk -l /dev/hda') using 'hpmount /dev/hda<n>
After pressing enter, I was asked if I wanted to mount in read/write mode (I never saw this message any other time I used hpmount), figured it wouldn't hurt, and chose yes.
Then I did hpls, if it was the wrong partition, hpumount and repeated the process.
I eventually found the one I was after, and copied the file using hpcopy, then hpumount to close off.

Later, when downloading a file, the d/l had completed, but the file seemed a little small, so I did df -k to check for enough space, and I noticed that both my partitions were
on 100%.  Seemed a bit strange, since the day before I had about 400mb free on each.  So I deleted the kerenel-source I had d/l'd, then did df-k again, but there was no
difference.  Still no bytes available.

Had I realised there was a serious issue, I wouldn't have rebooted until I had backed up my home directory.

Holding down <alt> on startup, I was presented with the OSX and OS9 drives, but no Linux.
I booted from the debian install CD, and executed a shell, to try and mount the partition and only came up with errors.
Now, the drive partition scheme is as follows:

/dev/hda1    partition map
/dev/hda2
/dev/hda3
/dev/hda4
/dev/hda5
/dev/hda6
/dev/hda7
/dev/hda8
/dev/hda9    Bootstrap
/dev/hda10    /
/dev/hda11    Swap
/dev/hda12    /Home
/dev/hda13    MacOS9

My intial thought was that the whole partition map was screwed, but I can boot off /dev/hda13 into OS9, so I'm assuming the issue is with the boot partition itself.
I tried to mount using 'mount /dev/had10 /mnt' but got a two line error message stating 'partition type incorrect or invalid session', then on the next line 'failed to mount
partition'.
I then tried 'mount -t ext2 /dev/hda10 /mnt'.  The first line was gone, but it still 'failed to mount partition'.

Can anybody think of a way to mount/retrieve files from this partition??
I'm used to PC based drives, and would simply re-install, I'm not sure if the HPUTILS package has permanently screwed the partitions.
Can anything be done in OpenFirmware to rectify the problem??


Any ideas would be much appreciated,

Stephen York



**********************************************************************
IMPORTANT
The contents of this e-mail and it's attachments are confidential and intended
solely for the use of the individual or entity to whom they are
addressed.  If you received this e-mail in error, please notify
the HPA Postmaster, postmaster at hpa.com.au, then delete 
the e-mail.

This footnote also confirms that this e-mail message has been swept for
the presence of computer viruses by MimeSweeper.  Before opening or
using any attachments, check them for viruses and defects.

Our liability is limited to resupplying any affected attachments.

HPA collects personal information to provide and market our services.
For more information about use, disclosure and access see our Privacy
Policy at www.hpa.com.au
**********************************************************************





More information about the linux mailing list