You are not logged in.
I'm having problem with mkinitcpio and autodetect.
I just installed Arch with full system encryption but upon starting im stuck at the password propt to encrypt the root partition because my keyboard is not recognized. It is recognized when I use fallback in GRUB (i.e. without the autodetect hook). But then the internet (and I guess other stuff) doesn't work.
When I chroot into the system and
mkinitcpio -Mgives me
'/lib/modules/3.18.6-1-ARCH' is not a valid kernel module directory.
The directory only containts 3.19.2-1-ARCH and extramodules-3.19-ARCH.
Any idea what I am doing wrong?
Offline
You "just" installed Arch? That kernel (3.18.6) was updated to 3.19.2 a couple of weeks ago. Would it be safe to say that you installed a couple of weeks ago, and updated today? If so, have you rebooted since the kernel was updated?
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
I installed like three hours ago. The installation medium was called ARCH_201503, so I assume it is the latest one (I installed it a couple of weeks ago but then my SSD died). pacstrap installs everything from the internet anyway so I guess it shouldn't be a problem even if the installation medium is old (maximum six weeks).
There is obviously something wrong with the kernel versions, I just have no idea why and how to fix it.
Edit: I also reinstalled the kernel and also ran
mkinitcpio -p linuxby hand.
Last edited by BitterHitter (2015-03-31 19:06:43)
Offline
Ahh, I know what's happening. The 3.18.6 kernel is what you're booted into, because that's what's on the LiveCD. Sorry, I was trying to explain away something that didn't need explanation.
You need to use mkinitcpio's --kernel flag to specify you want to use the installed kernel, not the live one
-k, --kernel kernelversion
Use kernelversion, instead of the current running kernel. This may be a path to a
kernel image, a specific kernel version or the special keyword none. In the latter
case, no kernel modules are added to the image.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
Thanks so far!
I did the following (while chrooted into the installed system):
cp initramfs-linux.img initramfs-linux.img.backup
cp initramfs-linux-fallback.img initramfs-linux-fallback.img.backup
mkinitcpio -g /boot/initramfs-linux.img -k 3.19.2-1-ARCH
grub-mkconfig -o /boot/grub/grub.cfgDid I do it right? Because it is still not working, unfortunatly...
Edit: I just noted that
mkinitcpio -p linuxalready does the right thing. It says in the first line
Starting build: 3.19.2-1-ARCHI only think my initial guess with
mkinitcpio -Mwas wrong because that is refering to the currently running kernel.
Last edited by BitterHitter (2015-03-31 20:38:20)
Offline
It is working after putting keyboard before encrypt in mkinitcpio.conf. Although, I don't think that this actually fixed anything, because I put it back after filesystem and it is still working. Maybe we will never know... Anyway, thanks for the help!
Offline
Could you upload your /etc/mkinitcpio.conf (make sure it's your installed one, not the LiveCDs), the output of
lsmodfrom the live environment, and the output of
mkinitcpio -M /boot/vmlinuz-linuxUse a CLI pastebin client to upload stuff easily.
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
mkinitcpio.conf from the actual system: http://sprunge.us/jieA
lsmod of live system: http://sprunge.us/IAJW
mkinitcpio -M /boot/vmlinuz-linux of live system: http://sprunge.us/FHhN
Last edited by BitterHitter (2015-03-31 23:04:15)
Offline