Subject: Re: 1.6 on ibook from bootable cd.
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 09/29/2002 07:31:08
Dan giving very important questions for making NetBSD dedicated machine
with OF 3 firmware.
(1) You need HFS/HFS+ partition to boot.
It is true there are another trick/effort not to have HFS/HFS+ partition,
but aside from that, this is true.
(2) The size of HFS/HFS+
The minumum size with MacOS 9 boot CDROM/Drive Setup is 32MB.
You may have trick to reduce this size to some extent with pdisk,
but you need at least 819kB to be recognized by hfsutils.
Also HFS standard is recommended for hfsutils operation.
Do not take HFS+ type.
I have no good instruction to create partitions with pdisk though.
(3) Another partition
You need to use MacOS 9 boot CDROM/Drive Setup to create
whole partitions.
/ A/UX Root
swap swap
/usr A/UX user
ofwboot HFS
pdisk may help you manupilating partitions after you have NetBSD
running, but I don't have any good information for that now, sorry.
(4) How to put ofwboot.xcf onto HFS partition.
(4-1) Use MacOS
(a) Have Netatalk (AFS) server and have ofwboot.xcf there.
Boot from MacOS 9 CDROM, and copy ofwboot.xcf from server
(b) Have two CDROM drive attached, and one for MacOS9 to boot,
the other for NetBSD/1.6 ISO to copy ofwboot.xcf
(c) use target mode of Firewire ( if you have ieee 1394 port
and another machine to manipulate)
(4-2) use dd
Have special HFS image with ofwboot.xcf in it, copy it by dd.
This can be done at netbsd-GENERIC_MD.gz stuff.
dd if=/mnt/OF3/ofwboot.xcf-for-dd of=/dev/wd0e bs=64k
The size will be 819kB or more.
The older version of that image is at
ftp://ftp.ki.nu/pub/NetBSD/port-macppc/OF3-installation/ofwboot.xcf-for-dd
(4-3) use hfsutils.
Up until you have ofwboot.xcf on HFS, you may boot using
NetBSD/iso CDROM.
boot cd:,ofwboot.xcf hd:10/netbsd
Then you have multi-user operation on NetBSD,
pkg_add hfsutils
hformat /dev/wd0d
hmount /dev/wd0h
cd /cd/drive0
hcopy ofwboot.xcf :ofwboot.xcf
(assuming you have cdrom on /cd/drive0)
---
Makoto Fujiwara,