02-19-2020, 12:18 AM
[ TODO: describe creating a disk with the install sets ]
In the installer, once the install script is finished, I was able to finish the surgery with a bit of dense magic:
This copies the u-boot directly off the install disk (sd0) and onto the target system disk (sd1) instead of using a file. A file would be more obvious but this works too.
And for the last step, reboot, pop out the SD card so that it *boots into the new system*, remember to run `set tty fb0` and `boot` at the `boot>` prompt, and then login and as root and
That should give you a fully booting and fresh OpenBSD laptop. Then it's just up to installing packages and configuring it like you like.
In the installer, once the install script is finished, I was able to finish the surgery with a bit of dense magic:
Code:
# (cd /dev; sh MAKEDEV sd0)
# (cd /dev; sh MAKEDEV sd1) # the install disk doesn't come with /dev/*sdX* defined
# (cd /dev; sh MAKEDEV sd2)
# dd if=/dev/rsd0c bs=1024 count=666 skip=8 of=/dev/rsd1c seek=8
# sync
# reboot
This copies the u-boot directly off the install disk (sd0) and onto the target system disk (sd1) instead of using a file. A file would be more obvious but this works too.
And for the last step, reboot, pop out the SD card so that it *boots into the new system*, remember to run `set tty fb0` and `boot` at the `boot>` prompt, and then login and as root and
Code:
# echo "set tty fb0" >> /etc/boot.conf
# reboot
That should give you a fully booting and fresh OpenBSD laptop. Then it's just up to installing packages and configuring it like you like.