You are not logged in.

#1 2013-04-05 15:06:15

thea
Member
Registered: 2006-12-22
Posts: 89

[SOLVED] systemd problems

I have been too busy lately to keep up with issues concerning the transition to systemd, so was unpleasantly surprised this morning to find I can no longer connect to my printer.

Could someone please point me to a comprehensive guide to properly installing systemd? The wiki guide doesn't work for me. In particular:

1. I have systemd installed.
2. My grub boot file seems to be correctly configured with the line: init=/usr/lib/systemd/systemd, and booting proceeds normally.
3. cat /proc/1/comm delivers "init" (this case is not covered by the wiki article). So I assume systemd is, despite 1) and 2) being successful, not working.
4. I can't set my hostname (error message: Failed to issue method call: Launch helper exited with unknown return code 1) or do anything else with systemd that I am supposed to be able to do if it is working.
5. I uninstalled initscripts from my laptop (set up same way), and now it won't boot: INIT: version 2.88 booting / INIT: No inittab file found

Thanks!

thea

Last edited by thea (2013-04-06 13:37:47)

Offline

#2 2013-04-05 15:56:01

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] systemd problems

What is the output of?

cat /proc/cmdline

You could also try installing systemd-sysvcompat.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#3 2013-04-05 15:59:35

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: [SOLVED] systemd problems

systemd-sysvcompat is required if you removed initscripts and sysvinit, so if that's not installed that's definitely going to be an issue.

Last edited by SolarBoyMatt (2013-04-05 16:01:44)

Offline

#4 2013-04-05 16:04:18

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] systemd problems

SolarBoyMatt wrote:

systemd-sysvcompat is required if you removed initscripts and sysvinit, so if that's not installed that's definitely going to be an issue.

No it isn't; it just makes things simpler.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2013-04-05 16:42:10

thea
Member
Registered: 2006-12-22
Posts: 89

Re: [SOLVED] systemd problems

the output of cat /proc/cmdline is:

root=/dev/sda2 ro vga=775 quiet

thea

Offline

#6 2013-04-05 16:46:51

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] systemd problems

Which grub config did you change and did you remember to regenerate your config? If you don't want to bother with that, you can just install systemd-sysvcompat.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#7 2013-04-05 16:58:12

thea
Member
Registered: 2006-12-22
Posts: 89

Re: [SOLVED] systemd problems

This is my grub config file:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GR … resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# 
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz-linux]
root   (hd0,1)
kernel /boot/vmlinuz-linux root=/dev/sda2 ro vga=775 quiet
initrd /boot/initramfs-linux.img
init=/usr/lib/systemd/systemd

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,1)
kernel /boot/vmlinuz-linux root=/dev/sda2 ro vga=775initrd /boot/initramfs-linux-fallback.img
init=/usr/lib/systemd/systemd

The only change I made was to add
init=/usr/lib/systemd/systemd
to the end of each of the two boot configs.

Offline

#8 2013-04-05 17:09:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] systemd problems

Use [ code ] tags to post your config files, please.

"init=..." should be on the kernel line. e.g.

kernel /boot/vmlinuz-linux root=/dev/sda2 ro vga=775 quiet init=/usr/lib/systemd/systemd

EDIT: Looks like you've messed up your "Arch Linux Fallback" entry too. Your initrd statement should be on it's own line.

Last edited by WorMzy (2013-04-05 17:11:54)


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

#9 2013-04-05 19:27:57

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

Re: [SOLVED] systemd problems

Type "e" when you are in grub to change the entry like WorMzy said before booting.

Offline

#10 2013-04-06 13:38:49

thea
Member
Registered: 2006-12-22
Posts: 89

Re: [SOLVED] systemd problems

OK, I googled and found the Arch info on transitioning to systemd. Also fixed my laptop by re-installing the initscripts package. Am marking this SOLVED, I will do the required research and return to the forum only if I get really stuck.

Thanks to everyone for their time and advice. Will keep in mind the advice about using code brackets.

Thea

Offline

Board footer

Powered by FluxBB