Subject: Re: standalone programs...
To: None <greywolf@captech.com>
From: Andrew Gillham <gillham@andrews.edu>
List: port-sparc
Date: 12/11/1995 21:51:44
Lupis says:
> 
> Indeed.  I wonder what it would take to make a CD-ROM bootable...

>From looking at SunOS CDs, should be pretty easy.  Basically the
first 2048 bytes consist of a SunOS disklabel repeated 4 times.
The label has 4 partitions, the ISO9660, sun4c, sun4m, and sun4
ufs partitions with 1 file. (vmunix)  The MUNIX kernel then
loads the MINIROOT from the rest of the filesystem. (however they
are storing it.)  The ufs partitions were about 18MB if I remember
right.
Anyway, would be a matter of generating a disklabel, and ufs
partitions with the CDROM geometry, and 'installboot'ing the
mess, then writing it to a CD.  The first 32k (xxx seconds) on
an ISO9660 are empty, so there is plenty of room for the disklabel,
and the UFS partitions are shoved in after the ISO9660.
I am hoping to experiment with this when I get some time, and
some CD-R blanks!  Initially I'll use a regular SCSI disk with
bogus geometry..  :)

-Andrew
-- 
============================ Real 32bit multi-tasking UN*X System
Andrew Gillham             | TCP/IP,NFS,PPP,4.4BSD-lite,multi-user
gillham@andrews.edu        | i386,sparc,alpha,mac68k,amiga,others
LAN/WAN/NW/UN*X specialist |   ---> http://www.NetBSD.org <---