just build a test ISO with vmd enabled…
My question is why this isn’t dealt with by the kernel?
Always a valid option.
?
Hmm… this implies it should be loaded when the device is detected - does it need to be compiled-in the kernel to be loaded at boot time?
If so, it’s probably worth a “feature request” to the Arch kernel maintainers…
it seems it needs to be loaded manually to work:
m = loadable module (can install and uninstall as you wish)
This should be on a bit safer side:
sed -i 's|^\([ ]*modules = \)\[\]$|\1["vmd"]|' $_reponame/src/modules/initcpiocfg/main.py
EDIT: already added this to calamares_current/PKGBUILD
.
EDIT2: a related fix should be made to run_before_squashfs.sh
?
# get default mkinitcpio.conf (possible patching it here)
wget https://raw.githubusercontent.com/archlinux/mkinitcpio/master/mkinitcpio.conf
patch -u mkinitcpio.conf -i /root/mkinitcpio.patch
sed -i 's/^MODULES=()$/MODULES=(vmd)/' mkinitcpio.conf # <=== this
not working because calamares initcpiocfg module is overwriting the lines with its own defaults.
So I needed to change that … and in the real world… it would be the ideal solution to build the kernel with the module loaded automatically…
But for the time being I can patch calamares to do load module per default, and also set mkinitcpio.conf to use ()
I would like to get users with such hardware!
P.M. me or @ricklinux for testing this implementation if you have time and space to help us here
spoiler alert – IT’S FIXED!!
I just installed the D3V iso and first boot, no problem. Only cleanup might be needed is it picked up about 9-10 entries for POP OS on ‘keep’ for efi/boot partition, I full wiped and created part table 2 days ago so it’s impossible it’s picking up OLD installs, right?? https://imgur.com/a/CBmXYjE
GREAT WORK ON THIS FELLAS!!!
I am not sure what that is a picture of but it is probably EFI entries. Those are not stored on the disk. If you do a lot of installs you need to clean up your EFI entries once in a while. You can do this with efibootmgr
That’s your personal “codename” ? for the dev-test iso with vmd enabled?
So ISO works for this device?
As far as i know he installed it and hopefully the log shows something if it’s the correct log.
There is this error:
11:44:00 [2]: void LoaderQueue::dataArrived()
WARNING: unable to fetch netinstall package lists.
.. Netinstall reply error: QNetworkReply::ContentNotFoundError
.. Request for url: "https://gitlab.com/endeavouros-filemirror/EndeavourOS-calamares/-/raw/main/netinstall.yaml" failed with: "Error transferring https://gitlab.com/endeavouros-filemirror/EndeavourOS-calamares/-/raw/main/netinstall.yaml - server replied: Not Found"
So netinstall.yaml file was not found under
https://gitlab.com/endeavouros-filemirror/EndeavourOS-calamares
Should be in
https://gitlab.com/endeavouros-filemirror/files/EndeavourOS-calamares
yes a typo in the netinstall module… but no error as it will take the fallback from filesystem on ISO.
and fixed already:
https://github.com/endeavouros-team/EndeavourOS-calamares/blob/1ad4b2ed1c0707a7694d35237d37f3a01bc6106d/calamares/modules/netinstall.conf#L9
Otherwise the log looks OK.
interesting part is if system boots into installed system …
That’s what he said.