[ltp] Replacing the bios bootsplash?

Joachim Breitner linux-thinkpad@linux-thinkpad.org
Fri, 05 Nov 2004 22:55:06 +0100


Am Freitag, den 05.11.2004, 22:51 +0100 schrieb Ronald Hitz:
> > With dosemu, I could run this executable. But this program unfortunately
> > needs a floppy drive to write to. So we dig into the linux toolbox and
> > find: The loopback device. A dd if=/dev/zero of=/tmp/floppy.bin bs=1024
> > count=1440 creates the floppy file, a losetup /dev/loop0 /tmp/floppy.bin
> > makes it look like a block device, and this block device is what we put
> > in the dosemu configuration as the floppy disk device. Now we can run
> > the extractor and it will happily make /tmp/floppy.bin a floppy image.
> 
> 
> I didn't understand the step:
> ...and this block device is what we put  in the dosemu config. as the
> floppy device.
> 
> What did You do ?
> Which command?

after calling losetup, /dev/loop0 is a kind of alias
for /tmp/floppy.bin.
now put
$_floppy_a = "threeinch:/dev/loop0"
in your dosemu.conf, and you will have access to this virtual floppy
drive in dosemu.

hope that helped,
nomeata
-- 
Joachim "nomeata" Breitner
  mail: mail@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: joachimbreitner@amessage.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata@debian.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html