Subject: Re: Creating ISO CD ...
To: None <port-macppc@NetBSD.org>
From: KlinT <klint@klintcentral.net>
List: port-macppc
Date: 10/07/2006 09:39:10
I still have a problem ...


Here are the logs :

root@athlon64:/sata2/SCRIPTS # ./make_iso_ppc.sh
VERSION 4.99.3
ARCH macppc
TOP /sata2/BUILD/release.macppc/macppc
CDROM_UTIL: /sata2/BUILD/src/distrib/cdrom

# mkisofs -o NetBSD-4.99.3_macppc_20061007.iso -hfs -part -map /sata2/=20=

BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc -boot-hfs-=20
file /sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs/macppcboot.raw -=20
l -J -r -L /sata2/BUILD/release.macppc

mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
   2.01% done, estimate finish Sat Oct  7 09:35:23 2006
   4.01% done, estimate finish Sat Oct  7 09:35:23 2006
   6.02% done, estimate finish Sat Oct  7 09:35:23 2006
   8.02% done, estimate finish Sat Oct  7 09:35:35 2006
10.02% done, estimate finish Sat Oct  7 09:35:32 2006
12.03% done, estimate finish Sat Oct  7 09:35:31 2006
14.03% done, estimate finish Sat Oct  7 09:35:37 2006
16.03% done, estimate finish Sat Oct  7 09:35:35 2006
18.04% done, estimate finish Sat Oct  7 09:35:34 2006
20.04% done, estimate finish Sat Oct  7 09:35:32 2006
22.04% done, estimate finish Sat Oct  7 09:35:32 2006
24.05% done, estimate finish Sat Oct  7 09:35:31 2006
26.05% done, estimate finish Sat Oct  7 09:35:34 2006
28.06% done, estimate finish Sat Oct  7 09:35:33 2006
30.06% done, estimate finish Sat Oct  7 09:35:32 2006
32.06% done, estimate finish Sat Oct  7 09:35:32 2006
34.07% done, estimate finish Sat Oct  7 09:35:34 2006
36.07% done, estimate finish Sat Oct  7 09:35:34 2006
38.07% done, estimate finish Sat Oct  7 09:35:33 2006
40.08% done, estimate finish Sat Oct  7 09:35:32 2006
42.08% done, estimate finish Sat Oct  7 09:35:32 2006
44.08% done, estimate finish Sat Oct  7 09:35:32 2006
46.09% done, estimate finish Sat Oct  7 09:35:33 2006
48.09% done, estimate finish Sat Oct  7 09:35:33 2006
50.10% done, estimate finish Sat Oct  7 09:35:32 2006
52.10% done, estimate finish Sat Oct  7 09:35:32 2006
54.10% done, estimate finish Sat Oct  7 09:35:32 2006
56.11% done, estimate finish Sat Oct  7 09:35:31 2006
58.11% done, estimate finish Sat Oct  7 09:35:33 2006
60.12% done, estimate finish Sat Oct  7 09:35:32 2006
62.12% done, estimate finish Sat Oct  7 09:35:32 2006
64.13% done, estimate finish Sat Oct  7 09:35:32 2006
66.13% done, estimate finish Sat Oct  7 09:35:33 2006
68.13% done, estimate finish Sat Oct  7 09:35:33 2006
70.13% done, estimate finish Sat Oct  7 09:35:32 2006
72.14% done, estimate finish Sat Oct  7 09:35:32 2006
74.14% done, estimate finish Sat Oct  7 09:35:32 2006
76.14% done, estimate finish Sat Oct  7 09:35:32 2006
78.15% done, estimate finish Sat Oct  7 09:35:31 2006
80.15% done, estimate finish Sat Oct  7 09:35:32 2006
82.16% done, estimate finish Sat Oct  7 09:35:32 2006
84.16% done, estimate finish Sat Oct  7 09:35:32 2006
86.17% done, estimate finish Sat Oct  7 09:35:32 2006
88.17% done, estimate finish Sat Oct  7 09:35:33 2006
90.17% done, estimate finish Sat Oct  7 09:35:32 2006
92.17% done, estimate finish Sat Oct  7 09:35:32 2006
94.18% done, estimate finish Sat Oct  7 09:35:32 2006
96.19% done, estimate finish Sat Oct  7 09:35:32 2006
Total extents actually written (inc HFS) =3D 249381
(Size of ISO volume =3D 243240, HFS extra =3D 6141)
Total translation table size: 0
Total rockridge attributes bytes: 7110
Total directory bytes: 22528
Path table size(bytes): 152
Max brk space used c33324
249531 extents written (487 MB)

# /sata2/BUILD/src/distrib/cdrom/macppc_installboot/=20
macppc_installboot NetBSD-4.99.3_macppc_20061007.iso 998124 756

macppc_installboot: Opening primary bootstrap `998124': No such file =20
or directory

# dd if=3D/sata2/BUILD/dest.macppc/usr/mdec/ofwboot bs=3D64k count=3D1 =20=

conv=3Dsync >> NetBSD-4.99.3_macppc_20061007.iso
0+1 records in
1+0 records out
65536 bytes transferred in 0.282 secs (232397 bytes/sec)

Any ideas are welcome :D

Best Regards


Le 7 oct. 06 =E0 09:26, KlinT a =E9crit :

> I guess I've found the answer :
>
>
> # cd /sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs
> # make
>
> This produce the following file : macppc_mkboothfs
>
> # ./macppc_mkboothfs macppcboot.raw
>
> Then run the MKISOFS command as usual, using this new =20
> MACPPCBOOT.RAW file with the -boot-hfs-file option :
>
> # cd /sata2/BUILD/release.macppc
> # mkisofs -o NetBSD-4.99.3_macppc_20061007.iso -hfs -part -map /=20
> sata2/BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc -boot-=20
> hfs-file /sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs/=20
> macppcboot.raw -l -J -r -L /sata2/BUILD/release.macppc
>
> Seems to produce a valid iso image ...
>
> can somebody tell me if I'm right ?
>
> Best regards
>