User Tools

Site Tools


linux:debian_install:pxe_netboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:debian_install:pxe_netboot [2016/12/04 11:29]
tkilla created
linux:debian_install:pxe_netboot [2016/12/04 11:36] (current)
tkilla [preseed]
Line 43: Line 43:
   MENU DEFAULT   MENU DEFAULT
   kernel debian-installer/amd64/linux   kernel debian-installer/amd64/linux
-  append vga=normal initrd=debian-installer/amd64/initrd.gz netcfg/choose_interface=eth0 domain=seelowtec keyboard-configuration/xkb-keymap=de locale=en_US.UTF-8 debian-installer/country=DE debian-installer/language=en debian-installer/keymap=de console-keymaps-at/keymap=de auto-install/enable=false preseed/url=http://192.168.20.22/netboot/preseed.cfg DEBCONF_DEBUG=5 -- quiet+  append vga=normal initrd=debian-installer/amd64/initrd.gz netcfg/choose_interface=eth0 domain=mynet keyboard-configuration/xkb-keymap=de locale=en_US.UTF-8 debian-installer/country=DE debian-installer/language=en debian-installer/keymap=de console-keymaps-at/keymap=de auto-install/enable=false preseed/url=http://192.168.20.22/netboot/preseed.cfg DEBCONF_DEBUG=5 -- quiet
  
 ===== preseed ===== ===== preseed =====
  
-You can automat the debian installer, so all questions get answered automagically :)+You can automate the debian installer, so all questions get answered automagically, including formatting, network, software, everything :)
  
-Add a download url for the preseed file to the bootmenu in pxelinux.cfg/default. This can be served via nfs or web.+Add a download url for the preseed file to the bootmenu in pxelinux.cfg/default. This can be served via nfs or web. Some things (like keyboard language) must be set in the 'append' line of the bootmenu - see above. 
 + 
 +If you preseed hangs and asks questions, you can switch to console 2 to see, what is going on. 
 + 
 +Complete pressed.cfg example: 
 + 
 +{{:linux:debian_install:preseed_demo.txt|}} 
 + 
 + 
 +===== postinstall script ===== 
 + 
 +Some things are hard to preseed, so you run a script after the installer competes, inside the new system. 
 + 
 +Download the script and run it, with a similar command in the preseed file: 
 + 
 +  d-i preseed/late_command string in-target wget -P /tmp/ http://192.168.1.1/netboot/postinst.sh; in-target chmod +x /tmp/postinst.sh; in-target /tmp/postinst.sh 
 + 
 +Complete postinstall script example: 
 +{{:linux:debian_install:postinst_demo.txt|}}
  
-  
  
  
linux/debian_install/pxe_netboot.1480847348.txt.gz · Last modified: 2016/12/04 11:29 by tkilla