View previous topic :: View next topic |
Author |
Message |
cayenne l33t
Joined: 17 Oct 2002 Posts: 945 Location: New Orleans
|
Posted: Fri Jan 28, 2011 2:12 am Post subject: Need a litttle advice on what to keep with mac-fdisk |
|
|
Hello all,
I"m starting off an install on an iBook G3
Reading about the yaboot partions, etc...my layout looks a bit different than what is listed in the handbook and I would like a little advice on what I need to keep and what to get rid of.
Quote: | mac-fdisk -l give the following:
/dev/hda
# type name length base (size) system
/dev/hda1 Apple_partition_map Apple 63 @ 1 (31.5K) Partition map
/dev/hda2 Apple_Free 262144 @ 64 (128.0M) Free Space
/dev/hda3 Apple_HFS Apple_HFS_Untitled_4 58342896 @ 262208 (27.8G) HFS
/dev/hda4 Apple_Free 16 @ 58605104 (8.0k) Free Space
Block size=512, Number of Blocks=58605120
DeviceType=0x0, DeviceId=0x0
/dev/hdb
# type name length base (size) system
/dev/hdb1 Apple_partition_map Apple 2 @ 1 (1.0k) Partition map
/dev/hdb2 Apple_HFS catalyst 20101212 260748 @ 16 (127.3M) HFS
lock size=512, Number of Blocks=260764
DeviceType=0x1, DeviceId=0x1
|
In the install manual, it speaks of one Apple Partition map....and one Apple Bootstrap.
I"m guessing the /dev/hda1 is the real Apple Partition map I need to keep...but not sure which is the Apple Bootstrap
Also, is mentioned that possible there is a Apple Disk drivers that can be deleted (not using OSX this is too old to bother with dual boot)....but I don't see it?
I'm not sure what that last one is...named catalyst?
Anyway, I'm just wanting to know what all I can blow away...I'm going to set up a partition for /boot and /, and hopefully one to put /home and /usr...to keep data separate from the OS.
Thank you in advance for any insight you might have...
cayenne _________________ Light travels faster than sound. This is why some people appear bright until you hear them speak......... |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Fri Jan 28, 2011 2:53 am Post subject: |
|
|
I would blow it all away, and create a new partition map, a new apple bootstrap, swap, and whatever else you need. |
|
Back to top |
|
|
cayenne l33t
Joined: 17 Oct 2002 Posts: 945 Location: New Orleans
|
Posted: Fri Jan 28, 2011 3:10 am Post subject: ok |
|
|
BoneKracker wrote: | I would blow it all away, and create a new partition map, a new apple bootstrap, swap, and whatever else you need. |
Thank you for the reply....
I would do this with the mac-disk -i command?
With regard to the new partition map...you mean the apple partition map? I thought it could not be dropped....it can and be recreated with the mac-disk?
Thanks again,
c _________________ Light travels faster than sound. This is why some people appear bright until you hear them speak......... |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Fri Jan 28, 2011 3:35 am Post subject: |
|
|
I haven't worked with linux on a mac in a couple of years.
As recall, you can just fire up mac-fdisk, create a new partition map from within it, and so on. As I recall, mac-fdisk offers some kind of help, which lists the various commands available from within the program. There may also be a man page.
I don't remember anything about needing to retain the existing apple partition map. But if you are more comfortable keeping it, go ahead and do so, as there is really no reason to drop it, provided that it has not been corrupted somehow.
You can probably get by with doing nothing more than re-creating the bootstrap partition (which is probably hda2, but since it's not labeled as such, I'd re-create it).
However, what I personally would recommend is deleting all the partitions, optionally creating a new partition map, creating a new bootstrap partition, and so on.
If you're not comfortable with what I'm telling you, you may get some advice from somebody who's done this more recently if you wait. But you've really got nothing to lose since you're not retaining any old data or dual-booting. The utility can either create a partition map or it can't (and I think it can). |
|
Back to top |
|
|
blob999 n00b
Joined: 07 Jun 2009 Posts: 64 Location: NATO area
|
Posted: Sun Jan 30, 2011 12:44 pm Post subject: |
|
|
With mac-fdisk you must initialize (i) the partition map then you must create a bootstrap partition (b).
But mac-fdisk is a bit old piece of sw thus it's unable to properly initialize new big hard disk drives.
You should use parted to make a "mac" type partition table then you must manually create an 800k bootstrap partition.
My method is to use parted to initialize the partition table on the disk and then to use mac-fdisk for the further work. _________________ LinuxPPC user!
my blog: http://linuxpowerpc.blogspot.com/ |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Sun Jan 30, 2011 5:11 pm Post subject: |
|
|
blob999 wrote: | With mac-fdisk you must initialize (i) the partition map then you must create a bootstrap partition (b).
But mac-fdisk is a bit old piece of sw thus it's unable to properly initialize new big hard disk drives.
You should use parted to make a "mac" type partition table then you must manually create an 800k bootstrap partition.
My method is to use parted to initialize the partition table on the disk and then to use mac-fdisk for the further work. |
How big can the hard drive be before you can no longer use mac-fdisk to initialize it? |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
|