Linux Today: Linux News On Internet Time.

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

Apr 10, 2000, 12:58 (2 Talkback[s])
(Other stories by Tcrompton)

[ 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

Related Stories: