---

LinuxNewbie.org: How do I create a boot disk in Linux?

[ Thanks to Sensei
for this link. ]

“Like everything in Linux, there’s more then one way to do
it. I’ll describe the two more popular ways.”

“First locate the kernel image you are currently using. If you
use LILO, have a look at the /etc/lilo.conf file. … The “image=”
option indicates which kernel image you’re using.”

“Method #1, the “dd” command
Now we’ll use the “dd” command to copy the kernel image to a floppy
disk. Insert the floppy disk prior to entering the “dd” command,
but don’t mount it. “dd” needs to write raw data to the disk, which
is not possible if you mount the drive. …”

“Method #2, the “mkbootdisk” command
“mkbootdisk” needs to know the version of your kernel. In this
example, the version is “2.2.14-15mdk”, which is just the last part
of “vmlinuz-2.2.14-15mdk”. If your kernel doesn’t have any version
information in the filename, pick the latest kernel version from
the “/lib/modules” directory. …”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis