You are not logged in.

#1 2023-01-25 05:11:10

dojoho
Member
Registered: 2023-01-25
Posts: 3

Kernel 6.1.7 hangs on boot

Hello all,

I have an old HP Notebook (specs linked below) that I'm trying to turn into a school laptop, and after running through several different "lightweight" Linux options and finding them distastefully limited and having a manjaro iso freeze on boot, I decided to finally take the full plunge into Arch. Something I learned through that process, though, is that this particular laptop refuses to boot the 6.1.7 linux kernel. A Fedora Kinoite install had similar problems that only worked by selected an older version in the grub, and while I downloaded an older Arch install iso and successfully (I think) installed it to the computer, it automatically installed/updated to the latest kernel and now freezes on boot.

My question, therefore, is twofold. First - is there a known solution for the 6.1.7 kernel? If so, that seems the simpler route. If there isn't, however, where can I download the 6.0.10 kernel that the Arch install iso I used was running on? I checked the pacman cache as per the Arch wiki but the only kernel file it had was 6.1.7.

Laptop specs - https://support.hp.com/us-en/product/hp … /c06254889



Incidentally - If somebody would be so kind as to tell me where it's relevant to post this, I'd be much obliged, but... I find it beyond idiotic that I have to input a complicated linux command output to set up an account, on a forum that any sensible person would go to when, theoretically, their system was in a state of nonfunction. I realize that Arch isn't for beginners running their first linux rodeo, but not all of us have the luxury of multiple Linux installations and I'd be mad as hell if I had had to set up a whole live disk to run one dumb command when recaptchas exist.

Last edited by dojoho (2023-01-25 05:11:41)

Offline

#2 2023-01-25 06:26:48

topcat01
Member
Registered: 2019-09-17
Posts: 61

Re: Kernel 6.1.7 hangs on boot

You can try installing the linux-lts kernel/package which can coexist with the linux package and try booting that instead. Also, it would be useful to see a journal log:

sudo journalctl -b |& curl -F file=@- https://0x0.st

when booted into a working kernel (say linux-lts), and

sudo journalctl -b-1 |& curl -F file=@- https://0x0.st

after a freeze with linux 6.1.7 and a subsequent successful boot into linux-lts (assuming the latter works and the frozen kernel manages to write any logs).

Edit: With older machines like this it is prudent to run a thorough memory test, e.g. https://wiki.archlinux.org/title/Stress … MemTest86+

Last edited by topcat01 (2023-01-25 09:20:34)

Online

#3 2023-01-25 14:26:50

dojoho
Member
Registered: 2023-01-25
Posts: 3

Re: Kernel 6.1.7 hangs on boot

I installed the linux-lts package using the same process as initially installing the linux package - booted a live disk, mount sda partitions, pacstrap into /mnt. It still freezes on boot. Is there any chance it would still be using the newer kernel version over the alternative?

Offline

#4 2023-01-25 18:14:10

topcat01
Member
Registered: 2019-09-17
Posts: 61

Re: Kernel 6.1.7 hangs on boot

What boot loader are you using? You need to configure it.

Online

#5 2023-01-25 19:11:57

dojoho
Member
Registered: 2023-01-25
Posts: 3

Re: Kernel 6.1.7 hangs on boot

Grub. I did configure it when I first installed, do I need to do so again? And if so, should I change any commands or just re-run them? I copied them from the itsfoss.com arch install guide, and they seem pretty ubiquitous as far as kernel versions go. I haven't had much prior experience with bootloader commands, though.

Offline

#6 2023-01-25 19:27:39

topcat01
Member
Registered: 2019-09-17
Posts: 61

Re: Kernel 6.1.7 hangs on boot

After adding the new kernel just running the grub-mkconfig command should be sufficient: https://wiki.archlinux.org/title/GRUB#Configuration.

Online

#7 2023-01-25 19:28:51

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,796
Website

Re: Kernel 6.1.7 hangs on boot

dojoho wrote:

Grub. I did configure it when I first installed, do I need to do so again?

Yes.

dojoho wrote:

should I change any commands or just re-run them? I copied them from the itsfoss.com arch install guide

Crappy random interweb "guides" are not supported here. Follow https://wiki.archlinux.org/title/GRUB#Configuration instead. And don't post here again unless and until you reinstall following the official guide.

dojoho wrote:

I find it beyond idiotic that I have to input a complicated linux command output to set up an account, on a forum that any sensible person would go to when, theoretically, their system was in a state of nonfunction. I realize that Arch isn't for beginners running their first linux rodeo, but not all of us have the luxury of multiple Linux installations and I'd be mad as hell if I had had to set up a whole live disk to run one dumb command when recaptchas exist.

https://www.youtube.com/watch?v=ybGOT4d2Hs8

Offline

#8 2023-01-25 19:32:08

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 111

Re: Kernel 6.1.7 hangs on boot

If you install/uninstall a kernel, you need to regenerate the grub config.

From grub wiki:

After installing or removing a kernel, you just need to re-run the above grub-mkconfig command.

And you need this to be able to choose which kernel to use in a menu.

Edit: AGAIN, I write tooooooo slow

Last edited by Adriik (2023-01-25 19:32:27)


I'm just someone. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.
♪ Muchachos, ahora nos volvimos a ilusionar ★★★ ♪

Offline

Board footer

Powered by FluxBB