Solved

Making your own linux boot disk !

Posted on 2003-11-30
5
575 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:toxix
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9847066
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.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9847343
or try to get one from www.bootdisk.com

also have a look here http://www.experts-exchange.com/Operating_Systems/Linux/Q_20809768.html, someone have similar question as yours :-)
0
 

Author Comment

by:toxix
ID: 9863470
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
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 10068514
Usually you set up a Kickstart server and boot clients off eth0. No floppy needed.
0
 
LVL 12

Accepted Solution

by:
paullamhkg earned 150 total points
ID: 10153136
Three disks are needed for Intel based computers: "boot.img" or "bootnet.img", "supp.img", and "modules.img". Choose "boot.img" for local installs (CD-Rom, hard drive) or "bootnet.img" for network installs (NFS, FTP, HTTP). Copy the three images to 1.44 MB floopy disks using: dd if=file.img of=/dev/fd0 bs=72k under Linux or "rawrite.exe" under DOS or Windows.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 17
Install MySQL 5.6 and PHP on Centos Linux 6 103
Oracle 12c patching 1 64
Why isn't object file created? 6 43
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now