You are not logged in.
loqs wrote:Strange blkid seems to show an entry that matches the UUID that can not be found by init.
Can I change the UUID on the stage of rEFInd?
Yes but to what? If the UUID is correct then it should not be changed.
One reason text is preferred over screen shots is to avoid having to interpret simlar looking characters such as '0' and 'O'
So please post the output requested as text
Offline
Few sanity checks
From the live/install media what is the output of# blkid
From within the chroot
$ pacman -Qkk linux
There should be no mention of /boot/vmlinuz-linux in the output
There is none.
Also please post the entries from /var/log/pacman.log for your last update.
XFCE4 under Arch on Honor MagicBook
Offline
Bug or broken installation?
Tried to update/re-install the kernel (and possible related packages with extra modules) from the chrooted session?
Downgrade the kernel?
Offline
None of the refind documentation on our wiki shows using UUIDs, only PARTUUIDs which are different. I don't know if UUIDs are not supported or problematic with refind, but this does give an option to try: use root=PARTUUID=d2e9f07e-fa87-4c03-9cb0-3aa6c9050853
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
refind supports UUIDs: http://www.rodsbooks.com/efi-bootloaders/refind.html
Offline
Should not the root paramter be passed unaltered to the initrd anyway?
ERROR: device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971' not found. Skipping fsck.
ERROR: unable to find root device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971' .
Are those errors not coming from the initrd not the botoloader?
System is frozen at the mooment, doesn't accept any entry.
If Fixed could access the rescue shell would ask for blkid / fsck / mount from that but the previous quote prevents it but again would seem to point to an initrd issue.
Offline
It's weird, because my kernel upgrade (4.7.5 -> 4.7.6) also led to a crash yesterday, but in my case vmlinuz-linux was missing afterwards. Your kernel seems to be there, but I would do a kernel downgrade/re-install as suggested here earlier.
Offline
It's weird, because my kernel upgrade (4.7.5 -> 4.7.6) also led to a crash yesterday, but in my case vmlinuz-linux was missing afterwards. Your kernel seems to be there, but I would do a kernel downgrade/re-install as suggested here earlier.
I downgraded kernel to 4.7.5, I've got:
::running hook [keymap]
::loading keymap...done.
ERROR: device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971' not found. Skipping fsck.
ERRORr: Unable to find root device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs ]#
Shell is frozen now.
XFCE4 under Arch on Honor MagicBook
Offline
See https://bbs.archlinux.org/viewtopic.php?id=165696
A rEFInd issue?
=> Try https://bbs.archlinux.org/viewtopic.php … 4#p1659054 or simply "root=/dev/sda4"
Offline
Oh, and please post your entire refind-linux.conf somewhere (sorry if I just missed it)
Offline
[2016-10-04 10:01] [PACMAN] Running 'pacman -Syu'
[2016-10-04 10:01] [PACMAN] synchronizing package lists
[2016-10-04 10:01] [PACMAN] starting full system upgrade
[2016-10-04 10:02] [ALPM] transaction started
[2016-10-04 10:02] [ALPM] upgraded qt4 (4.8.7-9 -> 4.8.7-10)
[2016-10-04 10:02] [ALPM] transaction completed
[2016-10-04 10:02] [ALPM] running 'gtk-update-icon-cache.hook'...
[2016-10-04 10:02] [ALPM] running 'update-desktop-database.hook'...
As the linux package was not part of the full upgarde it was already up to date and I assume was was version 4.7.6-1.
Did you ever successfully boot with this kernel? If not what was the last kernel that did successfully boot?
Would suggest as the downgrade was unsuccessful installing the linux-lts package alongside the linux package to see if that boots.
Depending on how the bootloader is configured you may have to manually create an entry for it.
Also you seem to be confusing quote tags and code tags
Offline
Referring to post #33.
I recently had the same message of errors. I went into arch-chroot and run:
sudo arch-chroot /mnt/arch pacman -S --force mkinitcpio systemd linux linux-lts
and was back on my feet . Not sure if this applicable here.
Last edited by philo (2016-10-07 09:51:08)
Offline
Hello Everyone,
And thanks for involvement into investigation.
Maybe I've found some traces of what caused this screw-up.
I used this installation for 3 years on MacBook Air without any major glitch.
The troubling update appeared for sure on Oct. 4th, since I update daily. On October 4th I hit 'pacman -Syu', which passed the phase of downloading packages OK, but completely crashed the system during installation. The only thing I recall, it was connected with upgrading some libraries mentioning systemd.
Today, I tried to downgrade several of them, and found that corresponding packages are missing or corrupt.
For example, that's what I see after chroot;
[root#archiso /]# pacman -U /var/cache/pacman/pkg/systemd-231-3-x86_64.pkg.tar.xz
One thing which confuses me, is the date of the package on the disk: Oct.2nd, but crush happened on Oct. 4th.
Attempt to install earlier version of the package systemd-231-1 reports:
Same story of corrupted packages (the latest versions):
systemd-sysvcompat-231-3-x86-64.pkg.tar.xz
libsystemd-231-3-x86_64.pkg.tar.xz
The package
lib32-systemd
is not corrupted though.
Edit1: In old "good" times of systemv, I was able to go to /var/log/messages and screen the log of console. This could help to identify which specific package update trashed the system.
Last edited by Fixed (2016-10-07 10:25:34)
XFCE4 under Arch on Honor MagicBook
Offline
Referring to post #33.
I recently had the same message of errors. I went into arch-chroot and run:
sudo arch-chroot /mnt/arch pacman -S --force mkinitcpio systemd linux linux-lts
and was back on my feet . Not sure if this applicable here.
After using your suggestion I have the same:
::running hook [keymap]
::loading keymap...done.
ERROR: device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971' not found. Skipping fsck.
ERRORr: Unable to find root device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs ]#
Shell is frozen now
XFCE4 under Arch on Honor MagicBook
Offline
Do you have a post-transaction hook for systemd update? If yes, remove it first while in arch-chroot.
EDIT- That hook would be in: /usr/share/libalpm/hooks/
Last edited by philo (2016-10-07 12:30:32)
Offline
Tips_and_tricks#Reinstalling_all_packages
# pacman -Qnq | pacman -S -
That will obviously fail due to the existing files in the filesystem but it may be able to be used to create a list of packages that have files already in the filesystem
# pacman -Qnq | pacman -S - | grep "exists in filesystem" | cut -d : -f 1 | unique damagedpackages
I can not test this as I do not have any packages in this condition.
Would also recommend compiling a list of packages that pacman detects as having been modified
$ pacman -Qkk
You will need to use your judgment about which modifications are due to corruption and which are not.
Both of the above methods may also fail due to corruption of the pacman database files.
Offline
Do you have a post-transaction hook for systemd update? If yes, remove it first while in arch-chroot.
EDIT- That hook would be in:
/usr/share/libalpm/hooks/
I don't see any post-transaction hooks in
/usr/share/libalpm/hooks/
:
look at the hooks in this directory:
Last edited by Fixed (2016-10-07 13:02:53)
XFCE4 under Arch on Honor MagicBook
Offline
You do not have a post-transaction hook for systemd upgrades unless you created one yourself.
In your post #38, "https://ptpb.pw/415b" shows that you need the argument "--force"" inserted in the command suggested in my post #37.
Offline
In your post #38, "https://ptpb.pw/415b" shows that you need the argument "--force"" inserted in the command suggested in my post #37.
You are suggesting using the --force option without a warning of the dangers that entails, on a a system where the state of the pacman database is unknown, where the list of packages that contain untracked files is unknown and the state of the filesystem itself is unknown and the root cause of the issue is unknown.
Without even checking if Fixed has backups first in case your suggestion makes the situation worse.
Edit:
Leaving the previous reasons aside at the very least --force should not be used with the linux package as Fixed report being able to successfully downgrade that in post #33 and not with linux-lts or mkinitcpio packages as there is nothing in this thread that I can find indicating pacman can not operate on those packages without the --force flag.
Edit2:
Do you have a post-transaction hook for systemd update? If yes, remove it first while in arch-chroot.
How could it be a post-transaction hook
Errors occurred, no packages were upgraded.
Not
....
[ALPM] transaction started
....
[ALPM] transaction completed
Only after which would post-transaction hooks be run.
Last edited by loqs (2016-10-07 14:29:07)
Offline
Everyone,
I really appreciate your involvement and help with the problem.
I can spend days, but not weeks resolving the issue, since Arch is the tool in my research, and the problem is obviously beyond standard methods of system recovery.
I am sorry for not able to continue to stay in this investigation, as am in the beginning of one of the biggest project of my life.
Yesterday I saved my \home directory and reformatted the disk, and now in another pain of trying to set up dual boot of new OSX "Sierra" and Arch.
Fixed
XFCE4 under Arch on Honor MagicBook
Offline
Yesterday I saved my /home directory and reformatted the disk, and now in another pain of trying to set up dual boot of new OSX "Sierra" and Arch.Fixed
So this thread can be considered as closed.
Last edited by philo (2016-10-08 12:59:07)
Offline
Fixed,
Please do not used the [CLOSED] tag in your title. Closed implies that a moderator has closed and locked the thread.
https://wiki.archlinux.org/index.php/Co … ow_to_post (second bullet from end)
Thanks.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
So it was caused by a bug in systemd 231-1 (not 231-3)?
https://bugs.archlinux.org/task/51275
Last edited by philo (2016-10-09 18:46:54)
Offline