Subject: Re: RC4 Release ISO (not hybrid) available
To: Robert Nestor <rnestor@murphy.dyndns.org>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-sparc64
Date: 10/28/2004 18:05:05
On Tue, 2004-10-26 at 08:09, Robert Nestor wrote:
> Brian,
> 
> Besides the updates I noted in the macppc and vax sections I've also 
> found some for Sparc.
> 
> It is possible to use the "-B <file>,<file>,<file>,<file>" option in 
> mkisofs and create a CD that is bootable on the Sparc; one doesn't need 
> to use the mksunbootcd command. However the "-G <file> -B ..." option 
> doesn't appear to work.  Also using mksiofs to put the boot on the CD 
> for the Sparc means you can't create a single CD that is bootable on 
> both macppc and sparc.  Mkisofs complains about conflicts.  However 
> this type of CD can be created using the mksunbootcd command and 
> installing the macppc boot with the posted instructions.

The sparc64 port Makefile magic is still using sunbootcd.sh to
accomplish this.  See the snip-it below.  As per your recommendation
with -B to mkisofs(1), I am off to the lab to test it now.  If it works,
I'll test it with the -rnetbsd-2-0 branch as well.  My local build
machines mksisofs matches the version in pkgsrc, so...

~lava

$ mkisofs -J -l  -r -T -v  -V llManS64C -P "The NetBSD Project" 
-graft-points  -o ~/nbsdManS64C.iso  -B
/home/lavalamp/nbsd/obj-current-sparc64/distrib/sparc64/bootfs/boot.fs,,,, /home/lavalamp/nbsd/rel-current-sparc64
mkisofs 2.0 (i686-pc-linux-gnu)
Scanning /home/lavalamp/nbsd/rel-current-sparc64
Scanning /home/lavalamp/nbsd/rel-current-sparc64/sparc64
Scanning /home/lavalamp/nbsd/rel-current-sparc64/sparc64/binary
Scanning /home/lavalamp/nbsd/rel-current-sparc64/sparc64/binary/sets
Scanning /home/lavalamp/nbsd/rel-current-sparc64/sparc64/binary/kernel
Scanning /home/lavalamp/nbsd/rel-current-sparc64/sparc64/installation
Scanning
/home/lavalamp/nbsd/rel-current-sparc64/sparc64/installation/miniroot
Scanning
/home/lavalamp/nbsd/rel-current-sparc64/sparc64/installation/netboot
Scanning
/home/lavalamp/nbsd/rel-current-sparc64/sparc64/installation/misc
Scanning
/home/lavalamp/nbsd/rel-current-sparc64/sparc64/installation/cdrom
Writing:   Sun Disk Label                          Start Block 0
Done with: Sun Disk Label                          Block(s)    1
Writing:   Initial Padbock                         Start Block 1
Done with: Initial Padbock                         Block(s)    15
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 17
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 18
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 19
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 20
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 24
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 28
Done with: Directory tree                          Block(s)    10
Writing:   Joliet directory tree                   Start Block 38
Done with: Joliet directory tree                   Block(s)    10
Writing:   Directory tree cleanup                  Start Block 48
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 48
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 49
 11.93% done, estimate finish Thu Oct 28 17:25:06 2004
 23.87% done, estimate finish Thu Oct 28 17:25:10 2004
 35.77% done, estimate finish Thu Oct 28 17:25:08 2004
 47.72% done, estimate finish Thu Oct 28 17:25:08 2004
 59.65% done, estimate finish Thu Oct 28 17:25:09 2004
 71.57% done, estimate finish Thu Oct 28 17:25:08 2004
 83.49% done, estimate finish Thu Oct 28 17:25:11 2004
Total translation table size: 2740
Total rockridge attributes bytes: 6575
Total directory bytes: 18432
Path table size(bytes): 144
Done with: The File(s)                             Block(s)    39717
Writing:   Ending pad block                        Start Block 39766
Done with: Ending pad block                        Block(s)    26
Writing:   Sun Boot                                Start Block 39792
Total extents including sparc boot = 41920
Done with: Sun Boot                                Block(s)    2128
Writing:   Ending pad block                        Start Block 41920
Done with: Ending pad block                        Block(s)    16
Max brk space used 15024
41936 extents written (81 Mb)


---------------------------------------------------

Makefile:

rm -f cdrom.pathlist
echo
"sparc64=/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64"
>> cdrom.pathlist
mkdir -p cdrom.dir
mkdir -p
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom
mkisofs 2.0 (i686-pc-linux-gnu)
mkisofs -J -l  -r -T -v  -V NETBSD_SPARC64_29910  -P "The NetBSD
Project"  -m
"/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom" -graft-points -path-list cdrom.pathlist  -o /home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso cdrom.dir
mkisofs 2.0 (i686-pc-linux-gnu)
Scanning cdrom.dir
Scanning /home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/binary
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/binary/sets
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/binary/kernel
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/miniroot
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/netboot
Scanning
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/misc
Excluded by match:
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom
Writing:   Initial Padbock                         Start Block 0
Done with: Initial Padbock                         Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 17
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 18
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 19
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 20
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 24
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 28
Done with: Directory tree                          Block(s)    9
Writing:   Joliet directory tree                   Start Block 37
Done with: Joliet directory tree                   Block(s)    9
Writing:   Directory tree cleanup                  Start Block 46
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 46
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 47
 12.57% done, estimate finish Thu Oct 28 17:06:12 2004
 25.16% done, estimate finish Thu Oct 28 17:06:15 2004
 37.75% done, estimate finish Thu Oct 28 17:06:17 2004
 50.30% done, estimate finish Thu Oct 28 17:06:17 2004
 62.88% done, estimate finish Thu Oct 28 17:06:16 2004
 75.45% done, estimate finish Thu Oct 28 17:06:15 2004
 88.02% done, estimate finish Thu Oct 28 17:06:16 2004
