You are not logged in.

#1 2014-01-21 01:19:09

comapony
Member
Registered: 2014-01-18
Posts: 24

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

I'm having the issue where when I boot after doing a fresh install, it gives me:

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 /]#

My fstab:

# /etc/fstab
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/sda1 LABEL=homerroot
UUID=877deab9-624d-4e1d-90a1-ccc1d6ebc0c6       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda2 LABEL=homerboot
UUID=77835da5-8a38-44c1-bf27-bb657df4484b       /boot           ext4            rw,relatime,data=ordered        0 2

# /dev/sda3 LABEL=homeretc
UUID=8a1b5bd8-b147-41e0-87df-70a4a9e12df2       /etc            ext4            rw,relatime,data=ordered        0 2

# /dev/sda4 LABEL=homervar
UUID=8eb2e7b1-cdf1-46ce-9dc1-439d002bfae4       /var            ext4            rw,relatime,data=ordered        0 2

# /dev/sda5 LABEL=homerusr
UUID=bce162b4-d27f-450c-a0e6-4d3ebc6242dc       /usr            ext4            rw,relatime,data=ordered        0 2

# /dev/sda6 LABEL=home
UUID=62de76ab-b6d4-4e3d-a423-c287b81813a9       /home           ext4            rw,relatime,data=ordered        0 2

# /dev/sda7 LABEL=public
UUID=d98a9c8e-2301-4e66-8c7f-26167633a4b0       /public         ext4            rw,relatime,data=ordered        0 2

This looks fine to me, but when /dev/sda1 is mounted at /new_root, none of the other devices are mounted....
I don't know if this is what's causing the problem since /etc, and /usr are on separate partitions from root, but
this would be the first time I get a problem dividing things this way (on ubuntu, mint, fedora, et cetera).

So I tried:

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

I get "* is owned by filesystem 2013.05-2" for all three dirs from step three.
None of the other steps have any effect....

I also tried:

https://bbs.archlinux.org/viewtopic.php?id=172943

My /dev/sda1 mounts to new_root, so I don't think I'm having his problem.

And:

https://bbs.archlinux.org/viewtopic.php?id=166423

I reinstalled systemd-sysvcompat, and I'm sure that's not my problem.
Interestingly enough, /usr/lib/systemd/systemd is an elf file on my target hard disk.
Is this an outdated issue or something? Or should /usr/lib/systemd/systemd be a text file?

Thanks in advance for your help guys!

Offline

#2 2014-01-21 01:25:17

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

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

You have a separate /usr partition (which isn't recommended btw), but did you add the usr hook to your mkinitcpio.conf before generating an initrd?

EDIT: Not sure if the seperate etc is supported at all. You might need to write a custom initcpio hook if you want to keep that.

Recommend reading: http://freedesktop.org/wiki/Software/sy … is-broken/

Last edited by WorMzy (2014-01-21 01:27:17)


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 2014-01-21 01:28:45

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

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

A separate /etc is not supported whatsoever.  There needs to be initial access to a few things there.  I'm sure it could be made to work with some initramfs hackery.  But it is neither supported or wise to do so IMO.

Offline

#4 2014-01-21 01:33:35

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

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

Oh, and /usr/lib/systemd/systemd is supposed to be an ELF binary. Not sure why you think it should be a text file.


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

#5 2014-01-21 02:16:20

comapony
Member
Registered: 2014-01-18
Posts: 24

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

WorMzy wrote:

Oh, and /usr/lib/systemd/systemd is supposed to be an ELF binary. Not sure why you think it should be a text file.

I saw another thread saying that adding an entry there would help. I think it was "init=<something>".

WonderWoofy wrote:

A separate /etc is not supported whatsoever.  There needs to be initial access to a few things there.  I'm sure it could be made to work with some initramfs hackery.  But it is neither supported or wise to do so IMO.

I'll not do the separate partitions then. Thanks. I'll check back if it works/doesn't-works.

Offline

#6 2014-01-21 04:28:26

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

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

Speicifying the init=/usr/lib/systemd/systemd kernel parameter is not going to help at all.  Directing it is still being directed to /usr, which is not mounted at all at this point in the boot process.  You need to set up mkinitcpio to handle this correctly.

Offline

#7 2014-01-21 19:03:05

comapony
Member
Registered: 2014-01-18
Posts: 24

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

Okay, well. I've reinstalled arch on my comp, with only a root partition and a home partition. Now it gets stuck in fsck. It doesn't do anything after that. Ugghghgghjhhhh....

Offline

#8 2014-01-21 22:54:22

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

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

comapony wrote:

Okay, well. I've reinstalled arch on my comp, with only a root partition and a home partition. Now it gets stuck in fsck. It doesn't do anything after that. Ugghghgghjhhhh....

Instead of getting your panties in a wad, try to explain what the problem is with proper logs and such so people can help you. If not, get a blog and rant there.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2014-01-27 08:59:17

comapony
Member
Registered: 2014-01-18
Posts: 24

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

Inxsible wrote:

Instead of getting your panties in a wad, try to explain what the problem is with proper logs and such so people can help you. If not, get a blog and rant there.

Yeah, I would've done that if there wasn't info out there about this and figured it out on my own already. Just cause I'm in the "newb corner" and I've got three posts doesn't mean I'm an idiot.

PS: Sorry for the late reply babe.

Offline

#10 2014-01-27 13:54:38

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

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

comapony wrote:

Yeah, I would've done that if there wasn't info out there about this and figured it out on my own already. Just cause I'm in the "newb corner" and I've got three posts doesn't mean I'm an idiot.

Great to hear that you figured it out. So maybe you should post your solution here, so that other people can benefit from it.

Also, please mark the thread as solved by editing the first post's title.

Last edited by x33a (2014-01-27 13:55:07)

Offline

Board footer

Powered by FluxBB