Debian Linux boot disk creation

Posted on in Categories last updated April 10, 2006

Under Debian Linux use mkboot command that makes a bootdisk. mkboot only works on floppy disk drive. By default the bootdisk will use the kernel /vmlinuz and the current root partition. Use the -r option to specify a different partition, and provide the new kernel file directly to specify a different kernel. Use the -d option to specify a different device for the floppy drive.

To create a boot disk of the kernel /vmlinuz:
See kernel version (soft link):

# ls –l /vmlinuz
# mkboot

Output:

Insert a floppy diskette into your boot drive, and press .

To use second floppy drive /dev/fd1:

# mkboot -d /dev/fd1

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment