You are not logged in.
Mkarchiso produces an iso, but can't boot. I added "noautomount noswap" and cow_spacesize to kernel parameters, and copied linux-libre-firmware (mentioned in AUR) to airootfs, not using linux-firmware from pacman repo. But if I install Arch on hard disk, it can normally boot with linux-libre-firmware (mentioned in AUR) so it seems the firmware is OK, only the custom iso made by mkarchiso can't boot. When booting the custom iso:
Error: device '' not found. Skipping fsck.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel-device mapper driver.
Command failed
Last edited by bingma (2024-11-05 08:51:14)
Offline
Please use [code][/code] tags. Edit your post in this regard.
https://bbs.archlinux.org/viewtopic.php … 1#p2205711
So is this related to ventoy?
If not, why do you require dm-crypt for? The root partition?
Have you added the relevant hooks to the mkinitcpio?
Offline
https://bbs.archlinux.org/viewtopic.php … 1#p2205711
So is this related to ventoy?
No, it's not problem of Ventoy, I saw there're unwanted services in airootfs, e.g cloud-init. I don't want cloud-init to boot over network. So I emptied airootfs, but later, mkarchiso says it requires etc/shadow, so I must copy the shadow file into airootfs; But mkarchiso doesn't hint about other necessary files.
Offline
I don't want cloud-init to boot over network. So I emptied airootfs
Maybe try to just remove the stuff you actually don't want in there instead of deleting everything (you for the most part will need) and then re-adding random, isolated files…
Offline
It looks that shadow, mkinitcpio.conf.d, mkinitcpio.d in airootfs/etc are just enough for offline booting.
Last edited by bingma (2024-11-20 09:41:50)
Offline
"Looks like"
Does the system boot?
Also you saird you wiped the entire airootfs, not only airootfs/etc
Offline