You are not logged in.

#1 2013-11-10 15:53:56

zb10948
Member
Registered: 2013-11-10
Posts: 2

Boot fails after pacman -Syu [SOLVED]

Hello forums,
I did a full system upgrade two days ago. Getting this on boot

early console in decompress_kernel

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
:: running early hook [udev]
:: running early hook [lvm2]
:: running hook [udev]
:: Triggering uevents...
:: running hook [v86d]
:: running hook [xfs]
:: performing fsck on '/dev/mapper/vg_phobos-lv_root'
/sbin/fsck.xfs: XFS file system.
filesystem '' cannot be mounted, unable to open the datases
:: running cleanup hook [lvm2]
:: running cleanup hook [udev]
ERROR: Failed to mount the real root device
Bailing out, you are on your own. Good luck.

sh: can't access tty: job control turned off
[rootfs /]#

LVM is fine and root partition is fine. I can mount it manually from initramfs console.
Running "./init" or exit at the console results in kernel panic, root mounted in /new_root or not.

pacman -Syu went without problems.

Thanks in advance.

Last edited by zb10948 (2013-11-10 18:00:52)

Offline

#2 2013-11-10 18:00:01

zb10948
Member
Registered: 2013-11-10
Posts: 2

Re: Boot fails after pacman -Syu [SOLVED]

The issue was initcpio ZFS hook. Evidently, if root partition isn't on ZFS the boot breaks.
In this case, ZFS should be handled by systemd service which will mount ZFS partitions from userland.

Procedure :

inside initcpio console, manually mount the root filesystem, chroot to it and run init

mount /dev/path/to/root /new_root
switch_root /new_root /sbin/init

System boots. Afterwards, remove zfs hook from /etc/mkinitcpio.conf and rerun mkinitcpio. Also check that zfs.service system unit is active and enabled.

Last edited by zb10948 (2013-11-10 18:00:37)

Offline

#3 2013-11-28 18:27:22

Daimusou
Member
Registered: 2012-05-25
Posts: 20

Re: Boot fails after pacman -Syu [SOLVED]

[deleted]

Last edited by Daimusou (2013-11-28 18:52:07)

Offline

#4 2013-11-28 18:59:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: Boot fails after pacman -Syu [SOLVED]

Moderator comment:

Daimusou:

DO NOT do that.  We regard deleting the contents of post as rude, and is against our policy
If you wish to redact something, edit the post.  Use BBBode strike though tags to redact what you would otherwise delete, and leave a note as to why.

Thank You


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB