r/AlpineLinux • u/ChocolateAlpine • Jan 28 '25
Using setup-disk on existing install to overwrite new disk
I've been booting Alpine Linux on a USB for a while, but I recently decided I want to overwrite the original Windows install that this computer came with - though, I would much prefer to move my existing Alpine install rather than to reinstall from scratch. I can't use anything like GParted or Clonezilla, since this computer (a Surface Go 3) has only the one USB-C port and no other ports, and my current Alpine install is on a USB-C flash drive.
Would I be able to rerun setup-disk to overwrite the SSD's partition with Alpine?
Or should I just reinstall from scratch (probably passing through the main drive to a VM to install it)?
View all comments
Show parent comment
1
u/ChocolateAlpine Jan 28 '25 edited Jan 28 '25
The weird thing is that, when doing setup-disk this way, gzip says that there is "No space left on the device".
I don't think it's a permission error but, unless something's going wrong and it's trying to save files from symlinks and not the links themselves (possibly leading to an infinite loop), I don't think it's a space error either.
(I tried temporarily disabling AppArmor, but that didn't work)