You are not logged in.

#1 2013-11-15 06:52:52

r3joe
Member
Registered: 2013-11-15
Posts: 5

[SOLVED] Root device mounted successfully,but /sbin/init does not e...

I found quite a few topics with similar titles but the fixes in those threads did not work for me (unless I'm doing something incorrectly).

This is probably my fourth attempt installing Arch.  I followed the Beginner's Guide for a UEFI mode installation.  The guide suggested I use gummiboot as my boot loader so I am currently using that.  Here's my output:

ERROR: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.

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

One user suggested to install systemd-sysvcompat, but I think that would require me to install Arch from the beginning again.  This time I think I'll try and salvage what I have (unless I need to).

Assistance would be appreciated.

Last edited by r3joe (2013-11-18 06:49:34)

Offline

#2 2013-11-15 07:25:17

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

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

Is /sbin properly symlinked to /usr/bin ?

Edit: Do you have an /sbin/init or /usr/bin/init?

Last edited by WonderWoofy (2013-11-15 07:26:08)

Offline

#3 2013-11-15 08:42:04

r3joe
Member
Registered: 2013-11-15
Posts: 5

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

Yes, I have a both, and both are symlinked to ../lib/systemd/systemd

Offline

#4 2013-11-15 20:17:04

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

r3joe wrote:

Yes, I have a both, and both are symlinked to ../lib/systemd/systemd

/sbin is NOT supposed to be linked to ../lib/systemd/systemd . Please check again.

Offline

#5 2013-11-15 20:57:37

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

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

Incidentally, you are looking in /new_root, right? i.e. is '/new_root/sbin' a symlink to 'usr/bin', and is '/new_root/usr/bin/init' a symlink to '../lib/systemd/systemd'?


This is probably my fourth attempt installing Arch.
...
One user suggested to install systemd-sysvcompat, but I think that would require me to install Arch from the beginning again.

While I admire your determination, are you sure that Arch is the right distro for you? You certainly don't need to reinstall Arch to install a single package. Look up chrooting on the wiki.


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

#6 2013-11-18 06:05:27

r3joe
Member
Registered: 2013-11-15
Posts: 5

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

WorMzy wrote:

Incidentally, you are looking in /new_root, right? i.e. is '/new_root/sbin' a symlink to 'usr/bin', and is '/new_root/usr/bin/init' a symlink to '../lib/systemd/systemd'?

I'm not in /new_root, no.  /new_root just contains a "lost+found" directory.

I booted up with the live USB disk, mounted my drive, and here are my symlinks:

/bin -> /usr/bin/
/sbin -> /usr/bin

/usr/bin/init ->../lib/systemd/systemd*

WorMzy wrote:

While I admire your determination, are you sure that Arch is the right distro for you? You certainly don't need to reinstall Arch to install a single package. Look up chrooting on the wiki.

I think so.  I'm not an entirely newbie to linux.  I've used it for many years, but I've never installed it and bought a new laptop just for this purpose. I'm minimal by nature, and have even installed Ubuntu minimal disc, but unfortunately their auto updater made my "minimal installation" not so minimal.  A co-worker of mine suggested Arch and after reading up on it I thought I'd give it a try.

I'll read up on chrooting.  The most I've read so far is what's in the installation guide.

Last edited by r3joe (2013-11-18 06:05:58)

Offline

#7 2013-11-18 06:10:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

/new_root is where your root filesystem gets mounted. If there's nothing in there, you're mounting the wrong one. Fix your bootloader config.

Offline

#8 2013-11-18 06:47:56

r3joe
Member
Registered: 2013-11-15
Posts: 5

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

Scimmia wrote:

/new_root is where your root filesystem gets mounted. If there's nothing in there, you're mounting the wrong one. Fix your bootloader config.

Simple.  This was my problem.  Thank you.

Offline

#9 2013-11-18 07:02:08

r3joe
Member
Registered: 2013-11-15
Posts: 5

Re: [SOLVED] Root device mounted successfully,but /sbin/init does not e...

WorMzy, thank you for this as well.

Offline

Board footer

Powered by FluxBB