2014
03.11

So after writing the previous article about booting multiple distros from one flash drive, i realized that i needed to do some openbsd installs with zero network access.

at time of writing i was installing openbsd54

Here are the steps i took to add openbsd install media on my multiboot flash drive

first we need to grab a copy of all the install files and packages via wget (dont forget to change the mirror to something closer):
mkdir -p tmp/amd64 ; cd tmp/amd64
wget -nd -r ftp://mirrors.nycbug.org/pub/OpenBSD/5.4/amd64/

once that is complete, lets mount your multiboot usb disk (assuming usb is /dev/sdb1):
sudo mount /dev/sdb1 /mnt

Unlike the other iso’s that we placed in /mnt/iso, we are going to create a “5.4” folder in the root of the usb disk:
sudo mkdir /mnt/5.4/

now lets move the folder of files we downloaded before to the multiboot disk :
sudo mv /path/to/tmp/amd64 /mnt/5.4/

now lets edit the grub.conf on the multiboot disk:
sudo vi /mnt/boot/grub/grub.conf

and lets add :
menuentry "OpenBSD 5.4 64bit" {
insmod ext2
set root=(hd0,msdos1)
kopenbsd /5.4/amd64/bsd.rd
}

now lets save, unmount, and good to go.

all the openbsd install questions are straight forward. packages are on the multiboot disk in “5.4/amd64”.

this can also be done for i386.

The following two tabs change content below.

charlie root

VP of keeping it real / HNIC at pissedoffadmins.com
I bring the cold coffee.

Latest posts by charlie root (see all)

No Comment.

Add Your Comment