Formatting linux partition
Timothy A. Seufert
yellowdog-general@lists.terrasoftsolutions.com
Wed May 8 16:38:01 2002
At 4:14 PM -0400 5/8/02, Eric D. wrote:
>Hello ya'll, is there any way to get a formerly linux partition reformatted
>as HFS?
Yes.
Using pdisk, delete that partition. Then create it again, using the
same base and length. When you recreate it, use the uppercase C
"create partition" command instead of the normal lowercase c. The
uppercase option lets you specify the partition type (lowercase c
will always create partitions as "Apple_UNIX_SVR2", which is what you
want for Linux partitions). Enter "Apple_HFS" (without the quotes)
as the type, and anything you like for the name.
At this point it's really still a Linux partition, it's just now
marked as HFS. But that's OK. Just boot MacOS. MacOS will try to
mount the partition because its type signature in the partition table
is Apple_HFS, discover that the HFS magic numbers aren't present at
the beginning of the partition, and then ask you if you want to
format or eject the unreadable disk. Tell it to format, select HFS
or HFS+ as you like, and you should be good to go.
--
Tim Seufert