9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: George Michaelson <ggm@apnic.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] new bootstrap structure
Date: Wed, 14 Nov 2001 09:48:44 +1000	[thread overview]
Message-ID: <25787.1005695324@apnic.net> (raw)
In-Reply-To: Your message of "Tue, 13 Nov 2001 18:40:08 -0500." <20011113234030.E5B8319A4A@mail.cse.psu.edu>


As I understand it, the El-Torrito method used by BSD releases
depends on a facet of the CD standard which lets the CD act as
a 2.88Mb floppy via a CD-FS pointer to a specific file in the
real IS09660 CD dataset.

This file is usually exposed in the FS as a <imagename>.flp file
so you can in BSD terms mount it as a virtual device and look in
it.

More to the point, you can write it (or more plausibly the 1.44mb
variants) to a floppy via  rawrite command, from a mounted CD in
any operating system which reads ISO9660 format CDs.

So the kit doesn't need to ship a floppy, it just needs to expose
the file which is the boot image, or a variant of it, and tell
the user to mount the CD in Windows, and use a rawriter method
to copy the boot image to a floppy, and then reboot off that floppy.

in the FreeBSD releases, this is the dataset /floppies in the root of
the CD.

I used this to cut my own FreeBSD install image, which required making
floppy images, copying to /tmp, vnconfig mounting as virtual devices,
copying the kernel, then writing into the kernel image the memory-mapped
FS image of the root with the modified sysinstall script, then writing
the modified kernel back to the vnconfig mount of the floppy image, then
re-making the .ISO image with that floppy .flp file as the boot disk
pointer, and burning to CD. I know it sounds tortuous but each stage was
rational, and simple.

I am sure a Plan9 install modification process would be simpler btw.

cheers
	-George


  reply	other threads:[~2001-11-13 23:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13 23:40 anothy
2001-11-13 23:48 ` George Michaelson [this message]
2001-11-14 16:33 ` Jason Gurtz
2001-11-14 19:40   ` plan9

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25787.1005695324@apnic.net \
    --to=ggm@apnic.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).