You are not logged in.

#1 2015-09-03 05:48:26

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

[SOLVED] failed boot with /sbin/init does not exist

I'm getting this message upon booting a new installation.
As per previous discussion of this error.....I've tried adding a kernel line argument init=/bin/systemd which fails ( /bin/systemd doesn't exist in the rootfs).  Tried kernel line argument init=/lib/systemd (because this actually exists in the rootfs) but get a permission denied error and kernel panic.
Obviously, I'm going about this the wrong way.
Something is going wrong with the installation....any ideas how to fix this?

Last edited by gillecaluim (2015-09-04 19:45:59)

Offline

#2 2015-09-03 06:04:22

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

systemd is located at /lib/systemd/systemd ... but normally systemd-sysvcompat should take care of this. neutral


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-09-03 07:22:43

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

Provide more details of your installation procedure.

Is /sbin/init a symlink to /lib/systemd/systemd?


Jin, Jîyan, Azadî

Offline

#4 2015-09-03 07:42:14

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,605
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

If /sbin/init doesn't exist, then you haven't installed the full base group as recommended by the Beginner's Guide. Was this a conscious decision, or a mistake, or have you followed something other than the BG to install?


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.

Online

#5 2015-09-03 17:59:53

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

well I think I've found the problem but how to fix?
/sbin/init points to busybox instead of systemd.  Should I redo mkinitcpio as arch-chroot?

/lib/systemd only contains systemd-udevd so there is no /lib/systemd/systemd

Last edited by gillecaluim (2015-09-03 18:15:50)

Offline

#6 2015-09-03 19:59:56

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

Head_on_a_Stick wrote:

Provide more details of your installation procedure.


Jin, Jîyan, Azadî

Offline

#7 2015-09-03 20:28:14

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

Re: [SOLVED] failed boot with /sbin/init does not exist

WorMzy wrote:

If /sbin/init doesn't exist, then you haven't installed the full base group as recommended by the Beginner's Guide. Was this a conscious decision, or a mistake, or have you followed something other than the BG to install?

gillecaluim, are you even reading the replies?

Last edited by 2ManyDogs (2015-09-03 20:28:38)

Offline

#8 2015-09-03 20:36:01

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

re-built Arch install disk with all base packages on the install disk so that I could install on a internet crippled device.  Substituted linux-grsec for linux otherwise didn't tweak the base group and modified the pacman.conf to pull from the package files rather than mirrorlist.  Did a standard install with pacstrap and arch-chroot.  System boots into linux-grsec but get /sbin/init error

Offline

#9 2015-09-03 22:26:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] failed boot with /sbin/init does not exist

Configure your bootloader correctly.

Offline

#10 2015-09-03 22:31:18

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

more detail? configure bootloader "correctly"

Offline

#11 2015-09-03 22:33:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] failed boot with /sbin/init does not exist

Specifically, make sure the correct partition is being specified as root.

Offline

#12 2015-09-03 22:40:35

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

I only have 3 partitions sda1 (1MB EF02 bios grub), sda2 (100G 8300 linux filesystem) and sda3(32G 8200 swap) so that's not the problem.
As I previously stated /sbin/init points to busybox rather than systemd.  Not sure how that occured but would like to remedy that.
1. Reinstall via pacstrap systemd?
2. Redo mkinitcpio as arch-chroot?
3. Something else?

Last edited by gillecaluim (2015-09-03 22:43:27)

Offline

#13 2015-09-03 23:00:10

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,605
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

/sbin/init points to busybox because you haven't left the initrd environment.


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.

Online

#14 2015-09-03 23:05:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] failed boot with /sbin/init does not exist

/sbin/init is supposed to point to busybox in the initramfs, that is not your problem. Check out what /newroot is.

Offline

#15 2015-09-04 01:13:31

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

the root partition /dev/sda2 appears to be mounted to /new_root

Offline

#16 2015-09-04 01:44:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] failed boot with /sbin/init does not exist

And what is /new_root/sbin/init?

Offline

#17 2015-09-04 02:51:41

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

ls -l /new_root/sbin ......  points to /usr/bin
ls -l /new_root/sbin/init ...... no such file or directory

Offline

#18 2015-09-04 02:56:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] failed boot with /sbin/init does not exist

So you never installed systemd-sysvcompat

As Alad said in post #2

Last edited by Scimmia (2015-09-04 03:01:59)

Offline

#19 2015-09-04 03:28:12

gillecaluim
Member
Registered: 2014-11-02
Posts: 42

Re: [SOLVED] failed boot with /sbin/init does not exist

ahhh...thought I had but looking at a trace of the installation...I didn't.  Need to revise the install CD and try again. Will be right back wink

Offline

#20 2015-09-04 21:01:02

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

Re: [SOLVED] failed boot with /sbin/init does not exist

How are you planning to keep your install updated on this "internet crippled device"?

Offline

#21 2015-09-05 17:35:03

fanrice123
Member
Registered: 2015-09-05
Posts: 1

Re: [SOLVED] failed boot with /sbin/init does not exist

Actually, I used to successfully install Arch into my laptop but once I reinstall it, the same issue occurred......
Even I had tried to install arch on my desktop, the problem still exists. I'm wondering if the issue was made by upgraded package?

Offline

#22 2015-09-06 08:01:37

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: [SOLVED] failed boot with /sbin/init does not exist

fanrice123 wrote:

Actually, I used to successfully install Arch into my laptop but once I reinstall it, the same issue occurred......
Even I had tried to install arch on my desktop, the problem still exists. I'm wondering if the issue was made by upgraded package?

Please open a new thread - it's highly unlikely that an upgrade removed systemd-sysvcompat, and you've given us no details to build on otherwise.

Last edited by Alad (2015-09-06 09:31:13)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB