You are not logged in.

#1 2013-04-02 17:51:16

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Kernel Panic: /bin/systemd cannot be found

Yesterday i turned my notebook off and now when i turn it on .... "/bin/systemd cannot be found" ... !?!

I did an update but i rebooted several times before turn it off and everything went well ... I don't know what to do, can you help me?

Last edited by TheImmortalPhoenix (2013-04-02 18:57:23)

Offline

#2 2013-04-02 17:58:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Kernel Panic: /bin/systemd cannot be found

Boot to a liveCD/usb and investigate.

Mount your root partition and see if the file is there, if not you may have to use pacman/pacstrap to reinstall systemd.

If it is there, check your bootloader configuration as it may be mounting the wrong partition as root - without other information, I suspect this is the most likely issue.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-04-02 18:06:10

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

Re: Kernel Panic: /bin/systemd cannot be found

In addition to Trilby's good suggestions, check your logs.

You may also want to update your thread title; it isn't a kernel panic and you may get more responses with an accurate title.


Not a Kernel & Hardware issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2013-04-02 18:59:29

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Kernel Panic: /bin/systemd cannot be found

@jasonwryan: sorry for wrong posting...

I followed Trilby's suggestion but i can't chroot my system, error is "/bin/bash doesn't exist"

I used live cd of Arch, Chakra and Ubuntu (64 bit, my system is 64 bit too)

Offline

#5 2013-04-02 19:12:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Kernel Panic: /bin/systemd cannot be found

To be sure were all on the same page, can you describe your partitioning scheme (example: mine is sda1=/boot sda2=swap sda3=/ sda4=/home) and describe which steps in the chroot process you've taken so far (e.g. did you mount to /mnt/, and which partitions in which order)?

What does an `ls -l` of your mounted root partition return?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-04-02 19:18:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Kernel Panic: /bin/systemd cannot be found

Chrooting should not be necessary with the pacstrap command (or using pacman with an alternate rootfs and whatnot).

Offline

#7 2013-04-02 19:21:17

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Kernel Panic: /bin/systemd cannot be found

I have just one partition /dev/sda5 --> ext4 --> / (Other partitions contain windows and data)
I used these commands:

sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys

Then i try to run "sudo chroot /mnt" but i have the error i wrote before..

'ls -l' of /mnt gives me all the directories (boot, bin, usr, home etc)

Offline

#8 2013-04-02 19:24:48

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Kernel Panic: /bin/systemd cannot be found

Instead of insisting on using a chroot, reinstall the recommended packages above, simply using pacman and specifying the rootfs as /mnt, or simply do this from the Arch live media and use pactrap.

Offline

#9 2013-04-02 19:27:40

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Kernel Panic: /bin/systemd cannot be found

Could you tell me the exact command, please?

Offline

#10 2013-04-02 19:28:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Kernel Panic: /bin/systemd cannot be found

I agree with W.W. Chrooting is not needed.  I started there as - if it had worked - it would be a good way to get to the bottom of this.  Pacman/pacstrap will do the job.  But you can also explore the mounted filesystem a bit to try to get to the bottom of what actually happened.  For example, are the files there?  Is there a /mnt/bin/bash or /mnt/bin/systemd file?  If so, are they properly symlinks to /usr/bin/bash, /usr/bin/systemd?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2013-04-02 19:29:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Kernel Panic: /bin/systemd cannot be found

TheImmortalPhoenix wrote:

Could you tell me the exact command, please?

Really?  You need to use pacstrap... it has a help section...

Offline

#12 2013-04-03 23:22:47

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Kernel Panic: /bin/systemd cannot be found

After checking my partition again, i noticed that grub.cfg is missing from /boot/grub ... I think that it's tha cause of the problem, how could i generate a new grub.cfg starting from my /etc/default/grub file?

Offline

#13 2013-04-04 02:34:43

arcaid
Member
Registered: 2013-02-22
Posts: 18

Re: Kernel Panic: /bin/systemd cannot be found

If I did read well what you're saying, to generate one:

# grub-mkconfig -o /boot/grub/grub.cfg

I think you could have easily found that, as it is even in the Beginner's Installation Guide

Offline

#14 2013-04-04 20:04:42

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Kernel Panic: /bin/systemd cannot be found

arcaid wrote:

If I did read well what you're saying, to generate one:

# grub-mkconfig -o /boot/grub/grub.cfg

I think you could have easily found that, as it is even in the Beginner's Installation Guide

I know i should use that command, but in live i get errors, i don't remeber now the exact error, something concerning "onion", i'll check in these days and i'll tell you

Offline

#15 2013-04-04 20:55:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Kernel Panic: /bin/systemd cannot be found

TheImmortalPhoenix wrote:

<snip>
something concerning "onion"
<snip>

WTF!?

Offline

Board footer

Powered by FluxBB