tech-toolchain archive

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

Re: bootable macppc iso (Was: Tools mkhybrid(8) for mac68k/macppcISO9660/HFS install ISO images)



abs@ wrote:

> Have you also tested writing to USB memory sticks? The existing
> release macppc ISO images boot fine with the following (or some
> variant depending on where the USB stick is inserted)
> 
> boot usb1/disk@1:\ofwboot.xcf

(Note there was a report that "," is missing before the ofwboot.xcf path)

I've tried it on My Power Mac G4, then it needs more tweaks:

---
Apple PowerMac3,3 3.4f1 BootROM built on 08/08/00 at 22:02:19
Copyright 1994-2000 Apple Computer, Inc.
All Rights Reserved.

Welcome to Open Firmware.
To continue booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.

 ok
0 > boot usb0/disk@1,\ofwboot.xcf -a mothod <load> not found; ihandle=ffbcb100 phandle=ff85bab8 load-size=0 adler32=1

LOAD-SIZE is too small
 ok
0 > boot usb0/disk@1:3,\ofwboot.xcf -a load-size=6e040 adler32=cf53f364

loading XCOFF

tsize=10280 dsize=23c bsize=28f5 entry=e00000
SECTIONS:
.text    00e00000 00e00000 00010280 00001000
.pad     00e10274 00e10274 00000d80 00011280
.data    00e11000 00e11000 0000023c 00012000
.bss     00e11240 00e11240 000028f5 00000000
.debug_l 00000000 00000000 00011ac7 0001223c
.debug_s 00000000 00000000 00004f0c 00023d03
.gnu.att 00000000 00000000 00000010 00028c0f
.ident   00000000 00000000 000000ad 00028c1f
.debug_i 00000000 00000000 00022214 00028ccc
.debug_a 00000000 00000000 00007673 0004aee0
.debug_l 00000000 00000000 000143fc 00052553
.debug_a 00000000 00000000 000008e8 0006694f
.debug_r 00000000 00000000 00001049 00067237
.debug_f 00000000 00000000 000027a0 00068280
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.14 (Thu Mar 28 08:33:33 UTC 2024)
>> Open Firmware 3.x
>> Open Firmware running in virtual-mode.
Boot: 
---

The ISO9660/HFS hybrid install ISO contains Apple partition map
and the second entry for NetBSD_bootloader is marked as bootable,
so maybe we have to explicitly specify the third partition as
an HFS (as ISO9660 hybrid) partition where ofwboot.xcf is stored.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index