You are not logged in.
Pages: 1
Hello,
I did a full system upgrade. After that I can't get on the internet anymore. I tried starting wicd manually and got error messages concerning dbus. I figured it probably has to do with having to switch from initscripts to systemd. I followed the instructions Systemd Wiki
by adding to /boot/syslinux/syslinux.cfg the following line
init=/usr/lib/systemd/systemd
After rebooting, systemd still doesn't seem to work since
cat /proc/1/comm
returns "init"
systemctl enable dbus returns "Operation failed. Invalid argument"
Thanks for your help.
Last edited by doubleslash (2013-05-14 17:43:26)
Offline
Have you removed initscripts?
Offline
Removing initscripts can wait (as wiki suggests), but replacing initscripts+sysvinit by systemd-sysvcompat means you don't need to add the init parameter.
I followed the instructions Systemd Wiki
by adding to /boot/syslinux/syslinux.cfg the following line
init=/usr/lib/systemd/systemd
That is not a line to add to syslinux.cfg. It is a kernel parameter to include in one of the existing lines in your bootloader config. For syslinux, that is the APPEND line. Edit: this is explained perfectly on the wiki, if you follow the "kernel parameters" link in the migration instructions.
Last edited by Raynman (2013-05-12 17:51:22)
Offline
https://wiki.archlinux.org/index.php?ti … to_systemd might help a bit (it's an old version of the wiki article).
https://wiki.archlinux.org/index.php/Kernel_parameters tells you more about the syslinux, because I'm pretty sure it's not in the systemd wiki and I don't know what part of the wiki told you to do, what you did with the bootloader.
Offline
Are we talking wired or wireless Internet? It is trivial to bring wired up by hand to complete your installation.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I'm following the instructions Kernel Parameters. When the boot menu shows up, I press TAB, which then allows me to edit this line
.linux ../vmlinuz-linux root=/dev/sda3 ro initrd=../initramfs-linux.imgI add the foollowing
init=/usr/lib/systemd/systemd After this, I'm greeted with the following screen
Welcome to Emergency Mode. After logging in type ...Give root password for maintenance or type Control-D to conitinue
I can only login as root. After login,
cat /proc/1/commdoes produce "systemd." What services am I supposed to enable to get wireless working again? Also, I want to be able to login as a normal user.
Offline
Okay, there is something more serious going on here. It is not a matter of not having a wireless connection, you are getting dumped into an emergency shell.
Does it give you a reason in the few lines before it dumps you, unceremoniously, into emergency mode?
What, specifically, is the kernel command line in your boot loader?
Edit: Never mind, I missed the point of your previous thread. What if try it with no init= clause?
Last edited by ewaller (2013-05-14 01:29:05)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
What if try it with no init= clause?
Without it, I would log in as normal. The problem is dhcp is not started neither is dbus. Probably other daemons in my rc.conf are not started either.
Last edited by doubleslash (2013-05-14 02:03:15)
Offline
There is no rc.conf in Arch anymore...
https://www.archlinux.org/news/final-sy … n-warning/
Offline
There is no rc.conf in Arch anymore...
That's why I'm trying to migrate to systemd. The file rc.conf is still there.
Last edited by doubleslash (2013-05-14 02:05:38)
Offline
Remove it. And then enable the services you require (like dhcpcd, etc) as per the wiki.
Offline
Remove it. And then enable the services you require (like dhcpcd, etc) as per the wiki.
The OP has not successfully migrated to systemd yet.
Offline
Does it give you a reason in the few lines before it dumps you, unceremoniously, into emergency mode?
It gives 2 warnings
FAILED: Failed to mount /mnt/dvdand
DEPEND: Dependency failed for local filesystemOffline
Systemd takes real issue with fstab entries that are either borked or it doens't like for whatever reason. What is in your fstab, and do you ahve something with a mountpoint of /dev/dvd in your fstab?
Offline
Systemd takes real issue with fstab entries that are either borked or it doens't like for whatever reason. What is in your fstab, and do you ahve something with a mountpoint of /dev/dvd in your fstab?
My /etc/fstab has some auto-mount options for mounting usb and dvd devices. I commented them out and repeated the instructions on Systemd Wiki. It works now. Many thanks to all.
Offline
Hey, glad to hear its a workin'! Enjoy the systemd. Though you can read many opinions otherwise, I really do think it is a pretty nice piece of software.
Offline
Pages: 1