jaffa
December 31, 2022, 3:35am
1
Hi, I recently upgraded my motherboard and have moved over all my drives. My EndeavourOS is installed on an M.2 drive which I’ve moved over as well.
When booting, I am presented with a Kernel panic with thie last line saying ‘not syncing: VFS: Unable to mount root fs on unknown-block(0,0)’.
I then booted into a live environment via USB which booted normally, and tried these commands after mounting my file systems and arch-chrooting in:
pacman -Syu
mkinitcpio -P
grub-mkconfig -o /boot/grub/grub.cfg
The exact same kernel panic still happens even after these steps. Note that I do NOT see a grub screen of any kind when this happens, despite making the grub config with a timer and not hidden.
What next steps should I try?
Pudge
December 31, 2022, 4:29am
2
It looks like your M.2 drive is not being detected, so it can’t mount the root FileSystem.
Boot up and press F2 or Del to enter your UEFI, and go to the Boot Tab.
Make sure your M.2 is being detected and is the first choice to boot from.
If you haven’t configured your UEFI yet, Make sure CMS is off and secure boot is disabled.
Pudge
jaffa
December 31, 2022, 4:49am
3
I can see the M.2 drive in my BIOS and CSM and Secure boot are both already disabled.
It’s a swing…see if the drive’s UUID has changed (thus making fstab incorrect).
jaffa
December 31, 2022, 5:19am
5
In the live environment I can confirm the fstab on my installation is correct, all the UUIDs match, including the root and EFI partitions.
can you provide from USB live Endeavouros
sudo parted -l
inxi -Fza
mbod
December 31, 2022, 8:20am
7
You are only giving very few information about your setup.
What is your new motherboard? Does it support booting from M.2 / NVME drives?
Is this UEFI boot or BIOS boot?
What was your old motherboard, by the way?
What is the NVME?
Did you try with a new grub installation?
Chroot to your system, add vmd
to MODULES array in /etc/mkinitcpio.conf, run mkinitcpio -P again.
do you compared fstab entries with the real uuids ?
ls -l /dev/disk/by-uuid/
Way too many unknowns. What is the hardware? Are Secure boot and CSM disabled? What are the contents of the fstab. Does it match the real uuid’s.
1 Like
jaffa
December 31, 2022, 5:19pm
11
Sorry for the wait, just finished my new years shift at work.
sudo parted -l
:
Model: ATA SanDisk SDSSDP12 (scsi)
Disk /dev/sda: 126GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 126GB 126GB primary ext4
Model: ATA ST2000DM008-2FR1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1049GB 1049GB primary ntfs boot
2 1049GB 1579GB 530GB primary ext4
3 1579GB 1960GB 382GB primary ext4
4 1960GB 2000GB 40.0GB primary ntfs
Model: ATA WDC WD20EZAZ-00G (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1100GB 1100GB ext4
Model: Lexar USB Flash Drive (scsi)
Disk /dev/sdd: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 1931MB 2041MB 110MB primary fat16 esp
Error: /dev/nvme0n1: unrecognised disk label
Model: CT500P3SSD8 (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: KINGSTON SA2000M8500G (nvme)
Disk /dev/nvme1n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 msftdata
2 525MB 9115MB 8590MB linux-swap(v1) swap
3 9115MB 114GB 105GB ext4
4 114GB 324GB 210GB ext4
My root partition is /dev/nvme1n1p4, and EFI partition is /dev/nvme1n1p1. All the other drives are unmounted and are just for data and other crap.
inxi -Fza
:
System:
Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: initrd=\arch\boot\intel-ucode.img
initrd=\arch\boot\amd-ucode.img
initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch
archisolabel=EOS_202212 cow_spacesize=10G copytoram=n
module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr
nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes
Desktop: Xfce v: 4.18.0 tk: Gtk v: 3.24.35 info: xfce4-panel wm: xfwm
v: 4.18.0 vt: 1 dm: LightDM v: 1.32.0 Distro: EndeavourOS base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: Z590 AORUS ELITE AX v: x.x
serial: <superuser required> UEFI: American Megatrends LLC. v: F7
date: 11/03/2021
CPU:
Info: model: Intel Core i5-10400F bits: 64 type: MT MCP arch: Comet Lake
gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
model-id: 0xA5 (165) stepping: 5 microcode: 0xF4
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 2725 high: 2900 min/max: 800/4300 scaling:
driver: intel_pstate governor: powersave cores: 1: 2900 2: 2900 3: 2900
4: 800 5: 2900 6: 2900 7: 2900 8: 2900 9: 2900 10: 2900 11: 2900 12: 2900
bogomips: 69629
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: Enhanced IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte
driver: nouveau v: kernel alternate: nvidia_drm,nvidia non-free: 525.xx+
status: current (as of 2022-12) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s ports: active: DP-1,DP-2,DP-3
empty: DVI-D-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1c03 class-ID: 0300
temp: 27.0 C
Display: server: X.Org v: 21.1.5 compositor: xfwm v: 4.18.0 driver: X:
loaded: modesetting alternate: fbdev,nouveau,nv,vesa dri: nouveau
gpu: nouveau display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1524x285mm (60.00x11.22")
s-diag: 1550mm (61.04")
Monitor-1: DP-1 pos: primary,center model: HP 27y serial: <filter>
built: 2019 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: DP-2 pos: left model: HP 27y serial: <filter> built: 2019
res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23")
diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-3: DP-3 pos: right model: HP 27y serial: <filter> built: 2019
res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23")
diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 720x400
API: OpenGL v: 4.3 Mesa 22.3.1 renderer: NV136 direct render: Yes
Audio:
Device-1: Intel vendor: Gigabyte driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:f0c8 class-ID: 0403
Device-2: NVIDIA GP106 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f1
class-ID: 0403
Sound API: ALSA v: k6.0.12-arch1-1 running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
modules: wl bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-14:7 chip-ID: 8087:0026 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
Local Storage: total: 4.69 TiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:5 vendor: Crucial model: CT500P3SSD8
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: P9CR30A temp: 29.9 C
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Kingston model: SA2000M8500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: S5Z42105 temp: 34.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDP128G
size: 117.38 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> scheme: MBR
ID-4: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM008-2FR102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: 0001 scheme: MBR
ID-5: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD20EZAZ-00GGJB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 0A80 scheme: GPT
ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: Lexar
model: USB Flash Drive size: 29.81 GiB block-size: physical: 512 B
logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: N/A size: 10 GiB used: 91.4 MiB (0.9%) fs: overlay
source: ERR-102
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 32.0 C mobo: N/A gpu: nouveau temp: 27.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 927
Info:
Processes: 270 Uptime: 8m wakeups: 0 Memory: 31.22 GiB used: 2 GiB (6.4%)
Init: systemd v: 252 default: multi-user tool: systemctl Compilers:
gcc: 12.2.0 Packages: pm: pacman pkgs: 890 libs: 216 tools: yay Shell: Bash
v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.24
jaffa
December 31, 2022, 5:19pm
12
I tried this and the kernel panic is the same.
jaffa
December 31, 2022, 5:24pm
13
@joekamprad @ricklinux Yep I checked the UUIDs of the drives and they match what is still in the fstab. I used lsblk -f
to check them. Secure boot and CSM are both disabled as I mentioned in my earlier reply, and you can see my current hardware configuration in my other reply.
do you changed from AMD to intel cpu?
jaffa
December 31, 2022, 5:41pm
15
Nope the CPU is the same. The only thing I changed was the motherboard, and also added another 16 GB of ram, but everything else is the same.
What is the ram you had in it and what is the ram you added or switched to?
petsam
December 31, 2022, 5:43pm
17
Re-install your bootloader.
jaffa
December 31, 2022, 5:43pm
18
I went from 16 GB of mismatched GEIL/TeamGroup sticks (never heard of them tbh) to 32 GB of Corsair Vengeance
The TeamGroup stuff is cheap. You have better ram with Corsair Vengeance. What i would do is shut down and unplug and pull the ram out and then re-seat it just to make sure it’s installed properly. When installing ram push down both ends at the same time until the hold downs snap into place. Do not pull up the hold downs to install it.
There is also another UEFI bios update that you may consider updating at some point. Then if you still have an issue i would suggest as @petsam suggests to arch-chroot and reinstall the bootloader and update grub.
1 Like
jaffa
December 31, 2022, 5:53pm
20
This was the solution - before I only simply tried to update grub but I never thought about reinstalling it. I’m still quite a beginner at linux so these sort of issues and solutions definitely help me better my understanding of how all this stuff works. Thanks!
4 Likes