Search the web
Sign In
New User? Sign Up
lucknow-lug · Uttar Pradesh Linux Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Network Installation Tutorial   Message List  
Reply | Forward Message #169 of 247 |
I am writing this small tutorial for Installing Linux on network since
I had a lot of pain to do so so I wish some one might benefit from it
I have taken Open Suse 10.2
but the steps would rather be same for most of the distributions
including windows which can be installed on a network


-----------------------------------------------------------------------


depending on the boot sequence configured in the computer's BIOS
The Preboot Execution Environment (in short PXE) is a protocol that
enables a computer to be booted on the network.
PXE is saved in ROM on newer network cards some cheap boards do not
support it ,
so before you do all this just check wether your board is capable of
booting on LAN

To Start with you need

* PXE boot capable machine
* SUSE DVD or CD or ISO files.
o dhcp-
o tftp - to share the boot image
o syslinux - to supply the boot image (pxelinux.0)

The above said are for all the linux or windows distributions


Following commands are to check the TFTP DHCP and NFS in Suse

o yast2-tftp-server - Graphical configurator for a TFTP server
o yast2-dhcp-server - Graphical configurator for a DHCP server
o yast2-nfs-server - Graphical configurator for a NFS server.


--------------------------------------------------------------------------------\
-----------------
In case you don't have syslinux go to software management and install
it from your DVD in case of CD it will tell u appropriate CD to use

before doing all this just check that
DHCP
TFTP
NFS
are installed on your machine

-----------------------------------------------
You will also tell PXELINUX to boot the linux kernel we will copy from
the openSUSE 10.2 DVD.
in case u dont have a TFTP directory in / then make it and then issue
following command
cp /usr/share/syslinux/pxelinux.0 /tftpboot

then from Suse 10.2 DVD or first CD u can copy kernel images to boot from
cp /media/SU1020.001/boot/i386/loader/initrd /tftpboot/
cp /media/SU1020.001/boot/i386/loader/linux /tftpboot/

Then
mkdir /tftpboot/pxelinux.cfg
cd /tftpboot/pxelinux.cfg
touch default
chmod 777 default
-----------------------------------------------------------------
The boot configuration in the file default should be as follows:


default linux
label linux
kernel linux
append initrd=initrd install=nfs://IP Of SUSE TFTP SERVER/media/SU1020.001
implicit 0
display message
prompt 1
timeout 1


Note in above files I have used /media/SUSE1020.001
you need the DVD inside the DVDROM for this in case you know how to
mount the ISO
you can replace with your own installation directory skip the next
step if you dont know how to mount an ISO

Skip the following step if you are first time doing network boot
----------------------------------------------------------------
mount -t iso9660
/windows/E/openSUSE-10.2-GM-DVD-i386-iso/openSUSE-10.2-GM-DVD-i386.iso
/install -o loop

where /install is the directory where you want to mount the ISO image and
then go to NFS server settings share this /install ( int this the ISO
is already mounted you can check that)
then go to /tftpboot/pxelinux.cfg/default and here change the entry
install=nfs://IP of ur TFTP server/directory that has your ISO
mounted/ (Note / at last is required

and then also you can boot this is a general process
to create your own boot menu i.e.
to install Fedora Core 5 ,Debian,Windows at the same time on different
machines a file called boot.msg can be created and appropriate changes
can be done but that is so confusing that I am not mentioning here
--------------------------------------------------------------------------------\
----------





but with this configuration the dhcp server won't know about the
existence of the tftp server, so we have to add 2 the next-server and
filename options. Finally the configuration should look like this:
configure the DHCP and add the following lines in it

next-server IP of TFTP server;
filename "pxelinux.0"

option domain-name ;
mydomainname;;
ddns-update-style none;
default-lease-time 14400;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.254;
default-lease-time 14400;
max-lease-time 172800;
next-server 192.168.0.1;
filename "pxelinux.0";
}




Thu Sep 6, 2007 5:28 am

etapas2000
Offline Offline
Send Email Send Email

Forward
Message #169 of 247 |
Expand Messages Author Sort by Date

I am writing this small tutorial for Installing Linux on network since I had a lot of pain to do so so I wish some one might benefit from it I have taken Open...
etapas2000
Offline Send Email
Sep 6, 2007
5:29 am

... Nice work, I would surely give a try very soon. There are other methods too if you want to do a network installation of any linux/FreeBSD distribution. ...
anujsingh_1
Offline
Feb 9, 2008
7:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help