You are not logged in.

#1 2013-06-05 12:37:09

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

[solved] after update - cant boot - /sbin/iinit does not exist

I updated like was written here https://www.archlinux.org/news/binaries … ervention/
but I now see that the update comand now changed (my RSS reader didnt update this)

I updated with the old comand and updated bash afterwards.
reboot didn´t work so I made a hard reset.

now I got this error after grub:

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

please help

Last edited by capoeira (2013-06-05 17:35:26)

Offline

#2 2013-06-05 12:41:32

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [solved] after update - cant boot - /sbin/iinit does not exist

Do you have init=/sbin/init as a boot parameter for the kernel? Then you should change it in the bootloader to init=/usr/lib/systemd/systemd. If systemd-sysvcompat is installed you can remove this parameter alltogether.

Edit: And which "old command" did you use to update?

Last edited by ball (2013-06-05 12:43:00)

Offline

#3 2013-06-05 12:51:39

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [solved] after update - cant boot - /sbin/iinit does not exist

ball wrote:

Do you have init=/sbin/init as a boot parameter for the kernel? Then you should change it in the bootloader to init=/usr/lib/systemd/systemd. If systemd-sysvcompat is installed you can remove this parameter alltogether.

systemd-sysvcompat is installed, I think, because I made full switch to systemd. And there is no init parameter in the grub entry

ball wrote:

Edit: And which "old command" did you use to update?

I cant reproduce because obviously I cant access my RSS-reader now. The comand changed in the news-entry

Offline

#4 2013-06-05 12:52:56

nims11
Member
Registered: 2013-06-05
Posts: 3

Re: [solved] after update - cant boot - /sbin/iinit does not exist

I also screwed up my update and ended up with the same error. I actually straightaway did a

# pacman -Syu --ignore filesystem,bash
# pacman -S bash

Also, my pacman was failing to download anything after this from the internet independent of the external downloader i used. So I rebooted and ended up this way.

I solved it by Booting from a LiveCD, chroot-ing into Arch root partition, Fixing packages in /bin, /sbin,  downloaded the *.xz for filesystem 2013.05-2 from https://www.archlinux.org/packages/ and installed it with "pacman -U".

Last edited by nims11 (2013-06-05 12:54:23)

Offline

#5 2013-06-05 13:07:36

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [solved] after update - cant boot - /sbin/iinit does not exist

one thing I didnt do is

# pacman -Su

can this be the issue?
how is filesystem supposed to be updated anyways, since it doesnt appear in the news article?

I still have the old filesystem package.


will try install filesystem with livecd if noone has another solution

Offline

#6 2013-06-05 13:10:50

nims11
Member
Registered: 2013-06-05
Posts: 3

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:

one thing I didnt do is

# pacman -Su

can this be the issue?
how is filesystem supposed to be updated anyways, since it doesnt appear in the news article?

I still have the old filesystem package.


will try install filesystem with livecd if noone has another solution

Filesystem was supposed to updated via

# pacman -Su

Offline

#7 2013-06-05 13:19:22

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:

how is filesystem supposed to be updated anyways, since it doesnt appear in the news article?

Did you actually read the news post? This is the very reason for this whole procedure.

capoeira wrote:

will try install filesystem with livecd if noone has another solution

I guess this is the canonical solution in your case. But before updating make sure that you follow the advices given in the news post: fix all packages which have files in the problematic directories. Otherwise filesystem will refuse to install.

Offline

#8 2013-06-05 13:27:40

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:

how is filesystem supposed to be updated anyways, since it doesnt appear in the news article?

Filesystem is pretty much supposed to be updated, you will see it if you manage to have your system functional.
Just look at it with the command

# ls -la / 

and

# ls -la /usr/

and you will see that /bin /sbin and /usr/sbin became symlinks to /usr/bin.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#9 2013-06-05 13:55:41

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [solved] after update - cant boot - /sbin/iinit does not exist

sorry, irelevant now. dificult to read some comands in the wiki without copy/paste

Last edited by capoeira (2013-06-05 15:20:50)

Offline

#10 2013-06-05 14:05:27

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:

delete

Please don't do that.

All the best,

-HG

Offline

#11 2013-06-05 14:52:31

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

Re: [solved] after update - cant boot - /sbin/iinit does not exist

Capoeira:  HalosGhost is absolutely correct.  We consider post blanking to be rude and inconsiderate of other's time and effort.  If you want, change the text to strike through and leave a note as to why it is no longer relevant.  Abuse of the forum rules can lead to a temporary ban.


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

#12 2013-06-05 15:19:33

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [solved] after update - cant boot - /sbin/iinit does not exist

HalosGhost wrote:
capoeira wrote:

delete

Please don't do that.

All the best,

-HG

sorry, I cant find the right proceedure in the link


ball wrote:
capoeira wrote:

how is filesystem supposed to be updated anyways, since it doesnt appear in the news article?

Did you actually read the news post? This is the very reason for this whole procedure.

capoeira wrote:

will try install filesystem with livecd if noone has another solution

I guess this is the canonical solution in your case. But before updating make sure that you follow the advices given in the news post: fix all packages which have files in the problematic directories. Otherwise filesystem will refuse to install.

I have done the steps and only found e4rat-lite and uninstalled it

I now chrooted into the system but cant update filesystem

doing it again

pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
error:  No package owns /sbin
error: failed to read file ´/sbin´ : No such file or directory

in /bin there is only 1 file called install, I guess its from the livecd? since I am chrooted this shouldnt be there?

Offline

#13 2013-06-05 15:22:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

if you're chrooted, it's not from the install disk. What is it? try file /bin/install or cat /bin/install

Offline

#14 2013-06-05 15:28:52

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [solved] after update - cant boot - /sbin/iinit does not exist

Scimmia wrote:

What is it? try file /bin/install

this informed me its a symbolic link to /usr/bin/install

can I delete the whole directory?

Offline

#15 2013-06-05 15:29:12

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [solved] after update - cant boot - /sbin/iinit does not exist

I ran through the commands as required by the news feed, I can see the symlinks but I can't boot. I have a folder called new_root hanging around

Last edited by yungtrizzle (2013-06-05 15:32:58)

Offline

#16 2013-06-05 15:29:45

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:
HalosGhost wrote:

sorry, I cant find the right proceedure in the link

Then read it again. The paragraph clearly implicates that your blanking of posts is strongly undesirable.

capoeira wrote:

in /bin there is only 1 file called install, I guess its from the livecd? since I am chrooted this shouldnt be there?

Chrooting won't copy any files to your system. Investigate the file, it must have been created by you.

Offline

#17 2013-06-05 15:31:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

capoeira wrote:
Scimmia wrote:

What is it? try file /bin/install

this informed me its a symbolic link to /usr/bin/install

can I delete the whole directory?

If that's the only thing in /bin, then yes, delete the whole dir.

Offline

#18 2013-06-05 15:31:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

yungtrizzle wrote:

I ran through the commands as required by the news feed, I can see the symlinks both I can't boot. I have a folder called new_root hanging around

Interesting, why not? What errors are you getting?

Last edited by Scimmia (2013-06-05 15:32:45)

Offline

#19 2013-06-05 15:39:01

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [solved] after update - cant boot - /sbin/iinit does not exist

It gives me the same error as capoeira. I can run some commands but nothing of use except vi.

Offline

#20 2013-06-05 15:41:38

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [solved] after update - cant boot - /sbin/iinit does not exist

yungtrizzle wrote:

It gives me the same error as capoeira. I can run some commands but nothing of use except vi.

Did you already do what has been suggested in this thread? If not, catch up and profit.

Last edited by ball (2013-06-05 15:42:35)

Offline

#21 2013-06-05 15:46:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

yungtrizzle wrote:

It gives me the same error as capoeira. I can run some commands but nothing of use except vi.

https://bbs.archlinux.org/viewtopic.php … 3#p1283343

Offline

#22 2013-06-05 15:54:21

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [solved] after update - cant boot - /sbin/iinit does not exist

ball wrote:
yungtrizzle wrote:

It gives me the same error as capoeira. I can run some commands but nothing of use except vi.

Did you already do what has been suggested in this thread? If not, catch up and profit.

nothing in the grub files to concerning the location of init binary and filesystem is installed

Scimmia wrote:

that's just a rewrite of the news feed, there are'nt any unofficial/deprecated binaries or packages

Offline

#23 2013-06-05 15:57:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

yungtrizzle wrote:
Scimmia wrote:

that's just a rewrite of the news feed, there are'nt any unofficial/deprecated binaries or packages

No, it's how to do it from an Arch Install Disk for those that couldn't follow directions the first time.

So did your filesystem package install correctly? Are the /bin and /sbin symlinks in place? If not, follow that guide.

If the symlinks are in place, tell us what you did to do the upgrade.

Offline

#24 2013-06-05 16:04:50

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [solved] after update - cant boot - /sbin/iinit does not exist

Scimmia wrote:
yungtrizzle wrote:
Scimmia wrote:

that's just a rewrite of the news feed, there are'nt any unofficial/deprecated binaries or packages

No, it's how to do it from an Arch Install Disk for those that couldn't follow directions the first time.

So did your filesystem package install correctly? Are the /bin and /sbin symlinks in place? If not, follow that guide.

If the symlinks are in place, tell us what you did to do the upgrade.

The symlinks are in place running

 ls -la 

shows up properly. When I ran the update pacman did its job but I couldn't run any other commands afterward. I did a hard reboot and landed in rootfs zone

Offline

#25 2013-06-05 16:07:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [solved] after update - cant boot - /sbin/iinit does not exist

so /sbin and /bin are both symlinked to usr/bin? If so, we need to know *exactly* what you did earlier.

ie, did you uninstall initscripts or sysvinit? If so, did you make sure you were using systemd or another solution before removing your init system?

Last edited by Scimmia (2013-06-05 16:10:41)

Offline

Board footer

Powered by FluxBB