Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] making boot floppy 'no space left'


Effectively the mkbootdisk command builds the image in temp disk space then uses 'dd' (or cp?) to write to the floppy device. If either there's not enough space in /tmp or the floppy isn't formatted ok you're going to have problems. If /tmp is full firstly try deleting stuff then try creating /home/tmp with same permissions then "mv /tmp /tmp.old; ln -s /home/tmp /tmp" You're probably going to need at least half a meg of temp space before it does the compression.

It looks more like the target system didn't have enough space. This usually means the floppy needs reformatting. "man fdformat" eg: "fdformat /dev/fd0H1440" - frequently I find failures because a) the floppy drive is old/dirty/disused and secondly the media has been laying around gathering dust. Before you start, flip the drive door open and blow air into it to dislodge dust. Manually inspect the media for crap inside the jacket - it can damage the drive too.

Did I mention I hate floppy drives?

On Thu, 21 Dec 2006, Voytek Eymont wrote:

I'm tryying to make a boot floppy on 1.44 media, I get: 'no space'

is that space on floppy ? where am I going wrong ?

# mkbootdisk --device /dev/fd0 2.6.9-42.0.3.EL
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press <Enter> to continue or ^C to abort:
cp: writing `/tmp/mkbootdisk.sR3853/vmlinuz': No space left on device
cp: writing `/tmp/mkbootdisk.sR3853/initrd.img': No space left on device
cat: write error: No space left on device
cat: write error: No space left on device
20+0 records in
20+0 records out

# df | grep /tmp
                      1064312     37060    973188   4% /tmp

# ls -al /tmp
total 2968
drwxrwxrwt   7 root root    4096 Dec 21 12:48 .
drwxr-xr-x  24 root root    4096 Dec 21 12:13 ..
drwxrwxrwt   2 root root    4096 Dec 21 12:14 .font-unix
drwxrwxrwt   2 root root    4096 Dec 21 12:13 .ICE-unix
drwx------   2 root root   16384 Dec 19 23:36 lost+found
drwx------   2 root root    4096 Dec 21 12:40 mc-root
-rw-------   1 root root 1474560 Dec 21 12:48 mkbootdisk.di3864
drwx------   2 root root    4096 Dec 21 12:38 mkbootdisk.JY3692
-rw-------   1 root root 1474560 Dec 21 12:42 mkbootdisk.tO3735
-rw-------   1 root root    1024 Dec 19 23:52 .rnd




--
---<GRiP>---
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au