You are not logged in.

#1 2016-10-04 16:01:20

Fixed
Member
Registered: 2005-08-09
Posts: 210

[Solved] Upgrade just crashed my system

Latest update (systemv related) crashed my system:

:: running early hook [udev]
starting version 231
:: running hook [udev]
:: Triggering uevents
:: running hooks [keymap]
::Loading keymap...done
:: performing fsck on '/dev/sda4'
/dev/sda4:clean, 349416/7340032 files, 14142004/29329771 blocks
***********WARNING*************************************
*
* The root device is not configured to be mounted
* read-write! It may be fsck'd again later.
*
************************************************************
:: mounting /dev/sda4' on real root
:: mounting cleanup hook [udev]
switch_root: failed to execute /sbin/init: Exec format error
;    3.659476] Kernel panic -- not syncing: Attempted to kill  init! exitcode=0x00000100


PLEASE HELP! I have very important presentation just in 16 hours!!!!

Last edited by Fixed (2016-10-08 17:58:45)


XFCE4 under Arch on Honor MagicBook

Offline

#2 2016-10-04 16:16:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,415
Website

Re: [Solved] Upgrade just crashed my system

Please change your topic title to remove the superfluous cry for help.

https://wiki.archlinux.org/index.php/Co … ow_to_post

What do you mean by "systemv related"? Are you still on initscripts?

Mod note: Not a pacman issue, moving to NC.

Last edited by WorMzy (2016-10-04 16:17:37)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-10-04 16:35:04

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: [Solved] Upgrade just crashed my system

this is fail in initramfs. try to boot in the fallback mode. also, you need to rebuild it using https://wiki.archlinux.org/index.php/mkinitcpio


core i5 4590, x86_64, nvidia 970

Offline

#4 2016-10-04 16:46:42

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

WorMzy wrote:

Please change your topic title to remove the superfluous cry for help.

Changed

What do you mean by "systemv related"? Are you still on initscripts?

There was something about systemv related in upgrade, but I'm not sure. Please disregard.


XFCE4 under Arch on Honor MagicBook

Offline

#5 2016-10-04 16:49:29

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

marvn wrote:

this is fail in initramfs. try to boot in the fallback mode

Can you give the pointer on how to do that, where to read?


XFCE4 under Arch on Honor MagicBook

Offline

#6 2016-10-04 16:55:32

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [Solved] Upgrade just crashed my system

There should be an option in your bootloader menu that says something-fallback. Try to boot that, but most likely you will have to rebuild your initramfs.

Offline

#7 2016-10-04 17:06:58

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

bstaletic wrote:

There should be an option in your bootloader menu that says something-fallback. Try to boot that, but most likely you will have to rebuild your initramfs.

I am using rEFInd loader and don't see any "fallback" options.

Here is what I have (editable) in rEFInd Line Editor:

root=UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971 initrd=boot\initramfs-linux.img

How to modify it to get fallback loaded?

Last edited by Fixed (2016-10-04 17:30:26)


XFCE4 under Arch on Honor MagicBook

Offline

#8 2016-10-04 17:25:43

loqs
Member
Registered: 2014-03-06
Posts: 18,056

Re: [Solved] Upgrade just crashed my system

REFInd#For_kernels_automatically_detected_by_rEFInd

Subsequent lines will create entries in a submenu accessible using +, F2, or Insert.

Edit:
If pressing F2 still only shows a single entry press F2 again to edit the entry and alter the initrd parameter that way.

Last edited by loqs (2016-10-04 17:27:20)

Offline

#9 2016-10-04 17:32:23

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:

REFInd#For_kernels_automatically_detected_by_rEFInd

Subsequent lines will create entries in a submenu accessible using +, F2, or Insert.

Edit:
If pressing F2 still only shows a single entry press F2 again to edit the entry and alter the initrd parameter that way.

I've got to that point. Now see:

root=UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971 initrd=boot\initramfs-linux.img

How to edit it?


XFCE4 under Arch on Honor MagicBook

Offline

#10 2016-10-04 17:37:42

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:

REFInd#For_kernels_automatically_detected_by_rEFInd

Subsequent lines will create entries in a submenu accessible using +, F2, or Insert.

Edit:
If pressing F2 still only shows a single entry press F2 again to edit the entry and alter the initrd parameter that way.

I've got to that point. How to edit the following line I see?

root=UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971 initrd=boot\initramfs-linux.img

]

Last edited by Fixed (2016-10-04 17:37:58)


XFCE4 under Arch on Honor MagicBook

Offline

#11 2016-10-04 17:40:41

loqs
Member
Registered: 2014-03-06
Posts: 18,056

Re: [Solved] Upgrade just crashed my system

You can not just edit the entry using the keyboard?

Offline

#12 2016-10-04 17:48:02

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:

You can not just edit the entry using the keyboard?

I can edit, but what should I correct?


XFCE4 under Arch on Honor MagicBook

Offline

#13 2016-10-04 17:51:09

loqs
Member
Registered: 2014-03-06
Posts: 18,056

Re: [Solved] Upgrade just crashed my system

initrd=boot\initramfs-linux.img

to

initrd=boot\initramfs-linux-fallback.img

Edit:
This is covered in Mkinitcpio#Image_creation_and_activation
Edit2:
If this still fails chroot in from live/installation media and rerun mkinitcpio

Last edited by loqs (2016-10-04 18:00:08)

Offline

#14 2016-10-04 18:27:40

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [Solved] Upgrade just crashed my system

Even running mkinitcpio could fail to make the pc bootable as the vmlinuz-linux could have been damaged, but I don't think this is likely.

Offline

#15 2016-10-04 18:42:26

Me@Work
Member
Registered: 2016-10-03
Posts: 10

Re: [Solved] Upgrade just crashed my system

Hello!


I've run on my computer today

pacman -Syu

and my system crashed during the installation as well. After a couple of minutes enjoying the black screen, I turned off the machine by pressing and holding the power button. The problem was not persistent and gone booting again. If that wouldn't have solved the issue, I would have boot from an USB stick and chroot (https://wiki.archlinux.org/index.php/Change_root) into my system to execute there:

mkinitcpio -p linux

Maybe this could help you.


Matthew

Last edited by Me@Work (2016-10-04 18:44:14)

Offline

#16 2016-10-04 19:36:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Upgrade just crashed my system

Me@Work: your issue is unrelated. Your computer didn't crash, the systemd update triggered a (known) dirty re-exec. Switching back to the TTY X was running on would have "solved" it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2016-10-04 19:57:39

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:
initrd=boot\initramfs-linux.img

to

initrd=boot\initramfs-linux-fallback.img

Edit:
This is covered in Mkinitcpio#Image_creation_and_activation
Edit2:
If this still fails chroot in from live/installation media and rerun mkinitcpio

I run

initrd=boot\initramfs-linux-fallback.img

but system fails with the same diagnostics.

Will try chroot.


XFCE4 under Arch on Honor MagicBook

Offline

#18 2016-10-04 21:32:28

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

I loaded installation media from USB, chrooted, run mkinitcpio -p linux, and that's what I get now:

:: running hook [keymap]
:: loading keymap...done
ERROR: device 'UUID=2e996be4-41bf-4ecd-8bca-c0e4c5067971' not found. Skipping fsck.
ERROR: 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 ]#

System is frozen at the mooment, doesn't accept any entry.


XFCE4 under Arch on Honor MagicBook

Offline

#19 2016-10-04 22:02:01

loqs
Member
Registered: 2014-03-06
Posts: 18,056

Re: [Solved] Upgrade just crashed my system

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
Also please post the entries from /var/log/pacman.log for your last update.

Offline

#20 2016-10-05 17:56:21

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:

Few sanity checks
From the live/install media what is the output of

# blkid

http://www.screencast.com/t/92sKOlOCg

From within the chroot

$ pacman -Qkk linux

There should be no mention of /boot/vmlinuz-linux in the output

http://www.screencast.com/t/J5evpr6HB0

Also please post the entries from /var/log/pacman.log for your last update.

http://www.screencast.com/t/GoxZFviD


XFCE4 under Arch on Honor MagicBook

Offline

#21 2016-10-05 17:58:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Upgrade just crashed my system

Don't post screenshots of text, paste the actual text (in code tags).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#22 2016-10-05 18:09:23

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

jasonwryan wrote:

Don't post screenshots of text, paste the actual text (in code tags).

I can't start browser in chroot. I need to retype huge amount of information into another computer.

How can I alleviate the issue?

Last edited by Fixed (2016-10-05 18:12:50)


XFCE4 under Arch on Honor MagicBook

Offline

#23 2016-10-05 18:09:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Upgrade just crashed my system


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2016-10-05 18:12:51

loqs
Member
Registered: 2014-03-06
Posts: 18,056

Re: [Solved] Upgrade just crashed my system

Strange blkid seems to show an entry that matches the UUID that can not be found by init.

Offline

#25 2016-10-05 18:14:18

Fixed
Member
Registered: 2005-08-09
Posts: 210

Re: [Solved] Upgrade just crashed my system

loqs wrote:

Strange blkid seems to show an entry that matches the UUID that can not be found by init.

True.

Can I change the UUID on the stage of rEFInd?


XFCE4 under Arch on Honor MagicBook

Offline

Board footer

Powered by FluxBB