You are not logged in.

#1 2022-04-07 16:39:08

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Failed to start Load Kernel Modules

Hello,
So today i wanted to boot my pc but i got greeted with an error, failed to start load kernel modules.
Not my first time seeing this error so i just thought "great, forgot to mount boot again", so i did the following:

Plugged in my arch install
mount /dev/sda2 as /mnt and sda2 as /mnt/boot
pacman -Syu
pacman -S linux
grub-mkconfig -o /boot/grub/grub.cfg (for certainty)

however i still have the error, before i got it i used the pc normally except i customized grub to fit my new rice and make it a bit more personal so i added a "echo   'NewtonPL'", but otherwise i did things normally, coding and browsing the web.

Any idea what could be causing this? cant compare uname cuz the chrooted iso is from january 2022


Arch user for 2 years
Still a noob

Offline

#2 2022-04-07 17:02:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,636

Re: Failed to start Load Kernel Modules

Check the journal, see what failed to load.

Online

#3 2022-04-07 17:51:28

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

gonna try it tomorrow, pc is occupied rn
its the family pc dual booting win10 and arch


Arch user for 2 years
Still a noob

Offline

#4 2022-04-07 19:42:54

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

oh, also
which journal do i post, current boot or previous? not sure


Arch user for 2 years
Still a noob

Offline

#5 2022-04-07 20:27:24

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

One that covers a concerned failure to load kernel modules.
If you're doing this offline (from a different system / the install iso) you may want to https://wiki.archlinux.org/title/System … al_to_view

Offline

#6 2022-04-08 11:39:52

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

right, ill have a look at it after school


Arch user for 2 years
Still a noob

Offline

#7 2022-04-08 12:21:39

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

here ya go seth and anyone else lurking:
http://0x0.st/obvb.txt

bit weird that the problem didnt go away after reinstalling kernel, could it be the fault of me changing the grub startup commands? it boots to grub fine and i just added a command to echo NewtonPL


Arch user for 2 years
Still a noob

Offline

#8 2022-04-08 12:31:18

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

ls -l /boot/ shows me that the kernel was updated today so that shouldn't be a problem

after i unmounted the /boot/ folder the kernel is febuary 21, because i was a noob then and installed it wrong.

ill try updating it and see what happens tongue


Arch user for 2 years
Still a noob

Offline

#9 2022-04-08 12:36:40

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

wait what the fuck? it boots now! something got rekt and now it boots from my root partition and not boot, its like boot isn't mounted automatically


Arch user for 2 years
Still a noob

Offline

#10 2022-04-08 12:39:56

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

lsblk -f
cat /etc/fstab

But it's "common" for kernel and modules to fall out of sync if you're not booting the kernel from the location where you installed/updated it to (but an old one, "uname -a" would reflect that)

Offline

#11 2022-04-08 13:05:10

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

/etc/fstab is empty except a few comments, wtf!?


Arch user for 2 years
Still a noob

Offline

#12 2022-04-08 13:07:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,636

Re: Failed to start Load Kernel Modules

The log shows that you're loading the kernel from /boot/vmlinuz-linux, so it's NOT loading it from a separate boot partition, but from your root partition. Mounting something to /boot will actually cause things to fail with this bootloader config.

Online

#13 2022-04-08 13:56:38

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

What explains also why

OP wrote:

Not my first time seeing this error so i just thought "great, forgot to mount boot again", so i did the following:

Plugged in my arch install
mount /dev/sda2 as /mnt and sda2 as /mnt/boot
pacman -Syu
pacman -S linux
grub-mkconfig -o /boot/grub/grub.cfg (for certainty)

however i still have the error

didn't work - just not what caused the problem to begin with.

Offline

#14 2022-04-08 19:33:30

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

so my /boot/ is obsolete?


Arch user for 2 years
Still a noob

Offline

#15 2022-04-08 20:58:03

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

The available data suggests as much.

A /boot partition isn't a necessity, https://wiki.archlinux.org/title/Partitioning#/boot
You just need to be aware/in control of the chosen layout.

