On Wed, Nov 02, 2011 at 11:01:03PM +0900, Joel Rees wrote: > FWIW -- > > On Wed, 2 Nov 2011 09:12:10 +0100 > Otto Moerbeek <o...@drijf.net> wrote: > > > Op 2 nov. 2011 om 08:34 heeft cbsol...@gmail.com het volgende geschreven: > > > > > Hello openBSD ppc mail list, > > > > > > I tried installing OpenBSD on my mac powerbook 1 ghz. I am running OS X > > > 10.5.8. > > > > > > My internal DVD super drive is broken, so I tried installing via > > > external firewire DVD. This did not work. I then tried to install via > > > a lacie external usb optical disk drive, this too failed. I then placed > > > > How did those installs fail? > > > > > ofwboot and bsd.rd in / of my OSX volume. My volumes looked like this: > > > > > > /dev/disk0 > > > #: TYPE NAME SIZE IDENTIFIER > > > 0: Apple_partition_scheme *149.1 Gi disk0 > > > 1: Apple_partition_map 31.5 Ki disk0s1 > > > 2: Apple_HFS OSX 40.0 Gi disk0s3 > > > 3: Apple_HFS Data 98.3 Gi disk0s5 > > > 4: Apple_HFS BSD 10.4 Gi disk0s7 > > > > > > I also tried this entire process with the BSD slice befor the Data > > > slice, that is BSD would be disk0s5 and Data would be disk0s7, but this > > > failed as well > > > > > > I rebooted held opt-cmd-o-f and started in openfirmware. At the open > > > firmware prompt I typed boot hd:,ofwboot bsd.rd. I got the following > > > message. > > > > > > Note: I broke the following lines with \ to read easier in the email. > > > > > > / ok > > > 0 > boot hd:,ofwboot bsd.rd load-size=fe28 adler32=d93e276c > > > > > > Loading ELF > > >>> OpenBSD/macppc BOOT 1.1 > > > /pci@f4000000/ata-6@d/disk@0:/etc/boot.conf: line too long > > > boot> > > > booting /pci@f4000000/ata-6@d/disk@0:bsd.rd: \ > > > /pci@f4000000/ata-6@d/disk@0:bsd.rd > > > Inappropriate file type or format > > > failed(79) will try /bsd > > > boot> > > > booting /pci@f4000000/ata-6@d/disk@0:/bsd: \ > > > /pci@f4000000/ata-6@d/disk@0:bsd > > > Inappropriate file type or format > > > failed(79) will try /bsd > > > Turning timeout off. > > > > > > Does anyone have any idea why I am getting this error? > > > > > > Afaik, ofwboot only supports booting from hfs, not from hfs+. I suppose that > > is your problem here. > > > > -Otto > > > > I've been booting 4.8 through ofwboot from an HFS+ volume, no problem. > > (Will try to confirm 5.0 tomorrow or this weekend.) > > -- > Joel Rees <joel_r...@sannet.ne.jp>
Did some tests. Results so far: booting ofwboot and kernel from HFS+ is indeed busted 4.1 ofwboot + 5.0 bsd.rd DOES boot 4.2 - 5.0 ofwboot do not work Loading ofwboot itself does work, only loading the kernel fails. A (theoretical) workaround is to use the 4.1 ofwboot + 5.0 bsd.rd, install and then copy the 5.0 ofwboot to the HFS+ volume. The moment an OpenBSD partition exists, ofwboot (itself loaded from HFS+) will load the kernel from that OpenBSD partition. That's the reason this bug has existed for so long. Lemme try the ofwboot 4.1 workaround... [some time passes]... Indeed, that works! The moment an OpenBSD partition exists ofwboot (both 4.1 and 5.0) will load a kernel from there. -Otto