reformatting a partition from ext2 to hfs

S

SlickRCBD

I have an old 6500 set up to duel-boot to Linux and Mac OS 8.6. A while
ago I needed to reinstall Linux because I FUBARed the OS due to my
stupidity (I'm still learning Linux). I wasn't sure if the reinstaller
would wipe the HD, so I reformatted one of my Macintosh partitions to
ext2 and backed up my data. Now, I want to change it back to HFS since I
found something that will let me mount HFS partitions for writing,
though I can't get HFS+ partitions to do that. Unfortunetly, there is no
means of making such a partition in linux, and I can't figure out how to
mount the ext2 partition in Mac OS. I had previously set the partition
to NOT be automatically mounted at startup because the message prompting
me was annoying. Now it doesn't show up in the "customize volumes"
section of Drive Setup. I even tried formatting the partition as
"MS-DOS" in linux, though I don't know if that means FAT16, FAT32, or NFS.

How do I get the ext2 partition accessable to Mac OS 8.6 again as a
regular HFS partition? What programs or procedures do I use? I'm using
Yellow Dog Linux 2.1 on the linux end if that helps. Of course I'm
willing to format the ext2 partition in quiestion and lose all data, but
I'm NOT willing to wipe the rest of the hard drive's partitions to do
it, which seems to be my only option. Even getting Mac OS to mount it
when formatted for "MS-DOS" would be acceptable because it would be easy
to reformat it.
 
A

Arno Wagner

Previously SlickRCBD said:
I have an old 6500 set up to duel-boot to Linux and Mac OS 8.6. A while
ago I needed to reinstall Linux because I FUBARed the OS due to my
stupidity (I'm still learning Linux). I wasn't sure if the reinstaller
would wipe the HD, so I reformatted one of my Macintosh partitions to
ext2 and backed up my data. Now, I want to change it back to HFS since I
found something that will let me mount HFS partitions for writing,
though I can't get HFS+ partitions to do that. Unfortunetly, there is no
means of making such a partition in linux, and I can't figure out how to
mount the ext2 partition in Mac OS. I had previously set the partition
to NOT be automatically mounted at startup because the message prompting
me was annoying. Now it doesn't show up in the "customize volumes"
section of Drive Setup. I even tried formatting the partition as
"MS-DOS" in linux, though I don't know if that means FAT16, FAT32, or NFS.
How do I get the ext2 partition accessable to Mac OS 8.6 again as a
regular HFS partition? What programs or procedures do I use? I'm using
Yellow Dog Linux 2.1 on the linux end if that helps. Of course I'm
willing to format the ext2 partition in quiestion and lose all data, but
I'm NOT willing to wipe the rest of the hard drive's partitions to do
it, which seems to be my only option. Even getting Mac OS to mount it
when formatted for "MS-DOS" would be acceptable because it would be easy
to reformat it.

You chould create the HFS from Mac OS. If it does not see the
partition, you can empty it by overwriting it with zeros
in Linux (as root):

cat /dev/zero > /dev/<partition to overwrite>

May take a while.

WARNING: All data on the pattition will be irretrivably lost.

Afterwards you should set the HFS partition type with fdisk on
the partition. No idea what the right type is, but you can
look at all partitions with "fdisk -l /dev/<disk>" and
see what type the other HFS partitions have.

Arno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top