You are not logged in.

#1 2012-04-01 17:17:37

vinicius
Member
Registered: 2009-02-07
Posts: 37

Kernel update crashed boot

Hello,

I've done a full system update Arch doesn't boot any more. The following error message is shown:

ERROR: device `` not found. Skipping fsck.
ERROR: unable to find root device ``
You are being dropped to a recovery shell.

Searching around, I've found that this was a kernel update issue and I should boot from a live CD and do:

# mount /dev/sda8 /mnt
# mount /dev/sda7 /mnt/boot
# mount -t proc /proc /mnt/proc
# mount -t sysfs /sys /mnt/sys
# mount -o bind /dev /mnt/dev
# chroot /mnt /bin/bash

Done that, I should run:

# mkinitcpio -p linux

But this command returns me an error when autodetec hook is reached:

-> Parsing hook: [autodetect]
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)
==> ERROR: failed to detec root filesystem
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)

And I couldn't solve the problem. Usually I don't post questions because I always find solutions searching, but at this time I've spend half of a day without progress. sad
Could someone give me a hint, please?

Thanks in advance!

Offline

#2 2012-04-01 19:39:04

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Kernel update crashed boot

Try doublechecking your bootloader config (correct root partition listed,...) and reinstall the bootloader to wherever you have it installed (MBR,...).


Burninate!

Offline

#3 2012-04-01 20:18:55

vinicius
Member
Registered: 2009-02-07
Posts: 37

Re: Kernel update crashed boot

Gcool wrote:

Try doublechecking your bootloader config (correct root partition listed,...) and reinstall the bootloader to wherever you have it installed (MBR,...).

Hi, Gcool
I'm going to check that, latter I post if it worked.


Just an update: I quit trying to solve the findmnt problem and commented out the autodetect option from /etc/mkinitcpio.conf
Once I've done that, mkinitcpio runned just fine, but unfortunately the problem is still unsolved.

The complete output error from boot is:

mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
cat: can't open ´/proc/cmdline´: No such file or directory
:: Starting udev...
/lib/udev/udevd: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
done.
:: Running Hook [udev]
:: Triggering uevents...udevadm: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
done.
ERROR: device ´´ not found. Skipping fsck.
ERROR: Unable do find root device ´´.
You are being dorpped to a recovery shell
    Type ´exit´ to try and continue booting
sh: can't access tty; job control turned off

Offline

#4 2012-04-01 21:08:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Kernel update crashed boot

I don't know what you've done, but you've broken something really hard.

vinicius wrote:

I've done a full system update Arch doesn't boot any more. The following error message is shown:

What repos are enabled?

vinicius wrote:

Searching around, I've found that this was a kernel update issue and I should boot from a live CD and do:

What sort of Live CD did you end up booting from?

vinicius wrote:
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)

Arch doesn't use /lib64.

vinicius wrote:

ERROR: unable to find root device ``

At no point should the initramfs lose track of the "root" variable, but I figure this is collateral damage from everything else that's broken.

Offline

#5 2012-04-01 23:36:08

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Kernel update crashed boot

falconindy wrote:

Arch doesn't use /lib64.

$ ls /lib64
ld-2.15.so@  ld-linux-x86-64.so.2@

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-04-01 23:51:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Kernel update crashed boot

cfr wrote:
falconindy wrote:

Arch doesn't use /lib64.

$ ls /lib64
ld-2.15.so@  ld-linux-x86-64.so.2@

Now go compare that to a distro like Fedora or Ubuntu. The only reason those symlinks exist are for third party binary blobs where the interpreter is /lib64/ld-linux-x86-64.so.2. Rather than change the hardcoded interpreter, we add the symlinks. An Arch install running solely on in-house compiled software does not need /lib64.

Offline

#7 2012-04-02 02:49:38

vinicius
Member
Registered: 2009-02-07
Posts: 37

Re: Kernel update crashed boot

falconindy wrote:
vinicius wrote:

I've done a full system update Arch doesn't boot any more. The following error message is shown:

