You are not logged in.
Pages: 1
Trying to switch to systemd I made a mistake.
I missed this step
3. Install systemd-sysvcompat. This conflicts with sysvinit, and will prompt you to remove it.
Now arch linux will not start. Is there anything I can do to fix this?
Thank you
Last edited by acidic (2012-10-31 23:55:21)
Offline
put init=/usr/lib/systemd/systemd in the kernel parameters in your bootloader.
Offline
What are the errors? Do you have the "init=" line in your bootloader?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
It says "no innittab file found"
I have "init=/usr/lib/systemd/systemd" in the boot loader
Offline
The package contains the following files:
pacman -Ql systemd-sysvcompat
systemd-sysvcompat /sbin/
systemd-sysvcompat /sbin/halt
systemd-sysvcompat /sbin/init
systemd-sysvcompat /sbin/poweroff
systemd-sysvcompat /sbin/reboot
systemd-sysvcompat /sbin/runlevel
systemd-sysvcompat /sbin/shutdown
systemd-sysvcompat /sbin/telinit
systemd-sysvcompat /usr/
systemd-sysvcompat /usr/share/
systemd-sysvcompat /usr/share/man/
more manpages...What you are missing is /sbin/init .
Explanation:
The kernel executes /sbin/init by default , which has been sysvinit before you removed it. The compat package now symlinks /sbin/init to /usr/lib/systemd/systemd to make the kernel execute systemd from /sbin/init .
If you provide the init=/usr/lib/systemd/systemd string on the kernel commandline the kernel starts this process instead of /sbin/init.
Change the string by pressing 'e' when selecting arch linux in grub2.
Offline
init=/usr/lib/systemd/systemd does not show up when I press e on arch linux
It was added to /etc/default/grub is this correct?
Offline
Did you run grub-mkconfig? You need to do that for anything in /etc/default/grub to be written to the grub.cfg file
Offline
init=/usr/lib/systemd/systemd does not show up when I press e on arch linux
Yes. Because it is you who has to add the string in the correct place. You have to enter the text on your own.
Last edited by teateawhy (2012-10-31 22:46:46)
Offline
Sorry I thought you meant to remove that string because I thought it would already be there from adding it to /etc/default/grub.
All fixed now thank you
Offline
Pages: 1