[Solved] Device UUID not found, dropped into emergency shell

Hi there,
So this is the story of me trying to get my head around Manjaro, coming from windows, and from time to time, usually after a pacman update I can't boot anymore.

I've tried to solve this one but I'm getting nowhere so far so it's time to ask for help. Please let me know if this is the wrong section.

It all started with a package which was for some reason corrupted (bolt 0.7-2 I believe it was) and it lacked 2 of the 3 files usually present in the dedicated repository on my disk. After some googling I found that I can just copy paste the missing files from any other package. Pacman will complain that there is a mismatch nevertheless these will get replaced by new ones with the upcoming update to 0.8 in this case.

This worked great and around 150 packages were upgraded at the same time, and then post transaction hooks somehow threw this error :

call to execv failed (No such file or directory)
error: command failed to execute correctly

for each and every step in the post transaction hooks. Since this involves the kernel stuff and the fallback image I've choosen (maybe wrongly let me know, maybe newbie corner should have been a better (obvious) choice?) this section.

I was unsure what to do next and call the pacman -Syu one more time but it returned "nothing to do". And somehow after that I've rebooted and since then I'm stuck there.

I can't TTY, or SSH. I've tried to boot on a live usb stick to chroot, but I can't seem to be able to do it.

manjaro-chroot -a

sees the right partition and tries to mount it but then I end up with

failed to run command ‘/bin/bash’: No such file or directory 

I have my live usb stick ready, I'm just not sure about what to do next, and I do not know enough about linux to get through this by myself as it seems.
So a huge thank you ahead of time for your help and support. I'm running manjaro gnome on linux 4.14 if this helps.
Cheers

Hi there,

this is diffcult to analyse. It looks like some files are missing from your filesystem. Have you tried reinstalling manjaro (I hope you have a backup. If not, try to copy the files you want to keep to a safe place before the reinstallation). If you the the same problems again, then you might want to check your drive for errors.

What exactly have you done? Where did you get the files from?
Google is not a source for solutions only. It's also a source for drama...

You can use pacman without "chroot", using its own parameters.
IIRC --sysroot check man/help.

But you may need chroot to build kernel images

mkinitcpio -P

Jup. Reinstall i think.

Last time I seen that msg was, over worked over heated system, failing memory, failing hard drive, just some fluke try again from the very beginning from a fresh rested cooled system.

Hi there,
Sorry for the delayed answer.
I can't answer precisely to your question since I can't remember the exact name of the files from the top of my head, but I'll try to explain better :
In /etc/lib/pacman/local (or something like this, again sorry I can't remember everything from the top of my head) there is several folder, each corresponding to a specific package and version. In the folder bolt-0.7-2 there was only one file instead of 3 (I only remember that I'm supposed to have a files file and 2 others. The files and another one was missing for reason I have no idea about how it happened.

Since the package bolt was outdated (0.8) pacman wanted to update it but due to the 2 missing files, it failed preparing the transaction.
What I read as a solution for this specific problem is that I can go to any other folder (so another package) and grab the files and the other one, and paste it in the bolt-0.7-2 folder just so there are not missing anymore, but they do not correspond to the package. I ran again sudo pacman -Syu and it did not complain anymore, and it went ahead and upgraded around 150 packages with bolt 0.8 among them.

I was happy with that and then right after all the upgrades comes the post-transaction hooks and this is where it failed miserably. And then I rebooted.

The machine is quite new ( a few months) along with all the drives etc.
I would prefer to not reinstall (since I'm very afraid of losing stuff even if it should be the case). I'm just to new to feel comfortable doing that, and would largely prefer trying to fix it.

When you say I can use pacman without chroot, do you mean I can use pacman on my mounted system that I trying to restore ? I was thinking that I could that only after a chroot.
Also I have no idea why I can't get chroot to work, since this should be executed from my live usb stick ? unless I misunderstood things which could very well be the case.

Thanks for assisting !

Hi,

All of this computer is quite new including drives, disks etc. It was not over worked nor heated or anything like that. Probably just user error :slight_smile:

I wish I can try again from the very beginning as you say, but can't seem to be able to do so. If you'd be kind enough to provide just a little bit more guidance, that'd be great !

Thanks a lot.

This does not sound proper exactly AFAIK. Similar maybe. I wonder if and who proposed this was just, or you misunderstood.
Using a random package's files may bring a storm AFAIK, but I am not certain. Creating an empty file replacement is what I would test.
If I am right and you can't remember the package you used for replacement, there seems no way to avoid re-installation, which is safer and easier for you (and us) than bug-hunting this unknown situation.

Yes. Only mounting system partitions. But you said the system says there is nothing to upgrade, so there is no use, unless you want to (re)install some package. Which??

I can't remember where I've read this, but what was suggested was definitely a copy, not an empty file with the same name. They mentionned that sometimes the file is there but corrupted in its content, and so what was needed is a properly constructed file for this to work. Yes pacman would complain that there is a discripency between the content (which will say I belong to package X) and its location in folder package Y, but since the package will update, those copied file will get replaced in any case.

What I did in order :

  1. sudo pacman -Syyuu
    failed to prepare transaction. I somehow found out about "bolt" and its missing files. Found the advice on some forum, and copied the missing files from another package (pretty sure it was bash).
  2. sudo pacman -Syyuu
    prepared transaction OK
    download all up to date packages OK
    upgrade all packages including "bolt" OK (this is where I was thinking it's all done)
    post transaction hooks : all steps failed with the execv thing.
  3. sudo pacman -Syyuu
    again to see what happens. Since everything has been updated, it returned "nothing to do".
  4. reboot
    which does not boot anymore and I end up in emergency shell without keyboard so no TTY.

I've sudo mount /dev/sda2 /mnt which is my linux system, and checked the FSTAB file, and all the UUID and mouting points are good to go.

Since you say we can run pacman without having to resort to chroot, why not try and uninstall "bolt" which I'm certain the initial issue came from it ? And reinstall it after all is resolved ?

Before that maybe if we could try another sudo pacman -Syyuu and see what happens ?
How would I go about doing this ?

When do I need to run mkinitcpio -P ?

Thanks for your help, much appreciated

Possibilities match your memory.
Mount root partition and try to re-install bash. With example mount point /mnt/brokenrun

sudo pacman --sysroot /mnt/broken  -Syyu bash bolt

and wish it fixes this.

Edit: I suppose it will need chroot to run mkinitcpio and update-grub

sudo manjaro-chroot -a

Then, inside chroot

mkinitcpio -P
update-grub

Hi again,

sorry it took a little bit for me to test that.

I have tested what you suggest (except I mounted on /mnt instead of /mnt/broken) and just with bash to see what happens.

At first I have the following warning : bash-5.0.007-1 is up to date -- reinstalling and seeing the version number rings a bell - I confirm that it's the one I used to copy files to the bolt folder.

After that it's telling me that I have 54 packages that need upgrades, I proceed and then it stops with :

error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

First time I see this, but I hope we are making progress here. I did not try the rest (mkinitcpio since 1) I did nothing except the above so as of now I still can't chroot and 2) I think if we can make this pacman part work we might not need to go there (my newbie assumption))

Again, thanks for helping !

Can you post complete terminal output?

[manjaro@manjaro-gnome ~]$ sudo mount /dev/sda2 /mnt
[manjaro@manjaro-gnome ~]$ sudo pacman --sysroot /mnt -Syyu bash
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  7.28M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  66.1M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB   105M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
warning: bash-5.0.007-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (54) argon2-20190702-1  bzip2-1.0.7-2  cups-filters-1.25.1-1  dnssec-anchors-20190629-1  electron4-4.2.6-1  firefox-68.0-1  firefox-i18n-en-us-68.0-1  firefox-i18n-fr-68.0-1  freetype2-2.10.1-1
              game-devices-udev-0.4-1  grub-2.04-1  gtk-update-icon-cache-1:3.24.10-1  gtk3-1:3.24.10-1  imagemagick-7.0.8.53-1  lib32-bzip2-1.0.7-2  lib32-libdrm-2.4.99-1  lib32-libxt-1.2.0-1
              libdrm-2.4.99-1  libgweather-3.32.2-1  libmicrohttpd-0.9.65-1  libmm-glib-1.10.4-1  libraw-0.19.3-1  libssh-0.9.0-1  libuv-1.30.1-1  libva-2.5.0-1  manjaro-settings-manager-0.5.6-3
              manjaro-settings-manager-notifier-0.5.6-3  modemmanager-1.10.4-1  node-gyp-5.0.0-1  npm-6.10.0-1  pamac-cli-8.0.3-2  pamac-common-8.0.3-2  pamac-gtk-8.0.3-2  papirus-icon-theme-20190701-1
              perl-alien-build-1.78-1  pyqt5-common-5.12.3-2  python-jade-application-kit-2.0.7-2  python-pyqt5-5.12.3-2  qt5-base-5.13.0-7.1  qt5-declarative-5.13.0-1  qt5-imageformats-5.13.0-1
              qt5-location-5.13.0-1  qt5-styleplugins-5.0.0.20170311-15  qt5-svg-5.13.0-1  qt5-translations-5.13.0-1  qt5-webchannel-5.13.0-1  qt5-webengine-5.13.0-1  qt5-x11extras-5.13.0-1  qt5ct-0.39-2
              re2-20190701-1  semver-6.2.0-1  tzdata-2019b-1  webkit2gtk-2.24.3-1  bash-5.0.007-1

Total Download Size:   218.74 MiB
Total Installed Size:  982.06 MiB
Net Upgrade Size:       36.32 MiB

:: Proceed with installation? [Y/n] y
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I did not run these commands :

cd /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/

And as far as i understand, I read it could be causing pacman to return this message. What do you think ?

These are required for chroot, which is not what pacman uses with that parameter.
I can't think of a reason mtab is read during sync, unless there is a pre-hook with one of those packages.
I bet it maybe in one of the pamac packages. No other package looks suspect to check mount points. Or it maybe a bug. I don't know.
Maybe a packager can help @philm?

Well, I just tried and got through the update. Here is the full output :

[manjaro@manjaro-gnome mnt]$ sudo mount -t proc proc /mnt/proc
[manjaro@manjaro-gnome mnt]$ sudo mount -t sysfs sys /mnt/sys
[manjaro@manjaro-gnome mnt]$ sudo mount -o bind /dev /mnt/dev
[manjaro@manjaro-gnome mnt]$ sudo mount -t devpts pts /mnt/dev/pts
[manjaro@manjaro-gnome mnt]$ cd ..
[manjaro@manjaro-gnome /]$ cd home/
[manjaro@manjaro-gnome home]$ cd manjaro/
[manjaro@manjaro-gnome ~]$ sudo pacman --sysroot /mnt -Syyu bash
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  7.28M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  57.3M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB   105M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  44.7M/s 00:00 [##########################################################################] 100%
warning: bash-5.0.007-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (54) argon2-20190702-1  bzip2-1.0.7-2  cups-filters-1.25.1-1  dnssec-anchors-20190629-1  electron4-4.2.6-1  firefox-68.0-1  firefox-i18n-en-us-68.0-1  firefox-i18n-fr-68.0-1  freetype2-2.10.1-1
              game-devices-udev-0.4-1  grub-2.04-1  gtk-update-icon-cache-1:3.24.10-1  gtk3-1:3.24.10-1  imagemagick-7.0.8.53-1  lib32-bzip2-1.0.7-2  lib32-libdrm-2.4.99-1  lib32-libxt-1.2.0-1
              libdrm-2.4.99-1  libgweather-3.32.2-1  libmicrohttpd-0.9.65-1  libmm-glib-1.10.4-1  libraw-0.19.3-1  libssh-0.9.0-1  libuv-1.30.1-1  libva-2.5.0-1  manjaro-settings-manager-0.5.6-3
              manjaro-settings-manager-notifier-0.5.6-3  modemmanager-1.10.4-1  node-gyp-5.0.0-1  npm-6.10.0-1  pamac-cli-8.0.3-2  pamac-common-8.0.3-2  pamac-gtk-8.0.3-2  papirus-icon-theme-20190701-1
              perl-alien-build-1.78-1  pyqt5-common-5.12.3-2  python-jade-application-kit-2.0.7-2  python-pyqt5-5.12.3-2  qt5-base-5.13.0-7.1  qt5-declarative-5.13.0-1  qt5-imageformats-5.13.0-1
              qt5-location-5.13.0-1  qt5-styleplugins-5.0.0.20170311-15  qt5-svg-5.13.0-1  qt5-translations-5.13.0-1  qt5-webchannel-5.13.0-1  qt5-webengine-5.13.0-1  qt5-x11extras-5.13.0-1  qt5ct-0.39-2
              re2-20190701-1  semver-6.2.0-1  tzdata-2019b-1  webkit2gtk-2.24.3-1  bash-5.0.007-1

Total Download Size:   218.74 MiB
Total Installed Size:  982.06 MiB
Net Upgrade Size:       36.32 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 tzdata-2019b-1-x86_64                                                                             340.9 KiB  11.1M/s 00:00 [##########################################################################] 100%
 argon2-20190702-1-x86_64                                                                           30.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 bzip2-1.0.7-2-x86_64                                                                               53.3 KiB  0.00B/s 00:00 [##########################################################################] 100%
 dnssec-anchors-20190629-1-any                                                                       3.6 KiB  0.00B/s 00:00 [##########################################################################] 100%
 grub-2.04-1-x86_64                                                                                  9.0 MiB  93.2M/s 00:00 [##########################################################################] 100%
 freetype2-2.10.1-1-x86_64                                                                         459.8 KiB   150M/s 00:00 [##########################################################################] 100%
 imagemagick-7.0.8.53-1-x86_64                                                                       2.3 MiB   101M/s 00:00 [##########################################################################] 100%
 cups-filters-1.25.1-1-x86_64                                                                      787.2 KiB   128M/s 00:00 [##########################################################################] 100%
 gtk-update-icon-cache-1:3.24.10-1-x86_64                                                           14.1 KiB  4.60M/s 00:00 [##########################################################################] 100%
 libdrm-2.4.99-1-x86_64                                                                            245.6 KiB  0.00B/s 00:00 [##########################################################################] 100%
 gtk3-1:3.24.10-1-x86_64                                                                            10.7 MiB   104M/s 00:00 [##########################################################################] 100%
 re2-20190701-1-x86_64                                                                             158.9 KiB  51.7M/s 00:00 [##########################################################################] 100%
 libssh-0.9.0-1-x86_64                                                                             204.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 libva-2.5.0-1-x86_64                                                                              145.1 KiB  0.00B/s 00:00 [##########################################################################] 100%
 firefox-68.0-1-x86_64                                                                              48.2 MiB   103M/s 00:00 [##########################################################################] 100%
 firefox-i18n-en-us-68.0-1-any                                                                     383.8 KiB   125M/s 00:00 [##########################################################################] 100%
 firefox-i18n-fr-68.0-1-any                                                                        456.2 KiB   111M/s 00:00 [##########################################################################] 100%
 libgweather-3.32.2-1-x86_64                                                                         2.3 MiB  94.4M/s 00:00 [##########################################################################] 100%
 libmm-glib-1.10.4-1-x86_64                                                                        390.5 KiB  95.3M/s 00:00 [##########################################################################] 100%
 libraw-0.19.3-1-x86_64                                                                            289.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 libuv-1.30.1-1-x86_64                                                                             198.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 qt5-base-5.13.0-7.1-x86_64                                                                         12.0 MiB   107M/s 00:00 [##########################################################################] 100%
 manjaro-settings-manager-0.5.6-3-x86_64                                                             2.3 MiB   102M/s 00:00 [##########################################################################] 100%
 manjaro-settings-manager-notifier-0.5.6-3-x86_64                                                  269.1 KiB  87.6M/s 00:00 [##########################################################################] 100%
 modemmanager-1.10.4-1-x86_64                                                                     1087.9 KiB   106M/s 00:00 [##########################################################################] 100%
 pamac-common-8.0.3-2-x86_64                                                                       379.8 KiB   124M/s 00:00 [##########################################################################] 100%
 pamac-cli-8.0.3-2-x86_64                                                                           61.6 KiB  0.00B/s 00:00 [##########################################################################] 100%
 pamac-gtk-8.0.3-2-x86_64                                                                          131.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 perl-alien-build-1.78-1-any                                                                       292.1 KiB  71.3M/s 00:00 [##########################################################################] 100%
 pyqt5-common-5.12.3-2-x86_64                                                                      504.4 KiB  70.4M/s 00:00 [##########################################################################] 100%
 qt5-declarative-5.13.0-1-x86_64                                                                     4.0 MiB   110M/s 00:00 [##########################################################################] 100%
 qt5-webchannel-5.13.0-1-x86_64                                                                     59.4 KiB  0.00B/s 00:00 [##########################################################################] 100%
 qt5-location-5.13.0-1-x86_64                                                                        2.8 MiB   103M/s 00:00 [##########################################################################] 100%
 qt5-webengine-5.13.0-1-x86_64                                                                      41.0 MiB   104M/s 00:00 [##########################################################################] 100%
 python-pyqt5-5.12.3-2-x86_64                                                                        3.3 MiB   110M/s 00:00 [##########################################################################] 100%
 qt5-imageformats-5.13.0-1-x86_64                                                                  164.8 KiB  53.6M/s 00:00 [##########################################################################] 100%
 qt5-svg-5.13.0-1-x86_64                                                                           135.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
 qt5-translations-5.13.0-1-any                                                                    1450.3 KiB   109M/s 00:00 [##########################################################################] 100%
 qt5-x11extras-5.13.0-1-x86_64                                                                      13.0 KiB  0.00B/s 00:00 [##########################################################################] 100%
 webkit2gtk-2.24.3-1-x86_64                                                                         17.7 MiB   104M/s 00:00 [##########################################################################] 100%
 electron4-4.2.6-1-x86_64                                                                           35.7 MiB   105M/s 00:00 [##########################################################################] 100%
 game-devices-udev-0.4-1-any                                                                         8.4 KiB  0.00B/s 00:00 [##########################################################################] 100%
 libmicrohttpd-0.9.65-1-x86_64                                                                     196.1 KiB  0.00B/s 00:00 [##########################################################################] 100%
 semver-6.2.0-1-any                                                                                 20.2 KiB  6.58M/s 00:00 [##########################################################################] 100%
 node-gyp-5.0.0-1-any                                                                             1152.0 KiB   112M/s 00:00 [##########################################################################] 100%
 npm-6.10.0-1-any                                                                                    2.9 MiB   111M/s 00:00 [##########################################################################] 100%
 papirus-icon-theme-20190701-1-any                                                                  13.8 MiB   106M/s 00:00 [##########################################################################] 100%
 python-jade-application-kit-2.0.7-2-any                                                            37.1 KiB  12.1M/s 00:00 [##########################################################################] 100%
 qt5-styleplugins-5.0.0.20170311-15-x86_64                                                         416.1 KiB   135M/s 00:00 [##########################################################################] 100%
 qt5ct-0.39-2-x86_64                                                                               195.0 KiB  63.5M/s 00:00 [##########################################################################] 100%
 lib32-bzip2-1.0.7-2-x86_64                                                                         30.0 KiB  0.00B/s 00:00 [##########################################################################] 100%
 lib32-libdrm-2.4.99-1-x86_64                                                                      131.5 KiB  32.1M/s 00:00 [##########################################################################] 100%
 lib32-libxt-1.2.0-1-x86_64                                                                        153.7 KiB  0.00B/s 00:00 [##########################################################################] 100%
(54/54) checking keys in keyring                                                                                            [##########################################################################] 100%
(54/54) checking package integrity                                                                                          [##########################################################################] 100%
(54/54) loading package files                                                                                               [##########################################################################] 100%
(54/54) checking for file conflicts                                                                                         [##########################################################################] 100%
(54/54) checking available disk space                                                                                       [##########################################################################] 100%
warning: could not get file information for etc/bash.bash_logout
warning: could not get file information for etc/skel/.bash_logout
warning: could not get file information for etc/skel/.bash_profile
warning: could not get file information for usr/bin/bash
warning: could not get file information for usr/bin/bashbug
warning: could not get file information for usr/bin/sh
warning: could not get file information for usr/include/bash/alias.h
warning: could not get file information for usr/include/bash/array.h
warning: could not get file information for usr/include/bash/arrayfunc.h
warning: could not get file information for usr/include/bash/assoc.h
warning: could not get file information for usr/include/bash/bashansi.h
warning: could not get file information for usr/include/bash/bashintl.h
warning: could not get file information for usr/include/bash/bashjmp.h
warning: could not get file information for usr/include/bash/bashtypes.h
warning: could not get file information for usr/include/bash/builtins.h
warning: could not get file information for usr/include/bash/builtins/bashgetopt.h
warning: could not get file information for usr/include/bash/builtins/builtext.h
warning: could not get file information for usr/include/bash/builtins/common.h
warning: could not get file information for usr/include/bash/builtins/getopt.h
warning: could not get file information for usr/include/bash/command.h
warning: could not get file information for usr/include/bash/config-bot.h
warning: could not get file information for usr/include/bash/config-top.h
warning: could not get file information for usr/include/bash/config.h
warning: could not get file information for usr/include/bash/conftypes.h
warning: could not get file information for usr/include/bash/dispose_cmd.h
warning: could not get file information for usr/include/bash/error.h
warning: could not get file information for usr/include/bash/externs.h
warning: could not get file information for usr/include/bash/general.h
warning: could not get file information for usr/include/bash/hashlib.h
warning: could not get file information for usr/include/bash/include/ansi_stdlib.h
warning: could not get file information for usr/include/bash/include/chartypes.h
warning: could not get file information for usr/include/bash/include/filecntl.h
warning: could not get file information for usr/include/bash/include/gettext.h
warning: could not get file information for usr/include/bash/include/maxpath.h
warning: could not get file information for usr/include/bash/include/memalloc.h
warning: could not get file information for usr/include/bash/include/ocache.h
warning: could not get file information for usr/include/bash/include/posixdir.h
warning: could not get file information for usr/include/bash/include/posixjmp.h
warning: could not get file information for usr/include/bash/include/posixstat.h
warning: could not get file information for usr/include/bash/include/posixtime.h
warning: could not get file information for usr/include/bash/include/posixwait.h
warning: could not get file information for usr/include/bash/include/shmbchar.h
warning: could not get file information for usr/include/bash/include/shmbutil.h
warning: could not get file information for usr/include/bash/include/shtty.h
warning: could not get file information for usr/include/bash/include/stat-time.h
warning: could not get file information for usr/include/bash/include/stdc.h
warning: could not get file information for usr/include/bash/include/systimes.h
warning: could not get file information for usr/include/bash/include/typemax.h
warning: could not get file information for usr/include/bash/include/unionwait.h
warning: could not get file information for usr/include/bash/jobs.h
warning: could not get file information for usr/include/bash/make_cmd.h
warning: could not get file information for usr/include/bash/pathnames.h
warning: could not get file information for usr/include/bash/quit.h
warning: could not get file information for usr/include/bash/shell.h
warning: could not get file information for usr/include/bash/sig.h
warning: could not get file information for usr/include/bash/siglist.h
warning: could not get file information for usr/include/bash/signames.h
warning: could not get file information for usr/include/bash/subst.h
warning: could not get file information for usr/include/bash/syntax.h
warning: could not get file information for usr/include/bash/unwind_prot.h
warning: could not get file information for usr/include/bash/variables.h
warning: could not get file information for usr/include/bash/version.h
warning: could not get file information for usr/include/bash/xmalloc.h
warning: could not get file information for usr/include/bash/y.tab.h
warning: could not get file information for usr/lib/bash/Makefile.inc
warning: could not get file information for usr/lib/bash/basename
warning: could not get file information for usr/lib/bash/dirname
warning: could not get file information for usr/lib/bash/fdflags
warning: could not get file information for usr/lib/bash/finfo
warning: could not get file information for usr/lib/bash/head
warning: could not get file information for usr/lib/bash/id
warning: could not get file information for usr/lib/bash/ln
warning: could not get file information for usr/lib/bash/loadables.h
warning: could not get file information for usr/lib/bash/logname
warning: could not get file information for usr/lib/bash/mkdir
warning: could not get file information for usr/lib/bash/mypid
warning: could not get file information for usr/lib/bash/pathchk
warning: could not get file information for usr/lib/bash/print
warning: could not get file information for usr/lib/bash/printenv
warning: could not get file information for usr/lib/bash/push
warning: could not get file information for usr/lib/bash/realpath
warning: could not get file information for usr/lib/bash/rmdir
warning: could not get file information for usr/lib/bash/seq
warning: could not get file information for usr/lib/bash/setpgid
warning: could not get file information for usr/lib/bash/sleep
warning: could not get file information for usr/lib/bash/strftime
warning: could not get file information for usr/lib/bash/sync
warning: could not get file information for usr/lib/bash/tee
warning: could not get file information for usr/lib/bash/truefalse
warning: could not get file information for usr/lib/bash/tty
warning: could not get file information for usr/lib/bash/uname
warning: could not get file information for usr/lib/bash/unlink
warning: could not get file information for usr/lib/bash/whoami
warning: could not get file information for usr/lib/pkgconfig/bash.pc
warning: could not get file information for usr/share/doc/bash/CHANGES
warning: could not get file information for usr/share/doc/bash/COMPAT
warning: could not get file information for usr/share/doc/bash/FAQ
warning: could not get file information for usr/share/doc/bash/INTRO
warning: could not get file information for usr/share/doc/bash/NEWS
warning: could not get file information for usr/share/doc/bash/POSIX
warning: could not get file information for usr/share/doc/bash/RBASH
warning: could not get file information for usr/share/doc/bash/README
warning: could not get file information for usr/share/doc/bash/bash.html
warning: could not get file information for usr/share/doc/bash/bashref.html
warning: could not get file information for usr/share/info/bash.info.gz
warning: could not get file information for usr/share/locale/af/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/bg/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/ca/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/cs/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/da/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/de/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/el/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/en@boldquot/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/en@quot/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/eo/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/es/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/et/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/fi/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/fr/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/ga/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/gl/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/hr/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/hu/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/id/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/it/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/ja/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/lt/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/nb/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/nl/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/pl/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/pt/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/pt_BR/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/ro/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/ru/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/sk/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/sl/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/sr/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/sv/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/tr/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/uk/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/vi/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/zh_CN/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/locale/zh_TW/LC_MESSAGES/bash.mo
warning: could not get file information for usr/share/man/man1/bash.1.gz
warning: could not get file information for usr/share/man/man1/bashbug.1.gz
:: Running pre-transaction hooks...
(1/1) Remove Firefox Distribution Settings
:: Processing package changes...
( 1/54) upgrading tzdata                                                                                                    [##########################################################################] 100%
( 2/54) reinstalling bash                                                                                                   [##########################################################################] 100%
( 3/54) upgrading argon2                                                                                                    [##########################################################################] 100%
( 4/54) upgrading bzip2                                                                                                     [##########################################################################] 100%
( 5/54) upgrading freetype2                                                                                                 [##########################################################################] 100%
( 6/54) upgrading imagemagick                                                                                               [##########################################################################] 100%
( 7/54) upgrading cups-filters                                                                                              [##########################################################################] 100%
( 8/54) upgrading dnssec-anchors                                                                                            [##########################################################################] 100%
( 9/54) upgrading gtk-update-icon-cache                                                                                     [##########################################################################] 100%
(10/54) upgrading libdrm                                                                                                    [##########################################################################] 100%
(11/54) upgrading gtk3                                                                                                      [##########################################################################] 100%
(12/54) upgrading re2                                                                                                       [##########################################################################] 100%
(13/54) upgrading libssh                                                                                                    [##########################################################################] 100%
(14/54) upgrading libva                                                                                                     [##########################################################################] 100%
(15/54) upgrading electron4                                                                                                 [##########################################################################] 100%
(16/54) upgrading firefox                                                                                                   [##########################################################################] 100%
(17/54) upgrading firefox-i18n-en-us                                                                                        [##########################################################################] 100%
(18/54) upgrading firefox-i18n-fr                                                                                           [##########################################################################] 100%
(19/54) upgrading game-devices-udev                                                                                         [##########################################################################] 100%
(20/54) upgrading grub                                                                                                      [##########################################################################] 100%
(21/54) upgrading lib32-bzip2                                                                                               [##########################################################################] 100%
(22/54) upgrading lib32-libdrm                                                                                              [##########################################################################] 100%
(23/54) upgrading lib32-libxt                                                                                               [##########################################################################] 100%
(24/54) upgrading libgweather                                                                                               [##########################################################################] 100%
(25/54) upgrading libmicrohttpd                                                                                             [##########################################################################] 100%
(26/54) upgrading libmm-glib                                                                                                [##########################################################################] 100%
(27/54) upgrading libraw                                                                                                    [##########################################################################] 100%
(28/54) upgrading libuv                                                                                                     [##########################################################################] 100%
(29/54) upgrading qt5-base                                                                                                  [##########################################################################] 100%
(30/54) upgrading manjaro-settings-manager                                                                                  [##########################################################################] 100%
(31/54) upgrading manjaro-settings-manager-notifier                                                                         [##########################################################################] 100%
(32/54) upgrading modemmanager                                                                                              [##########################################################################] 100%
(33/54) upgrading semver                                                                                                    [##########################################################################] 100%
(34/54) upgrading node-gyp                                                                                                  [##########################################################################] 100%
(35/54) upgrading npm                                                                                                       [##########################################################################] 100%
(36/54) upgrading pamac-common                                                                                              [##########################################################################] 100%
(37/54) upgrading pamac-cli                                                                                                 [##########################################################################] 100%
(38/54) upgrading pamac-gtk                                                                                                 [##########################################################################] 100%
(39/54) upgrading papirus-icon-theme                                                                                        [##########################################################################] 100%
(40/54) upgrading perl-alien-build                                                                                          [##########################################################################] 100%
(41/54) upgrading pyqt5-common                                                                                              [##########################################################################] 100%
(42/54) upgrading qt5-declarative                                                                                           [##########################################################################] 100%
(43/54) upgrading qt5-webchannel                                                                                            [##########################################################################] 100%
(44/54) upgrading qt5-location                                                                                              [##########################################################################] 100%
(45/54) upgrading qt5-webengine                                                                                             [##########################################################################] 100%
(46/54) upgrading python-jade-application-kit                                                                               [##########################################################################] 100%
(47/54) upgrading python-pyqt5                                                                                              [##########################################################################] 100%
(48/54) upgrading qt5-imageformats                                                                                          [##########################################################################] 100%
(49/54) upgrading qt5-styleplugins                                                                                          [##########################################################################] 100%
(50/54) upgrading qt5-svg                                                                                                   [##########################################################################] 100%
(51/54) upgrading qt5-translations                                                                                          [##########################################################################] 100%
(52/54) upgrading qt5-x11extras                                                                                             [##########################################################################] 100%
(53/54) upgrading qt5ct                                                                                                     [##########################################################################] 100%
(54/54) upgrading webkit2gtk                                                                                                [##########################################################################] 100%
:: Running post-transaction hooks...
( 1/11) Warn about old perl modules
( 2/11) Copy Firefox Distribution Settings
( 3/11) Compiling GSettings XML schema files...
( 4/11) Probing GTK3 input method modules...
( 5/11) Updating icon theme caches...
( 6/11) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 7/11) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/11) Arming ConditionNeedsUpdate...
( 9/11) Updating the info directory file...
(10/11) Updating the desktop file MIME type cache...
(11/11) Updating the MIME type database...
[manjaro@manjaro-gnome ~]$ sudo pacman --sysroot /mnt -Syyu bolt
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  7.28M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  63.6M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB  92.5M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  59.6M/s 00:00 [##########################################################################] 100%
warning: bolt-0.8-2 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) bolt-0.8-2

Total Installed Size:  0.37 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                              [##########################################################################] 100%
(1/1) checking package integrity                                                                                            [##########################################################################] 100%
(1/1) loading package files                                                                                                 [##########################################################################] 100%
(1/1) checking for file conflicts                                                                                           [##########################################################################] 100%
(1/1) checking available disk space                                                                                         [##########################################################################] 100%
:: Processing package changes...
(1/1) reinstalling bolt                                                                                                     [##########################################################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/3) Reloading device manager configuration...
  Skipped: Device manager is not running.
(3/3) Arming ConditionNeedsUpdate...
[manjaro@manjaro-gnome ~]$ sudo pacman --sysroot /mnt -Syyuu
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  7.28M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  57.3M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB   105M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  59.6M/s 00:00 [##########################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do

I have the feeling that we're almost there. It seems logical that some of the post transaction hooks cannot be run since the root hasn't be booted, but is there a way to make it go through ?

Note that after that I was able to chroot (I probably omit to mount dev/sys/proc...) :

[manjaro@manjaro-gnome ~]$ sudo manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda2]
 --> mount: [/mnt]
mount: /mnt: /dev/sda2 already mounted on /mnt.
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]
 --> mount: [/mnt/home/data]
mount: /mnt/proc: proc already mounted on /proc.
[manjaro-gnome /]# sudo pacman -Syyuu
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  7.28M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  66.1M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB   105M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
[manjaro-gnome /]# sudo pacman -Syyu bolt
:: Synchronizing package databases...
 core                                                                                              149.0 KiB  6.33M/s 00:00 [##########################################################################] 100%
 extra                                                                                            1759.1 KiB  57.3M/s 00:00 [##########################################################################] 100%
 community                                                                                           5.3 MiB  99.5M/s 00:00 [##########################################################################] 100%
 multilib                                                                                          183.2 KiB  0.00B/s 00:00 [##########################################################################] 100%
warning: bolt-0.8-2 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) bolt-0.8-2

Total Installed Size:  0.37 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                              [##########################################################################] 100%
(1/1) checking package integrity                                                                                            [##########################################################################] 100%
(1/1) loading package files                                                                                                 [##########################################################################] 100%
(1/1) checking for file conflicts                                                                                           [##########################################################################] 100%
(1/1) checking available disk space                                                                                         [##########################################################################] 100%
:: Processing package changes...
(1/1) reinstalling bolt                                                                                                     [##########################################################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/3) Reloading device manager configuration...
  Skipped: Device manager is not running.
(3/3) Arming ConditionNeedsUpdate...
[manjaro-gnome /]# exit
exit
 --> umount: [/mnt/home/data]
 --> umount: [/mnt/home]
 --> umount: [/mnt/boot/efi]

I think this is very close to be resolved. Should I run

Thanks !

You may think this is off the wall but I'm pretty sure at one point recently the root not mounting was resolved by installing and switching to an older kernel such as 4.9.

I would try:

sudo mhwd-kernel -i linux49
sudo mkinitcpio -P
sudo update-grub

(if you are in chroot you will not require sudo)

It wouldn't hurt to test other kernels as well.

I just tried this :

[manjaro@manjaro-gnome ~]$ sudo manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda2]
 --> mount: [/mnt]
mount: /mnt: /dev/sda2 already mounted on /mnt.
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]
 --> mount: [/mnt/home/data]
mount: /mnt/proc: proc already mounted on /proc.
[manjaro-gnome /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
[manjaro-gnome /]# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'default'
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64.img
==> Starting build: 4.14.130-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'fallback'
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64-fallback.img -S autodetect
==> Starting build: 4.14.130-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64-fallback.img
==> Image generation successful
[manjaro-gnome /]# update-grub
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro-gnome /]# exit
exit
 --> umount: [/mnt/home/data]
 --> umount: [/mnt/home]
 --> umount: [/mnt/boot/efi]

Not sure about the end of update-grub knowing that I'm running EFI ?
I've not yet rebooted the machine but I'm very close to thinking this issue is closed. What do you guys think ?

Thanks

I believe @petsam is currently offline. I can't speak for him, but personally I would reboot and see what happens. If it has not progressed further I would try my suggestion regarding installing kernel 4.9. It may not make any difference, but it certainly wouldn't hurt to try either.

Thanks mate. I'm about to go offline as well and I'll try that including your earlier suggestions tomorrow.

Thanks for the help provided, I would be reinstalling right now without it and would have learnt nothing.

I'll report back after reboot.

1 Like