You are not logged in.
I followed the instructions on the main page, in order to upgrade.
Removed systemv and initscripts packages; since systemd was installed, I thought they were just redundant, and that removing them would be ok.
I restart, and find grub to be a mess. I manage to fix that (menu.lst.pacsave -> menu.lst), but then I get:
ERROR: Root device mounted successfully, but /sbin/init does not exist.
Any idea how to fix this?
Last edited by Goran (2013-07-08 22:01:11)
Offline
You need the systemd-sysvcompat package installed, which provides /usr/bin/init (which is symlinked by /sbin/init). In the meantime, set your init= kernel parameter to /usr/lib/systemd/systemd.
Edit: also, please search the forums before posting a question like this, since it's been covered at least 3492 times before.
Last edited by jakobcreutzfeldt (2013-07-08 10:34:54)
Offline
Tell your bootloader that
init=/usr/lib/systemd/systemd
by appending that after the rest of your kernel arguments.
Once you're booted up, install systemd-sysvcompat, or make that init= addition permanent.
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
systemd-sysvcompat provides a /sbin/init to /usr/lib/systemd/systemd symlink, use init=/usr/lib/systemd/systemd in the bootloader's kernel line if you don't have it installed.
Offline
I win.
Last edited by jakobcreutzfeldt (2013-07-08 10:35:50)
Offline
Hah.
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
Excellent!
I decided to make the init=/usr/lib/systemd/systemd entry permanent.
Thanks guys.
PS:
I did find a thread were kernel parameters were mentioned, but I was modifying the wrong lines, in wrong files ... I should have tried harder before making a new thread (sorry for that).
... And wow, there are so many threads about this latest upgrade - this was like a really big deal for a lot of people.
Offline
I restart, and find grub to be a mess. I manage to fix that (menu.lst.pacsave -> menu.lst)
This is not a good long-term solution. You now have grub (2) installed but grub (legacy installed to disk. See the main upgrade thread for details. Briefly you should either install and configure grub (2) or install grub-legacy from AUR or install and configure an alternative boot loader such as syslinux.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
This is not a good long-term solution. You now have grub (2) installed but grub (legacy installed to disk. See the main upgrade thread for details. Briefly you should either install and configure grub (2) or install grub-legacy from AUR or install and configure an alternative boot loader such as syslinux.
Is there a thread search feature that I could use? The main upgrade thread is ~35 pages, and it would take a long time to search manually for information that is relevant to my situation.
Also, any advice on what I should actually choose? I don't care much for the boot loader, as long as it works, but I do want to keep the system as modern as possible.
Offline
A bootloader (like most software) is a very personal preference. So it doesn't really matter what you use as long as you like it. With syslinux though you should be aware that if you have multiple Linux's on one machine, you either have to share a /boot or you will need to install syslinux to the partition and chainload.
As far as that thread... you should just start reading it. It repeats itself over and over and over again because people kept coming and asking the same exact questions.
Offline