You are not logged in.

#26 2024-11-02 23:23:25

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

ls -lR /mnt/boot

Printed out files in that directory

LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files' | grep -v backup

Printed a lot of stuff about installed packages.

After adding the kernel parameters and booting, it printed stuff about  drives after "Loding Linux" appeared.

Offline

#27 2024-11-03 07:39:01

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Yeah, I know that it prints "stuff", the question is what that "stuff" is.
Post the outputs of the two commands roll

Edit

ls -lR /mnt/boot > /tmp/stuff
LC_ALL=C pacman --root /mnt -Qkk 2>&1 | grep -v ', 0 altered files' | grep -v backup  >> /tmp/stuff
cat /tmp/stuff | curl -F 'file=@-' 0x0.st

Last edited by seth (2024-11-03 07:42:05)

Online

#28 2024-11-03 10:02:19

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Post the outputs of the two commands

Yeah, I should have figured that out. https://0x0.st/XGWG.txt

Offline

#29 2024-11-03 13:08:59

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

That's 21MB full of errors…
What happened to that system??

Anyway, none of the deviations looks like it's going to break the boot process - but you'll likely not get a graphical target out of that.
Can you boot the multi-user.target (2nd link below)? In doubt along "nomodeset" and also remove the "quiet" parameter.

Online

#30 2024-11-03 15:52:35

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Can you boot the multi-user.target?

No

Edit: forgot to mention, when adding the nomodeset parameter, some text appears above "Loading Linux linux". It says: "Booting a command list". I don't know if that matters.

Last edited by guasap209 (2024-11-03 15:59:43)

Offline

#31 2024-11-03 19:23:18

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Try to install and boot the LTS kernel.

Online

#32 2024-11-03 21:54:15

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Maybe I'm doing something wrong, but after installing limux-lts and running grub-mkconfig -o /boot/grub/grub.cfg there aren't any new entries to boot the new kernel. I'm probably doing something wrong but I con't figure it out.

Offline

#33 2024-11-03 21:58:11

cryptearth
Member
Registered: 2024-02-03
Posts: 1,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

guasap209 wrote:

Maybe I'm doing something wrong, but after installing limux-lts and running grub-mkconfig -o /boot/grub/grub.cfg there aren't any new entries to boot the new kernel. I'm probably doing something wrong but I con't figure it out.

this hints to writing to the wrong grub.cfg - likely by not/bad/wrong ESP mount or shadowing
from arch install media: mount every partition to its own mountpoint (create required folders in /mnt) and scan them all for grub.cfg - likely you will find at least two or more

Offline

#34 2024-11-04 15:21:19

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

I've found two: one is in /boot/grub. The other one is in
/nix/store/33w6fk9v0gjcwj0h2w3d803yjga8zv6w-nixpkgs/nixpkgs/pkgs/tools/misc/grub/pvgrub_image/configs.

Offline

#35 2024-11-04 15:50:43

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

ls /mnt/boot
cat /mnt/boot/grub/grub.cfg

Online

#36 2024-11-04 16:20:09

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

ls /mnt/boot

outputs

EFI  grub  vmlinuz-linux

.


cat /mnt/boot/grub/grub.cfg

http://0x0.st/XGUq.txt

Offline

#37 2024-11-04 17:25:17

cryptearth
Member
Registered: 2024-02-03
Posts: 1,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

guasap209 wrote:

I've found two: one is in /boot/grub. The other one is in
/nix/store/33w6fk9v0gjcwj0h2w3d803yjga8zv6w-nixpkgs/nixpkgs/pkgs/tools/misc/grub/pvgrub_image/configs.

sanity check: are you using VANILLA arch - or do you use NixOS?

Offline

#38 2024-11-04 17:28:17

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Arch, I don't know why I even installed the package manager.

Offline

#39 2024-11-04 20:57:40

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

You didn't install the LTS kernel into that path and also there's no initramfs.
Boot the install iso, mount sda3 int /mnt, "arch-chroot /mnt"

pacman -S linux-lts 2>&1 | tee /tmp/pacman.log
cat /tmp/pacman.log | curl -F 'file=@-' 0x0.st

Online

#40 2024-11-04 21:15:57

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

http://0x0.st/XGkU.txt
Pacman gives me an error when I install the lts kernel it didn't give before.

Offline

#41 2024-11-04 21:45:06

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

cat: write error: No space left on device

df -h

Online

#42 2024-11-04 21:50:18

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Offline

#43 2024-11-04 21:53:06

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

/dev/sda1        99M   99M  3.0K 100% /boot

Why have you mounted sda1 into /boot?
https://bbs.archlinux.org/viewtopic.php … 5#p2206025

Online

#44 2024-11-04 22:01:24

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

Because I had it already mounted there from when I was sesrching for the grub.cfg.

Offline

#45 2024-11-05 08:38:55

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

You are not booting from a boot partition.
Don't mount that there, re-install the LTS kernel, post an update on the commands from #35 and #39

Online

#46 2024-11-05 16:15:24

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

#35:

ls /mnt/boot

gives

efi   initramfs-linux.img           initramfs-linux-lts.img           initramfs-linux-zen.img           vmlinuz-linux      vmlinuz-linux-zen
grub  initramfs-linux-fallback.img  initramfs-linux-lts-fallback.img  initramfs-linux-fallback.img  vmlinuz-linux-lts

The grub.cfg: http://0x0.st/XDrp.txt


#39: http://0x0.st/XGCB.txt

Offline

#47 2024-11-05 16:19:28

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

You've a bogus /etc/locale.conf and still need to add the LTS kernel to the grub config, running grub-mkconfig -o /boot/grub/grub.cfg from the chroot should™ do.

Online

#48 2024-11-05 16:49:03

guasap209
Member
Registered: 2024-11-01
Posts: 25

Re: [SOLVED] System stuck at boot 'Loading Linux linux ...'

It boots. I booted the lts kernel and it dropped me into a tty instead of sddm appearing. Also the other 2 kernel work and it defaults to the zen one for some reason. Thanks for the help!

Last edited by guasap209 (2024-11-07 15:11:08)

Offline

Board footer

Powered by FluxBB