Formatting linux partition

Pete Peters yellowdog-general@lists.terrasoftsolutions.com
Thu May 9 09:48:01 2002


Eric,

Info about Pdisk and using it can be found at the following links;

http://www.cfcl.com/eryk/linux/pdisk/

http://www.mklinux.org/getting_started/preparations/index.html

You can download Pdisk from;

ftp://ftp.mklinux.org/pub/mklinux-pre-R1/ppc/MacOS_Utilities/

Are we having fun yet?


Pete


-----Original Message-----
From: yellowdog-general-admin@lists.terrasoftsolutions.com
[mailto:yellowdog-general-admin@lists.terrasoftsolutions.com]On Behalf
Of Eric D.
Sent: Thursday, May 09, 2002 7:14 AM
To: yellowdog-general@lists.terrasoftsolutions.com
Subject: Re: Formatting linux partition


on 8/5/02 18:38, Timothy A. Seufert at tas@mindspring.com wrote:

> 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.

Now my next question is:

How do I get to pdisk? I assume I have to be in YDL to run the app, but I
doubt that I will be allowed to format the boot partition.

I have the YDL 2.1 and 2.2 Install CDs and tried booting the 2.1 CD but it
wouldn't let me (failed with some error & said it would restart in 180
seconds (& I wasn't able to command-control-power to restart for the first
time ever (B&W G3, ADB keyboard)... I thought com-ctrl-pwr was a hardware
thing and didn't think software could over-ride it)).

I've mangled the Linux partition (1536 MB) with the installer (trying to
trick it into formatting me one big boot partition). Should I re-install YDL
and try deleting the partition that way (using your pdisk instructions)?

Thanks for all your help, Eric.

_______________________________________________
yellowdog-general mailing list
yellowdog-general@lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general