Link to home
Start Free TrialLog in
Avatar of toxix
toxix

asked on

Making your own linux boot disk !

Hi everybody ! How can i make the most simple boot disk just to able to boot the computer ? What i want is to be able to have the equivalent of a dos boot disk ? I know there is a lot of info out there but it's to fragmented  for me .So if someone can tell me all the steps in a clearer manner i will be more than happy

Thank U all
Toxixtones
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

You need two things for a Linux bootdisk that does not just boot your Linux installation on a hard disk: The Linux kernel, and a root file system. If you want to do anything with this disk, you need some programs on the root file system. Because the Linux kernel is not that small anymore, it's very unlikely that you can create one from scratch (without a lot of experience) that can do anything.

If you just want to boot the Linux installation on your hard disk, you can write the kernel image to a floppy disk. If e.g. your kernel is /boot/vmlinuz run the following command:
dd if=/boot/vmlinuz of=/dev/fd0

If you really want to learn how to create a (useful) boot disk, you should take a look at some of the floppy disk Linux systems (or small Linux systems in general). Here are some links:

http://bengross.com/smallunix.html
http://www.icewalkers.com/Linux/Software/512350/RIP.html
http://www.linuxlinks.com/Distributions/Floppy/

I've done this myself a number of years ago (http://www.khk.net/lods/). It's fun, and you learn a lot about how things need to be packaged.

Have fun.
Avatar of paullamhkg
paullamhkg

or try to get one from www.bootdisk.com

also have a look here https://www.experts-exchange.com/questions/20809768/How-to-make-boot-disk-but-not-in-Linux.html, someone have similar question as yours :-)
Avatar of toxix

ASKER

Hi guys thanks for the info ! i need to specify something.The goal of my question is i want to learn how to make a floppy that will be able to log to an ftp server and then from there start an installation of let say Redhat... I really want to know all the mecanics under the hood !

thanks again guys

Toxix
Avatar of Duncan Roe
Usually you set up a Kickstart server and boot clients off eth0. No floppy needed.
ASKER CERTIFIED SOLUTION
Avatar of paullamhkg
paullamhkg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial