View previous topic :: View next topic |
Author |
Message |
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Sep 13, 2014 6:43 pm Post subject: [Solved]Was experimenting with systemd; now gentoo broken |
|
|
I was trying to install systemd onto my gentoo for the past week.
it said to use genkernel-next instead of genkernel. Not sure waht the difference is.
So portage said genkernel and genkernel-next cant be installed at the same time.
So I uninstalled genkernel and installed -next.
I then use # make menuconfig to makea config menu, tweaked around a
little and created a vmlinuz
Then I did # genkernel --install initramfs to make an initram for it.
updated bootloader with # grub2-mkconfig -o /boot/grub/grub.cfg
did a emerge --depclean (not sure why) and got rid of 2 packages.
changed my /etc/default/grub so it boot from systemd
rebooted. It still booted into OpenRC for some reason. and now a bunch of stuff are not working.
- wireless connection isnt working(wpa_supplicant) --> says it cant connect to ctrlif_name
- sound no longer works --> $ alsamixer --> gives an error
- dhcpcd no longer works ---> says command not found
Last edited by ShanaXXII on Sat Sep 13, 2014 8:02 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sat Sep 13, 2014 7:49 pm Post subject: |
|
|
You can look at /var/log/emerge.log and see what it unmerged/depcleaned.
Sounds like your /boot/grub/grub.conf somehow did not get the right init=/usr/lib/systemd/systemd ... may need to doublecheck your grub source.
Missing your sound/wireless drivers in your kernel?
You may have inadvertently unmerged net-misc/dhcpcd or your command path is not set? /sbin/dhcpcd ? If you're using Networkmanager do you have USE=dhcpcd ?
Do you have USE=systemd (or are using a systemd profile for make.profile) ? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Sat Sep 13, 2014 7:56 pm Post subject: |
|
|
There is oneother things, too...
Assuming you're using gentoo-sources, there are kernel config items near the top for both openrc and systemd. They are not mutually exclusive, you can select both if you want to flip back and forth between the two init systems on the same kernel. If you have both init systems still installed, you can use different grub entries to do this. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Sep 13, 2014 8:01 pm Post subject: |
|
|
I think I got it. I completely removed all systemd stuff and now its working fine.
But it sucks that I dont get to try systemd ): |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Sun Sep 14, 2014 7:22 am Post subject: |
|
|
ShanaXXII wrote: | I think I got it. I completely removed all systemd stuff and now its working fine.
But it sucks that I dont get to try systemd ): |
You tried it. Yes, it was systemd, you just don't understand it. |
|
Back to top |
|
|
|