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 exist
i 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 (Yesterday 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}/proc
Udev'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}/dev
If you work systematically, things will come by itself (Lev D. Landau)
Offline