setup-disk does not fully copy/move the Alpine Linux system to the requested partition.
setup-disk
does not fully move/copy file-system/alpine linux to the requested partition.
How to reproduce:
- Have a partition readily-available/pre-setup formatted with ext4, size of your choice (I chose 512gb) onto a hard-drive.
- Boot into the Alpine Linux CD ISO. (I used Ventoy, I booted into Alpine via grub2, but this should still be reproducible without Ventoy.)
- Run through setup-alpine, but do not setup disk just yet.
- (Optionally) setup sudo, create group sudo, add local user account to group sudo, edit sudoers file to allow members of group sudo to run actions as the super-user.
- (Optionally) run setup-desktop, test to make sure it works on the CD first.
- Mount the partition of your choice to /mnt (I ran
mount /dev/sda4 /mnt
) - Run
setup-disk -m sys /mnt
sddm
and lightdm
both go to VT 7 with a black screen, with an optional text cursor.
Initially, sddm
and lightdm
would have issues with accountsservice
from observing their logs. (They were reporting org.freedesktop.accounts were not provided by any .service files or whatever)
But after going to the IRC (#alpine-devel
) I was presented with a possible solution: lbu include /var
You'd have to go through the setup process again but before running setup-disk
, you'd run that command, and then setup-disk
.
Now sddm
does not experience any issues regarding accountsservice
but the main issue of them both providing a black screen still exists.
Manually kick-starting into plasma via startplasma-x11 or through xinit worked once, however when opening Firefox, the tabs would repeatedly crash, and you cannot view any webpages.
So the system can be rendered unusable after running setup-disk
because it could bring up a whole lot of other issues even if you were to ignore having to use a desktop.
You can find sddm log (/var/log/sddm.log) here: https://paste.rs/EG0Qh.txt
This log is after lbu include /var
.
Short and to the point: SDDM/lightdm works on USB, but after installing to partition, it won't work + could cause other issues with the system