You are not logged in.
Hello everybody!
Yesterday my system froze. I turned it off by the power button. When restarted it got
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
I tried in GRUB
set root=(hd0,1)
linux /boot/vmlinuz-linux-ck-ivybridge root=/dev/sda1
initrd /boot/initramfs-linux-ck-ivybridge.img
boot
Did not help.
I have Debian on another partition. I chrooted from there.
22:49:43 @ root
~ > # mount /dev/sda1 /mnt/arch
22:49:59 @ root
~ > # cd /mnt/arch
22:50:13 @ root
/mnt/arch > # mount -t proc /proc proc/
22:50:19 @ root
/mnt/arch > # mount -t sysfs /sys sys/
22:50:39 @ root
/mnt/arch > # mount --rbind /dev dev/
22:51:06 @ root
/mnt/arch > # cp /etc/resolv.conf etc/resolv.conf
22:51:29 @ root
/mnt/arch > # chroot /mnt/arch /bin/bash
Here is the output of 'pacman -Qkk'
/ # pacman -Qkk | grep warning
warning: arch-wiki-man: /usr/bin (UID mismatch)
warning: arch-wiki-man: /usr/bin (GID mismatch)
warning: audit: /var/log/audit (Permissions mismatch)
warning: cups: /etc/cups/classes.conf (Permissions mismatch)
warning: cups: /etc/cups/printers.conf (Permissions mismatch)
warning: filesystem: /root (UID mismatch)
warning: filesystem: /root (GID mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.alias (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.alias.bin (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.builtin.bin (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.dep (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.dep.bin (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.devname (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.softdep (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.symbols (Modification time mismatch)
warning: linux-ck-ivybridge: /usr/lib/modules/5.4.2-1-ck-ivybridge/modules.symbols.bin (Modification time mismatch)
warning: python2-gobject2: /usr/lib/python2.7/site-packages/glib/__init__.pyc (Modification time mismatch)
warning: python2-gobject2: /usr/lib/python2.7/site-packages/glib/option.pyc (Modification time mismatch)
warning: python2-gobject2: /usr/lib/python2.7/site-packages/gobject/__init__.pyc (Modification time mismatch)
warning: python2-gobject2: /usr/lib/python2.7/site-packages/gobject/constants.pyc (Modification time mismatch)
warning: python2-gobject2: /usr/lib/python2.7/site-packages/gobject/propertyhelper.pyc (Modification time mismatch)
warning: shadow: /usr/bin/newgidmap (Permissions mismatch)
warning: shadow: /usr/bin/newuidmap (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
warning: vim-rainbow-parentheses-improved: /usr/share/vim/vimfiles (Permissions mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
P.S. reinstalling the kernel did not help either.
Any suggestions are highly appreciated!
Thank you in advance!
Last edited by amaro (2021-02-25 23:00:13)
Offline
P.S. reinstalling the kernel did not help either.
https://archlinux.org/news/moving-to-zs … kinitcpio/ ?
What's "file /mnt/boot/initramfs-linux-ck-ivybridge.img"?
Online
Thank you, seth!
I have read your suggestion. Also have also read this similar thread https://bbs.archlinux.org/viewtopic.php?id=263973.
So I uncommented the 'gzip' option in 'mkinitcpio.conf' file.
Then re-generated the existing presets as the wiki suggests https://wiki.archlinux.org/index.php/Mkinitcpio.
/ # vim /etc/mkinitcpio.conf
[ 00:08:36 root@470 ]
/ # mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-ck-ivybridge.preset: 'default'
-> -k /boot/vmlinuz-linux-ck-ivybridge -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-ck-ivybridge.img
==> Starting build: 5.4.2-1-ck-ivybridge
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-ck-ivybridge.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-ck-ivybridge.preset: 'fallback'
-> -k /boot/vmlinuz-linux-ck-ivybridge -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-ck-ivybridge-fallback.img -S autodetect
==> Starting build: 5.4.2-1-ck-ivybridge
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-ck-ivybridge-fallback.img
==> Image generation successful
Will reboot now.
Offline
Yes.
I am typing this from my working Arch.
Thank you, seth!
I have one question, though...
When installing newer kernels should I disable the 'gzip' option again?
Offline
zstd is much faster to decompress and therefore introduced as package and initramfs standard.
So if you want those benefits … ;-)
Online