You are not logged in.

#1 2018-10-25 15:28:48

vtrac
Member
Registered: 2016-01-28
Posts: 42

Latest kernel won't boot on my x1 carbon (5th gen)

After a reboot, it's got stuck at:

:: running early hook [udev]
starting version 239

I've tried the fallback kernel - same issue. I've also tried commenting out the `initrd /intel-ucode.img` without luck.

I booted to USB, mounted my FS, and was able to install the LTS kernel, which works:

:: running early hook [udev]
starting version 239
:: running hook [udev]
:: Triggering uevents...
:: running hook [encrypt]
Waiting 10 seconds for device ..
...

Switching to sd-encrypt instead of encrypt gets me a little further.

[ OK ] Started Load Kernel Modules.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Basic System.
[   *] A start job is running for dev-mapper-cryptroot.device (30s / 1min 30s)

Here's my current HOOKS in mkinitcpio.conf after switching to sd-encrypt:

HOOKS="base systemd autodetect modconf block keyboard sd-encrypt filesystems fsck"

My /boot/loader/entries/arch.conf looks like this:

title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options ro luks.name=UUID=26cece29-fdb4-4c04-96e9-3747e31de6dd=cryptroot luks.options=timeout=10 root=/dev

Any ideas?

Offline

#2 2018-10-25 17:59:25

damjan
Member
Registered: 2006-05-30
Posts: 462

Re: Latest kernel won't boot on my x1 carbon (5th gen)

you should not have `ro` on the kernel command line.

what kernel is troublesome for you.

otherwise, start in debug mode https://wiki.archlinux.org/index.php/Ge … t_problems
and you should also inspect things if you get thrown out in the initramfs shell

Offline

#3 2018-10-25 18:14:18

loqs
Member
Registered: 2014-03-06
Posts: 18,938

Re: Latest kernel won't boot on my x1 carbon (5th gen)

damjan wrote:

you should not have `ro` on the kernel command line.

With the systemd hook in use and ro will  systemd-fsck not be run once after switch root and fsck will not be called by anything else?
Edit:
misplaced end of quote

Last edited by loqs (2018-10-25 18:14:45)

Offline

#4 2018-10-28 21:48:18

vtrac
Member
Registered: 2016-01-28
Posts: 42

Re: Latest kernel won't boot on my x1 carbon (5th gen)

The issue was this:

options ro luks.name=UUID=26cece29-fdb4-4c04-96e9-3747e31de6dd=cryptroot luks.options=timeout=10 root=/dev

I don't know how this has worked for the last 12+ months, but it should have been:

options ro luks.name=26cece29-fdb4-4c04-96e9-3747e31de6dd=cryptroot luks.options=timeout=10 root=/dev

Offline

Board footer

Powered by FluxBB