Beowulf Aug2010/Installation/PXEboot/Ubuntu
<accesscontrol>teacher</accesscontrol>
Følg guiden her. Har dog ikke fået det til at virke, stopper bare når den skal finde hardware.
Denne er til information: "I've installed hardy server on a dell poweredge 1750--older hardware.
Perhaps you need to initialize your disks via the RAID controller first. Try going into the BIOS (or RAID BIOS Control-S or something similar) and make sure that you have your drives set up the way you want--RAID configuration, hotswap, whatever. Once that is done, then put in the CD and run the "Check CD for errors" to make sure your CD drive can read the entire disk. Server CDROM drives tend to get dirty because of the massive airflow of server machines."[1]
Har også prøvet den her: https://help.ubuntu.com/community/DisklessUbuntuHowto
Og den her: https://help.ubuntu.com/community/Installation/OnNFSDrive
Men det virker ikke helt efter hensigten endnu.
Installation af Lucid der kan boote fra NFS
Opret en folder til installatinen, her har jeg valgt /var/nfsroot
Derpå laver vi en debootstrap med lucid i folderen fra et ubuntu mirror.
debootstrap --arch i386 lucid /var/nfsroot http://mirrors.dotsrc.org/ubuntu/
Tilføj nogle mirrors til den nye installation. Så /var/nfsroot/etc/apt/sources.list ser ca sådan ud.
deb http://mirrors.dotsrc.org/ubuntu/ lucid main restricted deb-src http://mirrors.dotsrc.org/ubuntu/ lucid main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://mirrors.dotsrc.org/ubuntu/ lucid-updates main restricted deb-src http://mirrors.dotsrc.org/ubuntu/ lucid-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://mirrors.dotsrc.org/ubuntu/ lucid universe deb-src http://mirrors.dotsrc.org/ubuntu/ lucid universe deb http://mirrors.dotsrc.org/ubuntu/ lucid-updates universe deb-src http://mirrors.dotsrc.org/ubuntu/ lucid-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://mirrors.dotsrc.org/ubuntu/ lucid multiverse deb-src http://mirrors.dotsrc.org/ubuntu/ lucid multiverse deb http://mirrors.dotsrc.org/ubuntu/ lucid-updates multiverse deb-src http://mirrors.dotsrc.org/ubuntu/ lucid-updates multiverse deb http://security.ubuntu.com/ubuntu lucid-security main restricted deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted deb http://security.ubuntu.com/ubuntu lucid-security universe deb-src http://security.ubuntu.com/ubuntu lucid-security universe deb http://security.ubuntu.com/ubuntu lucid-security multiverse deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
chroot ind i /var/nfsroot
chroot /var/nfsroot
Slå initctl fra imens man arbejder på installationen(Så tjenester ikke starter)
#dpkg-divert --local --rename --add /sbin/initctl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_DK.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Adding `local diversion of /sbin/initctl to /sbin/initctl.distrib' #ln -s /bin/true /sbin/initctl
Opdater installationen
aptitude update aptitude dist-upgrade #Installer kernen aptitude install linux-image-server
Mount proc
mount -t proc proc proc
Ændre i /etc/initramfs-tool/initramfs.conf så BOOT=nfs
Opdater initramfs
update-initramfs -u
så skal iniramfs disken og kernel smides på TFTP og pxe boot filen med:
label ubuntulive menu label Ubuntu Server 10.04 NFS kernel ubuntu/live/vmlinuz-2.6.32-25-generic-pae append root=/dev/nfs initrd=ubuntu/live/initrd.img-2.6.32-25-generic-pae nfsroot=172.16.4.83:/var/nfsroot ip=dhcp rw
System services
Installerne nu gængse services. Bemærk: Installationen booter ikke op til prompt, derfor installeres ssh server så man kan ssh til den.
aptitude install -y openssh-server openmpi-bin openmpi-dev bmon nfs-common