You are not logged in.
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
Check the journal, see what failed to load.
Online
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
oh, also
which journal do i post, current boot or previous? not sure
Arch user for 2 years
Still a noob
Offline
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
right, ill have a look at it after school
Arch user for 2 years
Still a noob
Offline
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
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
Arch user for 2 years
Still a noob
Offline
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
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
/etc/fstab is empty except a few comments, wtf!?
Arch user for 2 years
Still a noob
Offline
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
What explains also why
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
so my /boot/ is obsolete?
Arch user for 2 years
Still a noob
Offline
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
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
"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
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
Post the output of "lsblk -f" and *exactly* what you did.
Offline
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
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
sorry for the wait, didnt have time lately
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
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
for installing grub i used
sudo grub-install /dev/sda
im gonna post grub.cfg later though, pc is occupied and currently running windows
Arch user for 2 years
Still a noob
Offline
Is the installation BIOS/MBR based? Please also provide the output of
# parted -l
Offline