How To Make Linux Bootable Disk
I am using Red Hat linux9. I want to make a bootable
Floppy disk. How can I do it?
Accessories
You can create a boot floppy with the mkbootdisk command.
--- First open a terminal and type: man dd once you have read that, here is the best discription
i can give you for the command:
dd - this is the actual command, everything else is an argument for the command. if= - if stands for "input file". this is the file or device you are going to "read into" the command. Here you are setting it equal to the first hard disk device on your system. /dev is a directory which contains hardware device names. hda is the first hard drive listed in that /dev directory. this will be the drive which is booting and most likly contains your operating system. so "hd" means hard disk and "a" is its order...if you had two hard disks you may see "hda" and "hdb" in that /dev directory. of= - of stands for "output file" or device. notice you are back in the /dev directory. 3Dave has you calling "fd0". This is the first floppy drive in your system. if you had two floppy drives you may also see "fd1" in the /dev directory. Remeber to put a floppy in the drive before running this command. bs= - bs stands for "block size". the terms block and sector are interchangable, however block is used more widley in the unix/linux world. Here 3Dave is setting it eqaul to 512 (this means 512 kilobytes - the standard size of a single block on a hard drive). count= - count is tells the command how many of these blocks to read, then write. the default is all of them. 3Dave has you reading only the very first one, and writing the very first one to the floppy because that is the area on the disk which contains the neccessary information to boot the operating system located on your hard disk. This area with the neccessary data is known as the "MBR" or "Master Boot Record". --- Probably way to much an over kill explanation, but it was fun. In summary you are reading the boot data and writing it to another source (the floppy). This will only boot the current operating system on that computer. it is not a stand alone linux boot disc running off a floppy. --- FYI: "dd" = "duplicate disk" and can also be used for backups, cloning hard drives, creating boot disks from floppy images etc and basically gives you raw read/write access to drives. --- ...you can also use it to blank your MBR (eg to get rid
of lilo or grub):
--- You will probably find quite a lot of HOWTOs already installed on your PC (usually somewhere under /usr/share/doc/). You can also use apropos and man to find info and manual pages on specific subjects and commands, eg to find out stuff on networking: $ apropos network
$ man ifconfig
Quick Links:
Linux Books
Hints and Tips on: Linux System Administration (c) www.gotothings.com All material on this site is Copyright.
|