What repos are enabled?

I have tried changing server, but it is not that. By the way, current is:
ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/x86_64

falconindy wrote:
vinicius wrote:

Searching around, I've found that this was a kernel update issue and I should boot from a live CD and do:

What sort of Live CD did you end up booting from?

I'm using 2011.08.19 x86_64 netinstall live CD. It is still the current version in Arch site I think.

Another update:
I checked Gub configuration and everything looked fine, but I uninstalled Grub 0.97 and installed/configured Grub2 and rerun mkinitcpio just in case. No success.
So I tried to reinstall udev and mkinitcpio and the following message was shown:

warning: could not get filesystem information for /bootmnt: No such file or directory
warning: could not get filesystem information for /cowspace: No such file or directory
warning: could not get filesystem information for /sfs/root-image: No such file or directory
warning: could not get filesystem information for /sfs/lib-modules: No such file or directory
warning: could not get filesystem information for /sfs/usr-share: No such file or directory
warning: could not get filesystem information for /bootmnt: No such file or directory

Does this information help figuring out what is going on?

Offline

#8 2012-04-02 02:58:24

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Kernel update crashed boot

vinicius wrote:
falconindy wrote:
vinicius wrote:

I've done a full system update Arch doesn't boot any more. The following error message is shown:

What repos are enabled?

I have tried changing server, but it is not that. By the way, current is:
ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/x86_64

That's a mirror, not a repo. Note the unexpanded "$repo" tag in the URL.

vinicius wrote:

I checked Gub configuration and everything looked fine, but I uninstalled Grub 0.97 and installed/configured Grub2 and rerun mkinitcpio just in case. No success.

Great, so you've now added more variables.

vinicius wrote:

Does this information help figuring out what is going on?

Not really.

Running 'pacman -Qkq' in a chroot to your install (from the live cd) might be a good place to start.

Offline

#9 2012-04-02 03:24:55

vinicius
Member
Registered: 2009-02-07
Posts: 37

Re: Kernel update crashed boot

falconindy wrote:

That's a mirror, not a repo. Note the unexpanded "$repo" tag in the URL.

Sorry. The repositories are core, extra and community. Is that the answer for your question?

falconindy wrote:

Running 'pacman -Qkq' in a chroot to your install (from the live cd) might be a good place to start.

The output was:

dbus-core /var/run/dbus/
dcron /etc/cron.hourly/
filesystem /var/lock/
hal-info /usr/share/hal/fdi/information/20thirdparty/
hal-info /usr/share/hal/fdi/preprobe/20thirdparty/
ttf-ms-fonts /tmp/ttf-ms-fonts/
ttf-ms-fonts /tmp/ttf-ms-fonts/andale32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/arial32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/comic32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/corie32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/georgi32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/impact32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/times32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/trebuc32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/verdan32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/webdin32.exe

Offline

#10 2012-04-02 15:47:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Kernel update crashed boot

Do you have a separate /usr partition? The missing libblkid.so from earlier still seems mysterious to me...

Offline

#11 2012-04-02 16:03:46

vinicius
Member
Registered: 2009-02-07
Posts: 37

Re: Kernel update crashed boot

falconindy wrote:

Do you have a separate /usr partition? The missing libblkid.so from earlier still seems mysterious to me...

No. There are only two partitions for Arch:
sda6 -> swap
sda7 -> /boot
sda8 -> /

I was trying to backup my important stuff and notice that the lib64 problem also has broken mount and blkid (when chrooted). I think this might be the reason why the system can't boot properly.

Offline

#12 2012-04-02 19:55:22

vinicius
Member
Registered: 2009-02-07
Posts: 37

Re: Kernel update crashed boot

Sorry for double posting, but once I was unable to find a way to recover my Arch I've decided that would be better to format and reinstall the O.S. than to spend more time trying to fix that.

This is the first time I've faced a problem hard like that with Arch. sad

Anyway, I really appreciate your help guys.
Thank you very much!

Offline

