You are not logged in.
Can see from wiki:
https://wiki.archlinux.org/index.php/Mk … #Using_net
That it is possible to have a network connection during early boot. Would it be possible to create a wireless connection early too?
My thinking is to get new_root mounted on a remote system...
Mr Green I like Landuke!
Offline
Anything is possible in initramfs as long as you provide the dependencies (kernel modules, userspace programs, a script to set it all up etc.).
initramfs is a full blown system (if you make it so), there are no other limitations or restrictions.
Basically https://wiki.archlinux.org/index.php/Wi … figuration rolled into a mkinitcpio hook would work just fine.
The only question is whether someone has done it yet or you have to do it yourself...
https://wiki.archlinux.org/index.php/Dm … k_via_wifi https://aur.archlinux.org/packages/mkinitcpio-wifi/ suggests someone might have done it but I haven't tried it myself... good luck.
Last edited by frostschutz (2019-09-21 08:49:55)
Offline
Just an FYI: you might not want to put too much effort into achieving such a thing with mkinitcpio, since it is going to be replaced with dracut at some point.
https://lists.archlinux.org/pipermail/a … 29570.html
https://lists.archlinux.org/pipermail/a … 46778.html
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Might try this out under a VM, might add those basic instructions to wiki.... Think Void uses dracut.
From mailing list:
> Without looking at dracut yet, I have a few questions:
> - Is there a description how to move from mkinitcpio to dracut?No, not yet. But it is as simple as running dracut -H -f /boot/initramfs-linux.img, for
trying it out. I'll work later this week on a wiki page, but the good thing is, it has
plenty documentation available.
Mr Green I like Landuke!
Offline
at some point.
I'm looking forward to it but until then, (or at least until there's a set date), I'll stick with initcpio all the same.
But yes, you can use a different, or even completely custom kernel and custom initramfs, if it suits you.
Offline
https://pasteboard.co/IysQ0Uq.png
base install ran dracut -H -f <as above> and system stops loading, read manual time ;-)
Mr Green I like Landuke!
Offline
Running dracut with -M gives interesting results.
Mr Green I like Landuke!
Offline