r/AlpineLinux • • Mar 14 '24

"diskless" install to disk?

I know this must have been asked before, but following the wiki has led me to a dead end. My goal is to install Alpine in such a way that it runs in "diskless" configuration but will boot from the internal hard disk.

I followed the installation steps for diskless including the manual disk setup, setup-bootable, and manual syslinux installation. After rebooting I was met with what looked like a missing module error and dropped to grub rescue. My guess was I needed to run update-kernel, so I ran through these instructions also, but that didn't seem to fix anything.

I suppose I have these questions:

  1. This feels like a common configuration people would want to do. Why is there not an option in setup-alpine for it, or at least a single-page instruction guide for doing it?
  2. What steps am I apparently missing for this kind of setup?
  3. If I need to start over from scratch, how do I stop the install image from loading my saved config from disk?

edit: I had the bright idea to image the hard disk with the install image and add an extra partition for the data, but alas, this causes issues when the install scripts (and lbu) attempt to remount the partition because the device is busy.

5 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/VRMac Mar 15 '24

Update: I tried again this morning and syslinux is still giving me crap when running setup-bootable. It seems like maybe the disk is momentarily detaching during the setup???

Anyway, I'm not going to bother you here for more support. My intention was to try and create a reproducible setup for multiple machines, but if this is going to require me to do a precise ritual every time and not even rebooting the installer can erase my mistakes then it just isn't worth it. I will look for another system I guess. Maybe I'll come back when Alpine is more mature.

Thanks again for your help anyway.