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

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



hi again

ooppss  ( fixing the i dont have a drive at the bootom )

On Mon, 10 Nov 2003, Alvin Oga wrote:

> > 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

  dd if=/tmp/floppy of=/tmp/initrd.fakefloppy count=14440 bs=1024
  gzip /tmp/initrd.fakefloppy

  #
  # your new boot stuff
  #
  cp /tmp/initrd.fakefloppy.gz /boot
  #
  # - look mahh, no /dev/fd0  :-)
  #

> #
> # 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
> 

_______________________________________________
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