||
老Thinkpad X61装上openbsd继续发挥余热,记录备忘。
/mnt/obsd/install$ ls
base68.tgz BOOTX64.EFI bsd.mp BUILDINFO cdboot comp68.tgz floppy68.img index.txt install68.iso man68.tgz pxeboot SHA256.sig xfont68.tgz xshare68.tgz
BOOTIA32.EFI bsd bsd.rd cd68.iso cdbr etc game68.tgz install68.img INSTALL.amd64 miniroot68.img SHA256 xbase68.tgz xserv68.tgz
# apt install isc-dhcp-server
# nano /etc/dhcp/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {
## dhcp start and end IP range ##
range 192.168.0.201 192.168.0.250;
## openbsd pxe boot file ##
filename "pxeboot";
## tftpd server IP ##
next-server 192.168.0.114;
option subnet-mask 255.255.255.0; ## subnet
option broadcast-address 192.168.0.255; ## broadcast
option routers 192.168.0.114; ## router IP
}
#apt install tftpd-hpa
# nano /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/mnt/obsd/install"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"
#nano /mnt/obsd/install/etc/boot.conf
boot tftp:/bsd.rd
选择网络启动,引导成功后进入普通安装模式,如果直接进入shell#,收工运行install继续。
所有AMD64预编译的packages下载也不大, 48G:
$du -sh packages/
48G packages/
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 14:35
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社