Install OpenBSD on Linode
发表于 : 2015-07-21 18:54
在linode的论坛上看到的。还没试过。
https://forum.linode.com/viewtopic.php?f=20&t=12080
https://forum.linode.com/viewtopic.php?f=20&t=12080
Quick and dirty way to have OpenBSD running on your Linode:
1. Create New Linode.
2. Create New Disk
Select unformatted raw 1024MB (make it bigger just in case)
Label Install Disk
3. Create New Disk
Unformatted raw, make is as big as it's allowed.
4. Go to Remote Access and connect to your console either using ajax or ssh
5. Go into Rescue tab and Click Reboot into rescue mode
6. When finnix boots, download installxx.fs using wget
i.e wget http://mirrors.nycbug.org/pub/OpenBSD/s ... stall58.fs
7. check where is your Install Disk located by doing fdisk -l. (most likely sda)
8. dd if=install58.fs of=/dev/sda bs=1M
9. create new configuration
Label: OpenBSD
VM Mode Full-virtualization
Kernel: Direct Disk
/dev/sda OpenBSD
/dev/sdb Install.fs
change boot device to /dev/sdb
10. disable all filesystem/boot helpers
11. Reboot into OpenBSD profile but be careful.. As soon as you see boot> we need to interrupt it by pressing space or something similar. this may require few tries and it usually works better from ajax web console.
You could of course edit install58.fs but I found this unnecessary.
12. execute set tty com0
13. install openbsd
14. change profile to boot from /dev/sda and enjoy!
My ref code in case someone needs a new linode account to try it:
https://www.linode.com/?r=c66d46b6b7b43 ... e486c35c51