您现在的位置:中国下载站学院中心操作系统Unix → 文章列表

NetBSD PXE boot Install (without NFS)

作者:佚名  来源:不详  发布时间:2007-2-8 1:14:19   

减小字体 增大字体

 
 
  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=YESThen 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=YESMake 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 F0You 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-INSTALLAfter this point, you will be booted into the NetBSD installation process you are used to.


在百度中搜索更多NetBSD PXE boot Install (without NFS)相关网页 转贴于:中国下载站

  • 上一篇文章:从硬盘安装NetBSD2.0/3.0
  • 下一篇文章:NetBSD 常用软件安装
  • 阅读统计:[]
  • 中国下载站】【设为主页】【收藏本页】【打印本文】【回到顶部】【关闭此页

    相关文章
    文章评论(评论内容只代表网友观点,与本站立场无关!)

    用户名: 查看更多评论

    分 值:100分 85分 70分 55分 40分 25分 10分 0分

    内 容:

             (注“”为必填内容。) 验证码: 验证码,看不清楚?请点击刷新验证码


    设为首页 - 关于我们 - 广告服务 - 网站地图 - 加入收藏 - 网站声明 - 网站帮助 - 友情链接

    • Copyright (C) 2006-2008 www.cndownz.com All Rights Reserved.
      中国下载站 版权所有. 粤ICP备05141802号. 对本站有任何建议、意见或投诉,请来信:cndownzcom@yahoo.com.cn.
      喜欢中国下载站(cndownz.com),请把中国下载站(cndownz.com)告诉你QQ上的5位好友,多谢支持!