On Sun, 2003-06-15 at 03:15, Wolfgang Bornath wrote:
> ** Anne Wilson (Sonntag, 15. Juni 2003 11:28)
> > On Saturday 14 Jun 2003 11:37 pm, James Sparenberg wrote:
> > >
> > > Mine does this on occasion... I have to unmount the floppy then
> > >
> > > mkdosfs /dev/fd0
> > >
> > > then use the tool and suddenly the floppy is the right size... I
> > > don't understand... it just worked.
> >
> > I don't know what causes it, but it's not new.  I had the same
> > problem in 8.2.
> 
> I thought it was related to supermount but I can't remember: was 
> supermount in 8.2 already?
> 
> A related question: Is there a doc somewhere on putting a boot-floppy on 
> CD or IOW: making a special bootable rescue/install CD?
> 
> wobo


Ok,,, now that I've sent a totally blank reply how about one that has
some content.

   I had to do this recently because I needed to update bios on a
motherboard that doesn't have a floppy controler.  (I sent the manf a
little note about, why do they give out a floppy img for BIOS upgrades
to a mobo that can't do floppies, and I got back an ooops reply.) What I
did was this.

Create an empty working directory and cd into it.

dd if=/dev/zero of=file.img bs=1k count=1440 (this creates an image that
we will use to do the bootable CD.)

mkdosfs file.img (or whatever you called it above.)

mount -o loop file.img /mnt/img

Now you have a mounted dos "image" of an empty dos floppy ... to verify
size you can do df -h and you'll see it 1.4 megs in size.

put your bootable floppy in a floppy drive and do 

cp /mnt/floppy/* /mnt/img/

Now your image and floppy are identical.. 

then 

umount /mnt/img (not really needed but ....)

cd  to the directory with file.img and do 

mkisofs -r -b file.img -c boot.cat -o mybootablecd.iso .

Note that the above line ends with a dot ... this is important because
it tells mkisofs to start here.

then just burn mybootablecd.iso to a cd and you are off and running...
you can even put more software than the boot image on the cd just by
adding it to the directory you are in when you boot the cd.  (although
this will require that your boot disk understand what in the heck a
cdrom drive is so that it can be mounted.) 


As for the second.  I've two preferences for rescue disks.

lnxbbc (50 megs with X!) or for heavy work Knoppix.  Don't know of a
single rescue system using anything but debian or slack.. 

James






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to