35 lines
1.8 KiB
Markdown
35 lines
1.8 KiB
Markdown
|
---
|
||
|
title: Portable Haiku OS
|
||
|
---
|
||
|
### Setting up a portable Haiku OS with full disk encryption and large hardware support
|
||
|
|
||
|
## Why
|
||
|
|
||
|
Haiku OS is a great alternative OS. However there are a few reason I can't use it on bare-metal on my main laptops:
|
||
|
|
||
|
- hardware support is lacking
|
||
|
- there is no support for full disk encryption
|
||
|
- some stuff is simply unavailable and would force me to dual boot (like widewine DRM support for Netflix)
|
||
|
|
||
|
I could live with the third one missing, this is more a problem for my partner, but the 2 former ones are difficult to overcome for me as I am use to protect my data with full disk encryption on all my computers.
|
||
|
|
||
|
My idea is to have an Haiku OS that lives on an USB harddrive, or in this case an M2 SSD harddrive inside an usb compatible casing, that I can use to boot Haiku on any of my computers.
|
||
|
## How?
|
||
|
|
||
|
The idea is to use virtualization on a host Linux system that will offer a better hardware support, mainly network, wifi, bluetooth, power support. But I didn't want to boot a linux, log on to a desktop, then start a VM. I would just end up using the linux desktop and not Haiku. What I did was setting up a minimal Debian 12 system that will autologin on tty1, start an Haiku VM automatically in full screen mode as if I was just running it on bare metal, and shutdown whenever I shutdown Haiku.
|
||
|
|
||
|
Other features:
|
||
|
|
||
|
- automatic sizing of VM CPU and memory depending on what is available on the hardware
|
||
|
- network/wifi linux settings accessible via a quick shortcut
|
||
|
- bluetooth pairing/connection accessible via a quick shortcut
|
||
|
- battery power status available from the Haiku desktop
|
||
|
- a Linux Web Browser with DRM support available for streaming
|
||
|
|
||
|
todo:
|
||
|
|
||
|
- automatic snapshot and backup of VM with ZFS
|
||
|
|
||
|
There are different ways to do it, so I will show you different scenarios.
|
||
|
## The simplest way
|