Since you have the partition and it's (w/o some heavy lifting repartitioning) otherwise lost space, you might want to start using it, but you've to ensure to install the bootloader and kernel updates there as well as having the bootloader config correct for this setup.
In any event, I'd suggest to keep the unused path (boot partition or /boot path on the root partition) "clean" to avoid future confusion.

Offline

#16 2022-04-15 18:16:46

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

the same error again, time to pop in the cd
how do i use the /boot?


Arch user for 2 years
Still a noob

Offline

#17 2022-04-15 20:22:00

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

"use the /boot" for what?
Do you mean how to actually boot from the boot partition?
Mount it and run grub-install and grub-mkconfig, https://wiki.archlinux.org/title/GRUB

Offline

#18 2022-04-17 07:12:07

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

thats what i did, i dont even have grub in the boot folder, just on the partition i mounted as /boot, however it boots linux from my main partition and not boot, if i update it with mounting the boot partition then i get an error cuz it tries to run the kernel thats on my main partition


Arch user for 2 years
Still a noob

Offline

#19 2022-04-17 07:20:31

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

Post the output of "lsblk -f" and *exactly* what you did.

Offline

#20 2022-04-17 12:23:57

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

what i did when? when the boot partition stopped working? idk, it just tripped one day, and lsblk -f was posted here before if my bad memory remembers


Arch user for 2 years
Still a noob

Offline

#21 2022-04-17 17:56:27

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

thats what i did

I assume that refers to

Mount it and run grub-install and grub-mkconfig, https://wiki.archlinux.org/title/GRUB

and I'm pointing you towards https://bbs.archlinux.org/viewtopic.php?id=57855
I askied for lsblk -f in #10 bt don't see where you provided it.

Please provide the requested information if you want this to go anywhere - otherwise you're on your own.

Offline

#22 2022-04-19 04:53:32

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

sorry for the wait, didnt have time lately hmm
heres what i did:

mount sda1 to /boot
install grub to sda
configured grub to /boot/grub/grub.cfg

output of lsblk

 [newton@hackmachine ~]$ lsblk -f
NAME   FSTYPE FSVER LABEL        UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                  
├─sda1 ext4   1.0                bd8a2cde-e44f-4c92-9962-6d5b7ee34105    388M    13% /boot
└─sda2 ext4   1.0                1826dd9d-fb74-4492-9fb8-3c4263b2be69  139,3G    35% /
sdb                                                                                  
├─sdb1 ntfs         Odzyskiwanie B4861B87861B48EE                                    
├─sdb2 vfat   FAT32              621D-9DC2                                           
├─sdb3                                                                               
├─sdb4 ntfs         NewtonPL     BC1471D81471965C                                    
├─sdb5 ntfs         Dad        5AC865FAC865D4B3                                    
├─sdb6 ntfs         Mom         8E2C7C732C7C57E3                                    
├─sdb7 ntfs                      C678465378464283                                    
└─sdb8 ntfs                      50FE3886FE3865FE 

sdb is the windows drive, i dual boot


Arch user for 2 years
Still a noob

Offline

#23 2022-04-19 07:40:45

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: Failed to start Load Kernel Modules

mount sda1 to /boot
install grub to sda
configured grub to /boot/grub/grub.cfg

Don't paraphrase! See https://bbs.archlinux.org/viewtopic.php?id=57855 again.
Notably "install grub" and the resulting /boot/grub/grub.cfg and nb. that there's a difference between UEFI boots and BIOS boots, https://wiki.archlinux.org/title/GRUB#Installation

Offline

#24 2022-04-19 08:09:10

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: Failed to start Load Kernel Modules

for installing grub i used

sudo grub-install /dev/sda

im gonna post grub.cfg later though, pc is occupied and currently running windows hmm


Arch user for 2 years
Still a noob

Offline

#25 2022-04-19 08:37:00

loqs
Member
Registered: 2014-03-06
Posts: 17,571

Re: Failed to start Load Kernel Modules

Is the installation BIOS/MBR based?  Please also provide the output of

# parted -l

Offline

Board footer

Powered by FluxBB