You are not logged in.
I was probably root when I ran the installer.
Offline
i rewrote the whole sudo part, it is no longer necessary to run this script with sudo (it will ask for a sudo password if needed)
if you are on the root account, and there is a directory in /home that belongs to someone other than root, it will assume that is the correct user
i tested this on daedalus and it spat out a bootable iso,
however the iso will fail to boot properly, during /scripts/init-bottom i get
mount: /root/dev: mount point does not existi got similar messages on artix
void works tho
my first thought was that there is something wrong with the initramfs.img but it has the same md5 as when i use fmisthreds refractasnapshot
so it is probably something else, not really sure how i can fix this
Last edited by alphalpha (2025-04-25 16:45:26)
Offline
What is /root/dev? Why is it trying to mount there?
Offline
What is /root/dev? Why is it trying to mount there?
Have a look at /usr/share/initramfs-tools/init, you'll find the following lines moving /run and the virtual filesystems /sys and /proc to the real system:
export rootmnt=/root
(...)
# Move /run to the root
mount -n -o move /run ${rootmnt}/run
# We expect udev's init-bottom script to move /dev to ${rootmnt}/dev
run_scripts /scripts/init-bottom
# Move virtual filesystems over to the real filesystem
mount -n -o move /sys ${rootmnt}/sys
mount -n -o move /proc ${rootmnt}/procUdev's /usr/share/initramfs-tools/scripts/init-bottom/udev script will move /dev to ${rootmnt}/dev, as its supposed to:
# move the /dev tmpfs to the rootfs
mount -n -o move /dev ${rootmnt}/devIf you work systematically, things will come by itself (Lev D. Landau)
Offline
okay its working again on devuan ![]()
the problem was with the bootloader options
Offline
if anyone cares,
i added some updates over the last months:
snapshots can now have multiple kernels
snapshots now have a loopback.cfg
which is handy for the new multi-usb script that now supporst just drag and drop the iso file and run the updater script to update grub
the initramfs for devuan is now generated with dracut (as it is for void)
but there is still one thing i would like to add,
and that is for the multi-usb to have a live system with a persistent overlayfs
i thought dracut could help me out here but if i read the scripts correct, it requires systemd for this trick
so i guess my best bet is to just add my own script into the initramfs that checks if "live-overlay.img" file is present on the iso partition of the usb-stick and then mount the overlay and remount root. can anyone help me with this?
Last edited by alphalpha (Yesterday 01:15:34)
Offline