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 Sun, 14 Jun 2009, Daniel O'Connor wrote: > On Sun, 14 Jun 2009, Daniel O'Connor wrote: > > > I've been meaning to trial it out actually. It sure would be > > > interesting to boot a kernel/mfs off of a DOS bootable FAT USB. > > > > I think you can do it if you makefs /boot and feed it to syslinux > > using memdisk (I plan on trying this today). > > I used Luigi's iso2flash.sh script (the guts thereof) and it worked > fine, ie.. mkdir /tmp/boot > cp -r /boot /tmp/boot > [ fixup /tmp/boot/boot how you like ] > makefs -t ffs -o bsize=4096 -o fsize=512 -f 50 /tmp/boot.img > /tmp/boot bsdlabel -Bw -f /tmp/boot.img auto > bsdlabel -f /tmp/boot.img | sed -e '/ c:/{p;s/c:/a:/;}' | bsdlabel > -R -f /tmp/boot.img /dev/stdin gzip /tmp/boot.img If anyone is interested the attached script will format a USB flash drive, and create the necessary magic to boot off. I think this would be a useful addition to the 'make release' stuff - you can run the script with a install CD directory made by make release and it will give you a USB stick you can install from (you also need to copy the dist files :) I think it would be good to include the image on prebuilt ISOs so you can then get users to use something like unetbootin in Windows to copy the ISO bits onto a USB key. It requires an extra 15Mb of space, not sure if that's a big deal on a CD (should definitely not be on a DVD) The script needs makefs which is in head but not 7.x (easy to build there though). It also needs the sysutils/syslinux port installed. -- 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"