Total translation table size: 2455
Total rockridge attributes bytes: 5893
Total directory bytes: 16384
Path table size(bytes): 130
Done with: The File(s)                             Block(s)    39711
Writing:   Ending pad block                        Start Block 39758
Done with: Ending pad block                        Block(s)    18
Max brk space used 12000
39776 extents written (77 Mb)
SUNLABEL=/home/lavalamp/nbsd/src-current/../tools-current-sparc64/bin/nbsunlabel  sh /home/lavalamp/nbsd/src-current/distrib/common/sunbootcd.sh  /home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso - - - - /home/lavalamp/nbsd/src-current/../obj-current-sparc64/distrib/sparc64/bootfs/boot.fs
fsimage: offset    0, size  249, file
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso
Image 5: offset  249, size   13, file
/home/lavalamp/nbsd/src-current/../obj-current-sparc64/distrib/sparc64/bootfs/boot.fs
    (appending
/home/lavalamp/nbsd/src-current/../obj-current-sparc64/distrib/sparc64/bootfs/boot.fs to /home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso)
Final:   offset    0, size  262, file
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso
CKSUM=/home/lavalamp/nbsd/src-current/../tools-current-sparc64/bin/nbcksum sh /home/lavalamp/nbsd/src-current/distrib/sets/makesums -t /home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom '*.iso'
iso-image created as:
/home/lavalamp/nbsd/src-current/../rel-current-sparc64/sparc64/installation/cdrom/netbsd-sparc64.iso


~lava

> 
> -bob
> 
> On Oct 25, 2004, at 10:17 PM, Brian A. Seklecki wrote:
> 
> > On Sun, 2004-10-24 at 15:30, Chris Tribo wrote:
> >> 	I have an RC4 ISO that will boot old world machines available;
> >> built from sources last night. If there's interest I'll make it
> >> available via HTTP/FTP, bear in mind it weighs in at 89MB.
> >
> > Did that ever happen?  I'd like to test it on an old Powermac we have
> > here.  Also, did you use the src/etc Makefile 'make iso-image' target
> > method, or did you build it manually per...
> >
> > http://www.netbsd.org/Documentation/bootcd.html#macppcimage
> >
> > ...?
> >
> > I'm checking in with different ports to verify the current state of
> > validity of listed instructions.  Unfortunately, sometimes important
> > changes can get lost in the list archives, and I'd like to update the
> > docs before 2.0 is final.
> >
> > Thanks,
> > ~Brian
> >
> > --------------------
> >
> > From: 	Brian A. Seklecki <lavalamp@spiritual-machines.org>
> > To: 	port-vax@netbsd.org
> > Subject: 	Updated VAX Bootable CD-ROM Instructions? (fwd)
> > Date: 	Mon, 25 Oct 2004 22:59:21 -0400	
> > All:
> >
> > Per the message below, in the interest of prudence, I'd like to check 
> > in
> > with other active port maintainers / developers on the same subject;
> > specifically, some of the more exotic(1) ports.
> >
> > With regards to:
> > http://www.netbsd.org/Documentation/bootcd.html#vaximage
> >
> > 1) Are these instructions still valid?
> > 2) Are there any notes / caveats / changes related to the upcoming 2.0
> > release?
> > 3) To help me improve the docs, could someone please send me the
> > script(1) output of the process so that I may include any stdout/stderr
> > message of importance that may be beneficial.
> >
> > 1. Defined as "exotic" if I have haven't had the pleasure of working
> > with due to lack of hardware access. =)
> >
> > Thanks,
> > ~Brian
> >
> > -------
> >
> > [sorry, itchy trigger finger]
> >
> > All:
> >         I'm in the process of trying to merge some of the traditional
> > htdocs
> > *.list HTMl docs into the NetBSD Guide (XML/DocBook) in an attempt to
> > reduce a bit of overlap.  Specifically I'm adding notes regarding the
> > use of the Makefile make iso-image target system in src/etc/ in
> > additional to manual mkisofs(8) generation  -- however, for sgimips,
> > which appears to support this method, boot-cdrom.list references this
> > URL:
> >
> > http://mail-index.NetBSD.org/port-sgimips/2003/06/29/0000.html
> >
> > ...when I convert the port-sgimips instructions, shall I copy this
> > original content verbatim including the URL. should I include the
> > directions contained within that URL, or does someone have updated
> > instructions that they'd like to contribute?
> >
> > I don't see any `04 posts in the list archives related to CD-ROMs...and
> > I don't track port-sgimips very closely.
> >
> > ~lava
> >
> > ------------
> >
> >
> >      From: Christopher SEKIYA <wileyc@rezrov.net>
> >        To:  Brian A. Seklecki <lavalamp@spiritual-machines.org>
> >        Cc:  port-sgimips@netbsd.org
> >   Subject: Re: (2nd Try) Updated Bootable CD-ROM Instructions?
> >      Date: Mon, 25 Oct 2004 08:12:12 +0900
> >
> > On Sun, Oct 24, 2004 at 04:28:41PM -0400, Brian A. Seklecki wrote:
> >
> >> ...when I convert the port-sgimips instructions, shall I copy this
> >> original content verbatim including the URL. should I include the
> >> directions contained within that URL, or does someone have updated
> >> instructions that they'd like to contribute?
> >
> > That URL (and the instructions therein) are obsolete.
> >
> > NetBSD/sgimips uses the make iso-image method; the boot procedure is
> > documented in the INSTALL doc.
> >
> > -- Chris
> >
>