You are not logged in.

#26 2024-08-04 22:09:44

Artrix
Member
Registered: 2024-07-20
Posts: 18

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

Where would I comment fstab?

Offline

#27 2024-08-05 05:13:09

Artrix
Member
Registered: 2024-07-20
Posts: 18

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

After some research I found my fstab file. Here's its contents:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb2
UUID=ee3285da-69ed-4174-8a37-2ce1308a7d98	/         	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@	0 0

# /dev/sdb2
UUID=ee3285da-69ed-4174-8a37-2ce1308a7d98	/home     	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home	0 0

# /dev/sdb2
UUID=ee3285da-69ed-4174-8a37-2ce1308a7d98	/var/log  	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@log	0 0

# /dev/sdb2
UUID=ee3285da-69ed-4174-8a37-2ce1308a7d98	/var/cache/pacman/pkg	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@pkg	0 0

# /dev/sdb2
UUID=ee3285da-69ed-4174-8a37-2ce1308a7d98	/.snapshots	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@.snapshots	0 0

# /dev/sdb1
UUID=4494-6361      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

Offline

#28 2024-08-05 07:06:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,835

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

Yea… great … comment the last line.

Offline

#29 2024-08-05 18:13:45

Artrix
Member
Registered: 2024-07-20
Posts: 18

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

My system booted after commenting it out! And it seems that the versions are mismatched as uname -a returns a different version then the one I installled. I attempted to run sudo pacman -S linux and got a “Can’t write to /boot” error.

Offline

#30 2024-08-05 19:14:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,835

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

The /boot parttion is currently not mounted and you cannot mount it because you lack the vfat module.

cat /proc/cmdline
ls -lR /boot

Offline

#31 2024-08-05 20:13:30

Artrix
Member
Registered: 2024-07-20
Posts: 18

Re: [SOLVED] Nvidia modules not found after upgrading to new kernel

I was able to fix it by opening a live installation, chrooting into my system, and specifically running

mount /dev/sdb1 /mnt/boot

instead of

mount /dev/sdb2 /mnt/boot

(sdb1 is my boot partition). After chrooting running a simple

sudo pacman -S linux linux-headers

which reinstalls the kernel on the correct partition

Offline

Board footer

Powered by FluxBB