sobota, 30 czerwca 2012

Debian install/SSH

Instalacja systemu Debian poprzez SSH (netboot).

Wersja netboot instalatora:

Squeeze:
http://ftp.pl.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/

kernel: http://ftp.pl.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
initrd:  http://ftp.pl.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

Wheezy:
http://ftp.pl.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/

Konfiguracja GRUB:

title DebianInstallOverSSH
        root (hd0,0)
        kernel /debian/linux auto=true priority=critical locale=en_US language=en country=PL interface=eth0  netcfg/confirm_static=true hostname=debian domain=socha.it netcfg/disable_dhcp=true url=http://pkg.socha.it/debian/netconsole.txt netcfg/get_nameservers=8.8.8.8 netcfg/get_ipaddress=IP netcfg/get_netmask=NETMASK netcfg/get_gateway=GW
        initrd /debian/initrd.gz

preseed: http://pkg.socha.it/debian/netconsole.txt

d-i anna/choose_modules string network-console
d-i network-console/password password debinstall
d-i network-console/password-again password debinstall
d-i console-keymaps-at/keymap select us
d-i keyboard-configuration/xkb-keymap select us
 
ssh installer@IP

pass: debinstall