Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Was experimenting with systemd; now gentoo broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 283
Location: Canada

PostPosted: Sat Sep 13, 2014 6:43 pm    Post subject: [Solved]Was experimenting with systemd; now gentoo broken Reply with quote

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

:? :cry:


Last edited by ShanaXXII on Sat Sep 13, 2014 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9697
Location: almost Mile High in the USA

PostPosted: Sat Sep 13, 2014 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Sat Sep 13, 2014 7:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 283
Location: Canada

PostPosted: Sat Sep 13, 2014 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sun Sep 14, 2014 7:22 am    Post subject: Reply with quote

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. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum