You are not logged in.

#1 2015-06-28 20:39:30

netc4t
Member
From: world of hacker
Registered: 2015-06-28
Posts: 4

/sbin/init does not exist .

Hey guys

Sorry if I'v made a dublicate topic , but after many search I couldn't find a solution for my issue .

Everything was fine but after mountign a USB cool dist my laptop was freezed and I had to restart the system and after restarting this happend :

ERROR: Root device mounted successfully, but /sbin/init does not exist.

I tried adding init location to grub by pressing 'e' and  it's said can't found the init command
I checked everything is there place
sbin/init and others

what can I do in rootfs$: ?

regards

Last edited by netc4t (2015-06-28 21:03:23)

Offline

#2 2015-06-28 20:46:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: /sbin/init does not exist .

This happened to me today.

Did you remove the systemd-sysvcompat package?

Offline

#3 2015-06-28 20:48:31

netc4t
Member
From: world of hacker
Registered: 2015-06-28
Posts: 4

Re: /sbin/init does not exist .

Head_on_a_Stick wrote:

This happened to me today.

Did you remove the systemd-sysvcompat package?

idk , maybe it's removed after upgrade -_-

[EDIT]

btw I try to reinstall the base packages from live disk /

Last edited by netc4t (2015-06-28 20:52:01)

Offline

#4 2015-06-28 20:51:16

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: /sbin/init does not exist .

netc4t wrote:

idk , maybe it's removed after upgrade -_-

I wouldn't think so.

Check /var/log/pacman.log

You can chroot into your system and re-install the package (that's what I did).

Offline

#5 2015-06-28 21:01:00

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: /sbin/init does not exist .

netc4t wrote:

btw I try to reinstall the base packages from live disk /

How exactly did you go about this?

netc4t wrote:

after mountign a USB cool dist

Please explain this is (much) more detail.

Offline

#6 2015-06-28 21:01:19

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,886
Website

Re: /sbin/init does not exist .

Please remove the superfluous "[issue]" tag from your title and read How To Ask Questions The Smart Way.

As mentioned, systemd-sysvcompat provides the /usr/bin/init symlink. But this should point to /usr/lib/systemd/systemd. Does this file exist?

Also, is /sbin a symlink to /usr/bin?

Last edited by WorMzy (2015-06-28 21:01:45)


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

#7 2015-06-28 21:05:23

netc4t
Member
From: world of hacker
Registered: 2015-06-28
Posts: 4

Re: /sbin/init does not exist .

Head_on_a_Stick wrote:
netc4t wrote:

btw I try to reinstall the base packages from live disk /

How exactly did you go about this?

netc4t wrote:

after mountign a USB cool dist

Please explain this is (much) more detail.

I'v checked the pacman.log and I found the systemd-sysvcompat package was upgraded :

[2015-06-28 19:39] [ALPM] upgraded systemd-sysvcompat (221-1 -> 221-2)

Offline

#8 2015-06-28 21:26:02

netc4t
Member
From: world of hacker
Registered: 2015-06-28
Posts: 4

Re: /sbin/init does not exist .

Sorry but I mount the root and after that I can't find the usr folder in root .
I wanted to reinstall the package by chroot but it's can't find the usr/bin/bash
sbin and bin directory's was symlinked to usr folder but it's not exist neutral

Offline

#9 2015-06-28 21:31:45

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: /sbin/init does not exist .

netc4t wrote:

sbin and bin directory's was symlinked to usr folder but it's not exist neutral

I'm not really following you here.

What is the output of:

ls -l /

Is it possible that your drive is failing?

Offline

#10 2015-06-28 21:57:48

netc4t2
Banned
From: -_-
Registered: 2015-06-28
Posts: 1

Re: /sbin/init does not exist .

Head_on_a_Stick wrote:
netc4t wrote:

sbin and bin directory's was symlinked to usr folder but it's not exist neutral

I'm not really following you here.

What is the output of:

ls -l /

Is it possible that your drive is failing?

Sorry I lost my last account becuz I was in live mod sad(

there is my mounted root /mnt/root

lrwxrwxrwx   1 root root     7 Feb 15 21:57 bin -> usr/bin
drwxr-xr-x   2 root root  4096 Feb 28 17:15 boot
drwxr-xr-x   3 root root  4096 Jun  2 17:48 build
drwxr-xr-x   2 root root  4096 Feb 28 17:40 dev
drwxr-xr-x 159 root root 12288 Jun 28 15:09 etc
drwxr-xr-x   2 root root  4096 Jul  4  2014 home
lrwxrwxrwx   1 root root     7 Feb 15 21:57 lib -> usr/lib
lrwxrwxrwx   1 root root     7 Feb 15 21:57 lib64 -> usr/lib
drwx------   3 root root 16384 Jun 28 18:02 lost+found
drwxr-xr-x   4 root root  4096 Mar 13 02:34 mnt
drwxr-xr-x  14 root root  4096 Jun 25 21:38 opt
dr-xr-xr-x   2 root root  4096 Feb 28 17:40 proc
drwxr-xr-x  81 root root  4096 Jun 28 02:10 root
drwxr-xr-x   2 root root  4096 Feb 28 17:40 run
lrwxrwxrwx   1 root root     7 Feb 15 21:57 sbin -> usr/bin
drwxr-xr-x   4 root root  4096 May 27 09:47 srv
dr-xr-xr-x   2 root root  4096 Feb 28 17:40 sys
drwxr-xr-x   3 root root  4096 May 23 23:41 SYWorks
drwxrwxrwt   7 root root  4096 Mar  1 03:29 tmp
drwxr-xr-x  18 root root  4096 Apr  1 17:10 var

I don't know really what is problem -_-
i'm going to mad

Last edited by netc4t2 (2015-06-28 22:00:41)

Offline

#11 2015-06-28 22:01:45

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: /sbin/init does not exist .

netc4t2 wrote:

Sorry I lost my last account becuz I was in live mod sad(

What? Your forum account should have nothing to do with how you log in.

Offline

#12 2015-06-28 22:06:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,886
Website

Re: /sbin/init does not exist .

Indeed. Please don't create multiple accounts.

https://wiki.archlinux.org/index.php/Fo … r_accounts

You are missing your /usr folder. This is a problem. You should check your filesystem's consistency with fsck (if applicable) and/or restore from your backups if necessary.


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

Board footer

Powered by FluxBB