Just curious
R. Hirschfeld
yellowdog-general@lists.terrasoftsolutions.com
Sun, 19 Sep 2004 14:44:49 +0200
> Date: Sat, 18 Sep 2004 16:58:35 -0400
> From: "GDB-B&W-YDL3.0.1" <slugg0@adelphia.net>
> Okay, got my grass mowed and some other Saturday chores done, now where
> were we. Ah yes, the partition map dump from pdisk:
>
> Partition map (with 512 byte blocks) on '/dev/hda'
> #: type name length base ( size )
> 1: Apple_partition_map Apple 63 @ 1
> 2: Apple_Driver43*Macintosh 56 @ 64
> 3: Apple_Driver43*Macintosh 56 @ 120
> 4: Apple_Driver_ATA*Macintosh 56 @ 176
> 5: Apple_Driver_ATA*Macintosh 56 @ 232
> 6: Apple_FWDriver Macintosh 512 @ 288
> 7: Apple_Driver_IOKit Macintosh 512 @ 800
> 8: Apple_Patches Patch Partition 512 @ 1312
> 14: Apple_Free Extra 262144 @ 1824 (128.0M)
> 10: Apple_HFS "Present" 63510328 @ 263968 ( 30.3G)
> 15: Apple_Free Extra 262144 @ 63774296 (128.0M)
> 12: Apple_HFS "Past" 12282640 @ 64036440 ( 5.9G)
> 9: Apple_Bootstrap untitled 2048 @ 76319080 ( 1.0M)
> 11: Apple_UNIX_SVR2 swap 2048000 @ 76321128 (1000.0M)
> 13: Apple_UNIX_SVR2 untitled 20480000 @ 78369128 ( 9.8G)
> 16: Apple_Free Extra 61237400 @ 98849128 ( 29.2G)
>
> Device block size=512, Number of Blocks=160086528 (76.3G)
> DeviceType=0x0, DeviceId=0x0
> Drivers-
> 1: 23 @ 64, type=0x1
> 2: 36 @ 120, type=0xffff
> 3: 21 @ 176, type=0x701
> 4: 34 @ 232, type=0xf8ff
>
> As you can see, it's pretty much the way I said earlier so my question
> is, how difficult would it be to move the bootstrap partition to where
> hda14 is?
You could use pdisk to make a new 2048-block boot partition at 1824,
use dd to copy the old boot partition there (e.g., "dd if=/dev/hda9
of=/dev/hda14 bs=1M count=1" if the new partition is number 14), and
then use pdisk again to renumber the new partition as 9 and delete the
old one (it would become yet another free space partition).
Ray