Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building a macppc bootable USB image



FWIW: I boot my G5 from a disk that is MBR partitioned:

Partition table:
0: Primary 'big' DOS, 16-bit FAT (> 32MB) (sysid 6)
    start 16, size 257040 (126 MB, Cyls 0/0/17-16/0/16)
1: NetBSD (sysid 169)
    start 257056, size 234184592 (114348 MB, Cyls 16/0/17-14593/80/63)
        PBR is not bootable: All bytes are identical (0x00)
2: <UNUSED>
3: <UNUSED>


and matching disklabel:

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 234184592    257056     4.2BSD      0     0     0  # (Cyl.    255*- 232580)
 c: 234441648         0     unused      0     0        # (Cyl.      0 - 232580)
 e:    257040        16      MSDOS                     # (Cyl.      0*-    255*)


and I have the kernel and ofwboot.xcf in the MSDOS partition (slot 0 in the
MBR).

I used to also have /rescue in there, but that becomes relatively useless
(or confusing) when you have "root on ..." hardcoded in the kernel (which
I do, this is all so I can avoid the crappy on-board sata for / usage).

Unfortunately can't easily tell the configured boot string, will
look that up on next boot (ofctl used to crash this machine, don't dare to
try right now).

But this is all on internal disks, nothing on USB. If firmware deals with USB
just the same, that would be great (even if it dosn't work on all firmware
versions).

Martin


Home | Main Index | Thread Index | Old Index