About

Information is always Worth to save ...

Monday, July 21, 2008

Ubuntu Installation on Server(Network Boot)


When I started Installing ubuntu8.04 on the server which doesn't have Cd Drive, I followed the steps below.


1.I used Network Boot for that I started DHCP server on my local machine by installing dhcp server(sudo apt-get install dhcp3-server),tftp-hpa server(sudo apt-get install tftpd-hpa).

2.Modified the tftpd-hpa file Vim /etc/defaults/tftpd-hpa to

#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /tftpboot"
3.Mounted the .iso file downloaded from ubuntu website on to the ubuntu directory
sudo mkdir -p /tftpboot/ubuntu
mount -o loop /home/sree/Desktop/ubuntu-8.04.1-server-amd64.iso /tftpboot/ubuntu
4.Modified the dhcp3 server configuration, cp /etc/dhcp3/dcpd.conf /etc/dhcp3/dhcp3.conf.old and vim /etc/dhcp3/dhcpd.conf
ping-check = 10;
filename "/ubuntu/install/netboot/pxelinux.0";
subnet 192.168.15.0
netmask 255.255.255.0
range 192.168.15.50 192.168.15.51;
option routers 192.168.15.254;
default-lease-time 600;
max-lease-time 7200;
5.Restarted the tftp and dhcp server /etc/init.d/tftpd-hpa restart and /etc/init.d/dhcp3-server restart.
6.Rebooted the machine in which i wanted to install Ubuntu server by enabling network boot.and then Installed the server without having any problems.