Click to See Complete Forum and Search --> : Software:Floppy Formatting Error:Mandrake


jrbishop79
09-16-2003, 06:02 PM
I'm having trouble making a Mandrake Boot floppy. But when I run 'mkbootdisk' I get the folowing error:

[root@jrb2 jrbishop]# mkbootdisk -v --device /dev/fd0 2.4.21-0.13mdk
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press <Enter> to continue or ^C to abort:
Formatting /dev/fd0... mkdosfs: /dev/fd0 contains a mounted file system.
Failed to format /dev/fd0

what am I doing wrong and how can I fix it? I'm using Mandrake 9.1

DMR
09-16-2003, 07:36 PM
If the floppy had a valid filesystem on it already, Mandrake might be auto-mounting the disk (via Supermount, perhaps?) when you insert it.

Did you insert the disk prior to running the mkbootdisk program? If so, try waiting until you get the "Insert a disk in /dev/fd0..." message; that might catch it before the system has a chance to automount it. If that doesn't work, try unmounting the floppy before running mkbootdisk.

Satanic Atheist
09-16-2003, 09:45 PM
Following on from DMR, you could try trashing the disk with the dd command and a certain /dev/urandom device...

See - Destructive Fun with Linux (http://www.justlinux.com/forum/showthread.php?s=&threadid=111366) can be useful on times...

You could also try a Live CD... Loads more room and tools...

James

bosox79
09-16-2003, 10:04 PM
if I remeber correctly mandy should allow you to create a boot disk via a gui tool on the first CD. I could be mistaken though:D

JohnT
09-16-2003, 10:21 PM
There used to be a gui in the control panel.....that was in 6.XX:D

jrbishop79
09-17-2003, 12:12 AM
it turns out that al I had to do was unmout the floppy drive, then run the command...

thanks for all your help.

bosox79
09-17-2003, 02:36 AM
Originally posted by JohnT
There used to be a gui in the control panel.....that was in 6.XX:D

Thanks for the clarafication JohnT, it has been awhile since I have used mandrake:D rbishop79 I am glad you were able to make the disk :cool:

DMR
09-17-2003, 03:54 AM
Originally posted by jrbishop79
it turns out that al I had to do was unmout the floppy drive, then run the command... Um, yeah- I believe someone mentioned that...

:p

[SOLVED]

[searching keywords]
mkbootdisk floppy format mount unmount