WARNING: This e-mail has been altered by MIMEDefang.  Following this
paragraph are indications of the actual changes made.  For more
information about your site's MIMEDefang policy, contact
Postmaster <postmas...@gsoft.com.au>.  For more information about MIMEDefang, 
see:

            http://www.roaringpenguin.com/mimedefang/enduser.php3

An attachment named makeusb.sh was removed from this document as it
constituted a security hazard.  If you require this document, please contact
the sender and arrange an alternate means of receiving it.

On Thu, 7 Jan 2010, Ian Smith wrote:
> trying to figure out how 8.0-RELEASE-i386-memstick.img was made, with
> a view to, well, knowing how it's done, so perhaps I could do some
> more.
>
> I've been studying release(7) and src/release/* for a while now, over
> a few releases.  I've learned a lot, and while there's plenty I've
> skimmed over the finer detail, I have some sort of grip on how
> floppy, cdrom and dvd ISOs are made, but can't see how the memstick
> images were generated.
>
> Are there some pointers somewhere to the particular recipe used?

I'm not sure about _the_ way, but _a_ way is to use makefs to create an 
image of /boot from the CD/DVD and then use syslinux to make it 
bootable.

See the attached script, you run it like so..
/tmp/makeusb.sh /tmp/7.2-release/R/cdrom/dvd1 /dev/da1

(it will destroy /dev/da1, so be careful :)

It requires the sysutils/syslinux port be installed to work.

Once it's done copy /tmp/7.2-release/R/cdrom/dvd1/7.2-STABLE to the USB 
stick.

Now you should be able to boot off the stick and install from a DOS 
device (ie the memory stick).

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to