floppy images - Re: Tyan S2880 (K8S) /S2885 (K8W) Opteron boards under Linux

Alvin Oga alvin at Mail.Linux-Consulting.com
Mon Nov 10 18:00:12 EST 2003



hi ya glen


On Mon, 10 Nov 2003, Glen Kaukola wrote:

> Mark Hahn wrote:
> 
> >that reminds me: has anyone done the gruntwork to figure out how to run
> >a flash upgrade without a windows-formatted floppy and floppy drive?
> >I'd actually feel fairly sanguine about pxe-booting to a faked floppy
> >image that ran the installer...
> >
> 
> Best I've been able to come up with is turning a floppy image into a 
> bootable cdrom.
> 
>  From one of the little howto's I've made for myself:
> mkdir /tmp/foo
> cp floppy.img /tmp/foo/
> cd /tmp/foo
> mkisofs -J -r -b floppy.img . > /tmp/floppy.iso

if you're trying to do upgrades ... to a faked floppy drive


http://www.linux-consulting/www-linux/Boot/Boot.Loop.txt
	- lots of other booting/installer stuff
	

c ya
alvin

#
# Loopback Device
#
#
# http://burks.brighton.ac.uk/burks/linux/rute/node19.htm
#
#
#
# dd if=/dev/zero of=/dev/ram0 count=1440 bs=1024
#
dd if=/dev/zero of=/tmp/floppy count=1440 bs=1024
#
losetup /dev/loop0 /tmp/floppy
mke2fs /dev/loop0
#
mount /dev/loop0 /mnt/test
#
# copy files to the loopback device ( will go to floppy later ) 
#
#	get a copy of tom's root-boot for sample contents
#	to copy onto your faked floppy version
#	( shows you what files are required 
#
#	- use your minimized kernel and no modules
#
ls -al /mnt/test
#
umount /mnt/test
losetup -d /dev/loop0
#
#
# Now copy the data to the floppy drive
#
# dd if=/dev/ram0 of=/dev/fd0 count=1440 bs=1024
dd if=/tmp/floppy of=/dev/fd0 count=1440 bs=1024
#
# End of file


_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list