Difference between revisions of "Cluster der kan alt/PXE installation af noder"

From Teknologisk videncenter
Jump to: navigation, search
m
Line 9: Line 9:
 
==Netinstaller==
 
==Netinstaller==
  
 +
Hvis du vil hente en Ubuntu 12.04.1 LTS (Precise Pangolin) brug dette link <br/><br/>
 
Hent og installer pxelinux til tftp roden:  
 
Hent og installer pxelinux til tftp roden:  
 
<source lang=cli>
 
<source lang=cli>
 
cd /var/lib/tftpboot/
 
cd /var/lib/tftpboot/
wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/netboot.tar.gz
+
wget http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/netboot.tar.gz
 
tar -xvzf netboot.tar.gz
 
tar -xvzf netboot.tar.gz
 
</source>
 
</source>

Revision as of 09:31, 15 November 2012

For at anvende PXE skal der først installeres en TFTP server. Anvend for eksempel tftp-hpa Installation af PXE se Weekend_Projekt_-_Test_Cluster#PXE_netinstaller

aptitude install tftpd-hpa

PXE Installation af Noder

Netinstaller

Hvis du vil hente en Ubuntu 12.04.1 LTS (Precise Pangolin) brug dette link

Hent og installer pxelinux til tftp roden:

cd /var/lib/tftpboot/
wget http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/netboot.tar.gz
tar -xvzf netboot.tar.gz

Sæt kickstartfil som default, og timer til 5 sek

Flyt menu default fra Install, til Kickstart i denne fil

sudo nano /var/lib/tftpboot/ubuntu-installer/amd64/boot-screens/txt.cfg

Menu label kommer ca til at se sådan her ud:

label unattended
        menu label Install ^Unattended
        kernel ubuntu-installer/amd64/linux
        append vga=788 initrd=ubuntu-installer/amd64/initrd.gz ks=http://10.0.0.1/kickstart/ks.cfg

Opret Kickstartfilen som beskrevet under Kickstart fil til installation af noder.

Ændre value Timeout til 50.

sudo nano /var/lib/tftpboot/pxeboot.cfg/default