Tuesday, September 15, 2009

Creating Boot CD or USB

Ok friends now in my last two posts you might have seen how to create NFS and FTP Installation servers. If not seen then please go to my previous posts and check the same. Now, once you are ready with the Server setups, let's check what else do we need to install Linux via network. Now you need to configure your computer(where you want to install Linux) with network either through DHCP or Static Ip address of your network. 
But wait before doing any further process first thing is to boot your system with CD/DVD or USB and then we will go further for network installation. So, first of all let me show you how to create installation USB Key or CD. Its very easy to do so.

You need to have a first Installation CD/DVD, in the same we have a
directory called Images in which we have two files
1.    diskboot.img    For a boot USB Key
2.    boot.iso           For a boot CD


Even if you have any running Linux system, you can also create the same from that PC also.
Now, Let's see how to create a bootable CD or USB:

Creating a Boot USB Key
------------------------------------

First insert USB into your system. Run fdisk -l command to find the logical device alias with your USB. Here, let us assume it is /dev/sdb, now run the following command:

# dd if=/media/disk/images/diskboot.img   of=/dev/sdb

here, make a note that if(InputFile) is the path where your Installation CD is mounted in your system.

Creating a Bootable CD
----------------------------

Here i am assuming that you don't have two CD drives in your system. So, first insert First Installation Disk and copy the boot.iso file from Images folder to anywhere on your system. Let's say you copied it to /tmp directory. Now, burn the CD with following command:

# cdrecord dev=/dev/hdc -v eject /tmp/boot.iso

Here the command may vary based on the CD Drive's logical name associated in your System.

So, that's all now you are ready with your Installation Disk with which you can start Installing Linux. Step by Step Installation guide i will show you in my next Post.

No comments:

Post a Comment