Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####
- # Howto unattended install ubuntu server LTS 10.4.2
- # Written by Karl Kloppenborg
- # For Crucial Paradigm and Damien what's-es-face.
- # Copyright 2011 - ~ - Karl Kloppenborg
- # notes, I am doing this on CENTOS5.5
- 1) gewt a copy of the disk: ubuntu-10.04.2-server-i386.iso
- I got mine from:
- wget http://mirror.internode.on.net/pub/ubuntu/releases/10.04/ubuntu-10.04.2-server-i386.iso
- ...store this in /root because that's an awesome place.
- 2) Now we mount the disk to mnt
- mount -o loop /root/ubuntu-10.04.2-server-i386.iso /mnt
- 3) Now we will configure the webserver (or if your me this is one I prepared earlier ;0 )
- yum -y install httpd
- default location of www is /var/www/html
- 4) so make a directory to serve this ubuntu stuff from:
- mkdir /var/www/html/ubuntu
- 5) Now move everthing into the ubuntu directory, so from inside /mnt issue this:
- cp -R * /var/www/html/ubuntu
- Should buzz around for a while with flashy lights -- this is to be expected.
- now start httpd;
- service httpd start
- Now, assuming you've setup tftp and its verified working, do the following:
- I have setup the following as my TFTP directory: /data/tftpboot/
- 6) Create the directory ubuntu inside this:
- mkdir /data/tftpboot/ubuntu
- 7) now in the /mnt do the following:
- cd install/netboot/
- 8) copy this contents to the tftp dir
- cp -R * /data/tftpboot/ubuntu
- now assuming you have already configured DHCPD and its verified working you should be pointing senor computor, to the right pxelinux.0
- 9) edit dhcpd.conf in /etc/
- make sure you add:
- next-server 10.255.0.1;
- filename "ubuntu/pxelinux.0";
- obviously adjust the configuration of next-server to suit your IP of tftpd location.... ;P
- now restart dhcpd and verify you didn't break config.
- 10) now edit /data/tftpboot/ubuntu/pxelinux.cfg/default... delete what ever was in there and add:
- ---------------------
- default install
- label install
- menu label ^Install
- menu default
- kernel ubuntu-installer/i386/linux
- append ramdisk_size=14984 locale=en_US console-setup/ask_detect=false console-setup/layoutcode=us netcfg/choose_interface=eth1 netcfg/get_hostname=testserver url=http://10.255.0.1/ubuntu-preseeds/preseed.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet
- ---------------------
- Note that append should be entirely one line, this stupid pastebin is just ruining my good work ;)
- Boot and enjoy ;)
- (Don't forget your preseed file I gave you Damien :p )
- Cheers,
- Karl Kloppenborg.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement