PDA

View Full Version : "fd0 not a block device"


Alan
2006-05-28, 06:03 PM CDT
I'm trying to make a boot disk because I' still having problems with grub. I put in a floppy fomatted it and ran mkbootdisk here's the results

[root@localhost ~]# mkbootdisk --device /dev/fd0 2.6.15-1.2054_FC5
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.aK2784/vmlinuz': No space left on device
cp: writing `/tmp/mkbootdisk.aK2784/initrd.img': No space left on device
cat: write error: No space left on device
cat: write error: No space left on device
[root@localhost ~]#

So...Where did I go wrong

jbannon
2006-05-28, 06:13 PM CDT
According to the man page you've done nothing wrong. Try using --verbose to see if that gives you the sizes of the files being copied.

Alan
2006-05-29, 10:25 AM CDT
Hi Jim
"--verbose' gave more details...sorta. Here's the output

[root@localhost ~]# mkbootdisk --verbose --device /dev/fd0 2.6.15-1.2054_FC5
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press <Enter> to continue or ^C to abort:
Formatting /tmp/mkbootdisk.uh2682... done.
Copying /boot/vmlinuz-2.6.15-1.2054_FC5... cp: writing `/tmp/mkbootdisk.sS2674/vmlinuz': No space left on device
done.
Copying /boot/initrd-2.6.15-1.2054_FC5.img... cp: writing `/tmp/mkbootdisk.sS2674/initrd.img': No space left on device
done.
Configuring bootloader... cat: write error: No space left on device
cat: write error: No space left on device
done.
[root@localhost ~]#

jbannon
2006-05-29, 11:06 AM CDT
Well, having had a look at the size of the kernel image in /boot it is little wonder that a 1.44MB floppy is running out of disk space! Must either be a bug in mkbootdisk itself or else you must have to prepare a minimal kernel and initrd first before running the program. I looked at the man page again but couldn't find anything to indicate that it was capable of spanning across multiple floppies. One other method might be to use the --iso flag and then burn the result to a CD.