#13 2012-07-15 16:02:54

cicadas
Member
Registered: 2012-07-15
Posts: 2

Re: Kernel update crashed boot

I've met such problem too.
I wonder whether it is related with the util-linux package. I have another laptop running arch either, and the laptop upgrades well with linux kernels.
and I can't find /lib/libmount.so.1 file in the well running arch system.
hope someone can help us with this.

vinicius wrote:

Hello,

I've done a full system update Arch doesn't boot any more. The following error message is shown:

ERROR: device `` not found. Skipping fsck.
ERROR: unable to find root device ``
You are being dropped to a recovery shell.

Searching around, I've found that this was a kernel update issue and I should boot from a live CD and do:

# mount /dev/sda8 /mnt
# mount /dev/sda7 /mnt/boot
# mount -t proc /proc /mnt/proc
# mount -t sysfs /sys /mnt/sys
# mount -o bind /dev /mnt/dev
# chroot /mnt /bin/bash

Done that, I should run:

# mkinitcpio -p linux

But this command returns me an error when autodetec hook is reached:

-> Parsing hook: [autodetect]
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)
==> ERROR: failed to detec root filesystem
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)

And I couldn't solve the problem. Usually I don't post questions because I always find solutions searching, but at this time I've spend half of a day without progress. sad
Could someone give me a hint, please?

Thanks in advance!

Offline

#14 2012-07-15 16:20:05

cicadas
Member
Registered: 2012-07-15
Posts: 2

Re: Kernel update crashed boot

I reinstalled my base and base-devel and reinstalled successfully.

I boot my computer with arch iso and run the following command:

# mount /dev/sda8 /mnt
# mount /dev/sda7 /mnt/boot
# mount -t proc /proc /mnt/proc
# mount -t sysfs /sys /mnt/sys
# mount -o bind /dev /mnt/dev
# pacman --root /mnt --cache /mnt/var/cache/pacman/pkg/ --config /mnt/etc/pacman.conf -S base base-devel

I wonder if it is a grub error

Last edited by cicadas (2012-07-15 16:33:51)

Offline

#15 2012-07-16 10:37:30

eKoeS
Member
From: Rome
Registered: 2010-04-05
Posts: 8
Website

Re: Kernel update crashed boot

-> Parsing hook: [autodetect]
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)
==> ERROR: failed to detec root filesystem
findmnt: /lib64/libmount.so.1: version `MOUNT_2.20` not found (required by findmnt)

I've actually solved the problem by deleting "libmount.so.1". If you've also got your system messed up due to the recent glibc update, then the following could kill two birds with one stone.

From a chroot environment:

mv /lib /lib.bkp
ln -s /usr/lib /lib
mv /lib64 /lib64.bkp
pacman -S glibc

It should work (at least it did for me), but I can't make promises! wink

Last edited by eKoeS (2012-07-16 14:50:38)


~ Oh captain, my captain!

Offline

#16 2012-07-30 17:41:33

mark-o-solo
Member
Registered: 2012-03-19
Posts: 77

Re: Kernel update crashed boot

That did not work for me, I still get the error :
mount: /lib/libmount.so.1: version 'MOUNT_2.20' not found (required by mount)
The same for MOUNT_2.21. This error still persists after chroot manual installs of util-linux and glibc. I also reinstalled grub just to be on the safe side. Could it be the util-linux is the wrong package to place the blame on ?

Last edited by mark-o-solo (2012-07-30 17:42:19)

Offline

#17 2012-07-31 14:23:04

mikecurry74
Member
Registered: 2012-07-31
Posts: 1

Re: Kernel update crashed boot

I just had the same issue.  I resolved it be reinstalling the distro's util-linux package, in my case, I had to do: sudo yum reinstall util-linux.

Offline

#18 2012-08-02 14:54:11

mark-o-solo
Member
Registered: 2012-03-19
Posts: 77

Re: Kernel update crashed boot

My problem was solved by running:
mkinitcpio -p linux

Offline

Board footer

Powered by FluxBB