You are not logged in.

#26 2013-08-06 20:07:07

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

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

You just haven't been booting with systemd, apparently. Add

init=/usr/lib/systemd/systemd

to your kernel command line, either on-the-fly during boot by editing it during grub, or permanently, by booting a LiveCD and editing menu.lst. You really should have done this months ago, but oh well. Nothing is broken, you just haven't got an "init" binary, hence the '/sbin/init does not exist' message, declaring init on the kernel command line overrides the hardcoded path.


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

#27 2013-08-06 20:07:20

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

I found this, can it work?

resucitado ............................. 

estos son los pasos con cd instalacion de archlinux (el que he usado yo)

I did everything what electric_indigo adviced to point 4
electric_indigo wrote:

1. Boot into a LiveCD.
2. Open terminal, log in as root.
3.

# cd /
# mkdir BrokenArch
# mount /dev/[Arch's partition here] BrokenArch
# cd BrokenArch
# ln -s usr/bin bin
# ln -s usr/sbin sbin
# mount --bind /dev dev
# mount --bind /proc proc
# mount --bind /run run
# mount --bind /sys sys

then

#chroot . /usr/bin/bash
#pacman -S filesystem
/bin exists...etc

ok...rename /bin to /bin_old, /usr/sbin/ to /usr/sbin_old, remove /sbin link at all
then again

#pacman -S filesystem

it installs without any errors
At last reboot and remove live usbflash

Offline

#28 2013-08-06 20:11:32

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

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

Why would that help? The update completed successfully, didn't it? You don't need to fix your packages, you just need to configure systemd. Read up on the wiki: https://wiki.archlinux.org/index.php/Systemd


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

#29 2013-08-06 20:35:41

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

Okay, I've just added the init=/usr/lib/systemd/systemd to the kernel boot line on the grub but Xs don't start
When I prompt startx I get this:
http://img7.imageshack.us/img7/2910/8bsn.jpg

Last edited by eherranzr (2013-08-06 21:45:37)

Offline

#30 2013-08-06 22:52:07

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

Finally I've been able to migrate to systemctl and PC booted correctly.
The only problem is that after starting samba

# systemctl enable smbd.service
# systemctl enable nmbd.service
# systemctl start smbd.service
# systemctl start nmbd.service

I'm not able to see this computer from other PCs

Should I do anything else?

Offline

#31 2013-08-06 22:59:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Binaries move to /usr/bin requiring update intervention

eherranzr wrote:

Finally I've been able to migrate to systemctl and PC booted correctly.
The only problem is that after starting samba

# systemctl enable smbd.service
# systemctl enable nmbd.service
# systemctl start smbd.service
# systemctl start nmbd.service

I'm not able to see this computer from other PCs

Should I do anything else?


This isn't the thread for that question...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB