Subject: port-macppc/37389: Is NetBSD/macppc NetBSD-4.0_RC4 iso image bootable?
To: None <port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: netbsd-bugs
Date: 11/15/2007 17:00:01
>Number:         37389
>Category:       port-macppc
>Synopsis:       Is NetBSD/macppc NetBSD-4.0_RC4 iso image bootable?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 15 17:00:00 +0000 2007
>Originator:     ISIHARA Takanori
>Release:        NetBSD/amd64 4.0_RC4
>Organization:
Nagoya *BSD Users' Group ;-)
>Environment:
NetBSD ishitPc6.home 4.0_RC4 NetBSD 4.0_RC4 (ISHITPC6) #0: Wed Nov 14 23:55:13 JST 2007  sysbuild@ishitPc6.home:/opt/sysbuild/netbsd-4/obj/amd64/sys/arch/amd64/compile/ISHITPC6 amd64
>Description:
I made NetBSD 4.0_RC4 iso image from netbsd-4 src on NetBSD/amd64.
I burn iso image to CD-R.
But my macintosh can not boot from CD-R.

http://www.NetBSD.org/docs/bootcd.html#macppcimage page said,

  Make sure your /cdsources/ has ofwboot.xcf (the macppc bootloader) and 
  a kernel (we suggest netbsd.GENERIC_MD, the
  ramdisk-based install kernel that supports all models).
  
  cd /cdsources
  cp macppc/binary/kernel/netbsd-GENERIC_MD.gz netbsd.macppc
  cp macppc/installation/ofwboot.xcf .

But, I execute ls -al at iso image top level dir, I can not found kernel and bootloader.

   sudo vnconfig vnd0 /opt/sysbuild/netbsd-4/release/iso/macppccd.iso
   sudo mount -t cd9660 /dev/vnd0a /mnt
   cd /mnt
   ls -al
   total 6
   drwxrwxr-x   3 sysbuild  1310790  2048 Jan  1  1970 ./
   drwxr-xr-x  28 root      wheel    1024 Nov 14 10:24 ../
   drwxr-xr-x   4 sysbuild  wsrc     2048 Nov 15 11:35 macppc/

Is NetBSD/macppc netbsd-4 iso-image bootable?

(I read macppc/README.txt and I understand, iso-image is bootable.)


I am Sorry my broken english.

>How-To-Repeat:
checkout netbsd-4 src.

cd (checkout src dir)
./build.sh -m macppc release
./build.sh -m macppc iso-image

>Fix: