1. Using the same installation virtualized and on hardware

These days I don't have old machines around anymore, so to fiddle with new OSs I use virtualization on my linux machine. I did have an old USB3 to SATA-interface, so I bought the cheapest SSD i could get, which is a 128GB one for about 10€. Using the external SSD I can boot my image in qemu as well as boot my whole machine from it, which I find really neat :)

Virtual boot

To boot qemu I run this command:

which boots the VM with hardware acceleration, passes the USB device for it's disk, and uses userspace networking. The later not needing privileges or network setup on the host makes it really easy. If you want to copy this you'll have to adapt the USB devices vendor and product ids. Using nested kvm I can even run machines in netbsds nvmm.

Picture of the adapter + SSD

hardware boot

Well, just select the USB device to boot from during the machines start. :)

Using a 2,5" SSD has the added advantage that I could just bolt it into my Thinkpad, once I'm satisfied enough with the installation.

thoughts?

you can reply to my post on the fediverse or shoot me a mail

https://bsd.network/@pickles/107434622588825679

pickles@tilde.pink

$Id: 1_image_for_vm_and_hardware.gmi,v 1.2 2021/12/12 15:18:27 pickles Exp $
Proxied content from gemini://tilde.pink/~pickles/1_image_for_vm_and_hardware.gmi (external content)

Gemini request details:

Original URL
gemini://tilde.pink/~pickles/1_image_for_vm_and_hardware.gmi
Status code
Success
Meta
text/gemini;lang=en
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.