NetBSD PXE boot Install (without NFS)(轉)
By: BSDSupport
Published: 5.3.2006
Updated: 5.3.2006
This was tested on NetBSD 3.99.16, however the instructions should apply to older versions as well. I have attempted to flag steps where you may run into version incompatabilities with "Version Note".
To PXEboot install NetBSD we will first need to configure a tftp server. You will need to insure that tftp is uncommented from inetd.conf and that inetd is enabled to run.
/etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot
/etc/rc.conf inetd=YES
Then we will need to create the /tftpboot directory and populate it. You will need the pxeboot_ia32.bin file (included in base.tgz) and the netbsd-INSTALL kernel.
Note: The installboot command is only necessary if you're booting via a serial console (i.e. a Soekris box) as is the case in this paper.
Version Note: In the event you will need serial console support older versions of installboot may not support writing to oxeboot_ia32.bin, you will need to extract or build pxeboot_ia32_com0.bin. # cd /root # mkdir -p /tftpboot # gunzip netbsd-INSTALL.gz # cp netbsd-INSTALL /tftpboot # tar -zf base.tgz -x ./usr/mdec/pxeboot_ia32.bin # cd usr/mdec # installboot -e -o console=com0,speed=19200 pxeboot_ia32.bin # cp pxeboot_ia32.bin /tftpboot
Next you will need to configure dhcpd, and ensure it is enabled to run. You must configure dhcpd to serve pxeboot_ia32.bin.
Note: The next-server option is critical, it should refer to the tftp server IP address.
/etc/dhcpd.conf default-lease-time 3600; max-lease-time 7200; option subnet-mask 255.255.255.0; option domain-name "domain.local"; ddns-update-style ad-hoc; option domain-name-servers 10.0.10.100; subnet 10.0.10.0 netmask 255.255.255.0 { option routers 10.0.10.1; range 10.0.10.150 10.0.10.200; next-server 10.0.10.5; option root-path "/tftpboot"; filename "/pxeboot_ia32.bin"; }
/etc/rc.conf dhcpd=YES
Make sure dhcpd and inetd are running, and then boot the host you wish to install. # /etc/rc.d/inetd restart # /etc/rc.d/dhcpd restart
If you are attempting to install onto a Soekris box, you must tell it to PXEboot > boot F0
You will see the PXEboot sequence, which will launch the NetBSD bootloader, you need to interrupt the NetBSD bootloader (hit spacebar several times). Once you are at the NetBSD bootloader prompt, enter the following: > boot tftp:netbsd-INSTALL
After this point, you will be booted into the NetBSD installation process you are used to.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752019/viewspace-941832/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- (轉)ORACLE RAC with NFS installOracleNFS
- ORACLE RAC with NFS installOracleNFS
- NetBSD的網路配置(轉)
- 學習NetBSD-pkgsrc(轉)
- Oracle 11g RAC Silent Install For NFSOracleNFS
- NetBSD 常用軟體安裝(轉)
- NetBSD 中使用 IPSec 指南 (轉)
- 學習NetBSD-基本設定(轉)
- UNIX 派生系統:NetBSD 入門(轉)
- PXE+DHCP+TFTP+NFS+Kickstart網路自動安裝配置簡化版FTPNFS
- 從硬碟安裝NetBSD2.0/3.0(轉)硬碟
- 學習NetBSD-體驗Xen 2.0(轉)
- 建NetBSD及OpenBSD本地原始碼庫(轉)原始碼
- NFS簡介(轉)NFS
- How To Install An Oracle Database In An Active/Passive Configuration Without RAC? [ID 734361.1]OracleDatabase
- kickstart+PXE+dhcp+nfs 批量無人值守自動化安裝作業系統NFS作業系統
- 在NetBSD/i386上執行Oracle(轉)Oracle
- 製作RAMDISK in KERNEL的NetBSD微系統(轉)
- 在NETBSD上配置ADSL+IPF+IPNAT(轉)
- 學習NetBSD-掛載MSDOS分割槽(轉)
- PXE+LITENET安裝共略(轉)
- Install SharePoint 2013 on Windows Server 2012 without a domainWindowsServerAI
- Install 11.2/12.1 DB/Client in Silent Mode without Using Response File _885643.1client
- NFS Server設定(轉)NFSServer
- PXE協議協議
- PXE安裝
- PXE介紹(PXE+kickstart無人值守安裝)
- PXE 無盤Win98常見故障解析(轉)
- [轉]HP-UX下NFS配置UXNFS
- Linux中NFS介紹(轉)LinuxNFS
- 【轉】Install libimobiledevice on Mac OSXdevMac
- SCSS without和withCSS
- unixODBC without the GUIGUI
- 升級NetBSD啟用intel2100無線網路卡(轉)Intel
- 基於heartbeat的NFS HA實現(轉)NFS
- 基於heartbeat的NFS HA實現 (轉)NFS
- 網路管理員指南 -11.網路檔案系統NFS -2>NFS Daemon(轉)NFS
- RHEL_PXE_Installation_ServerServer