Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemctl start kdm failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Sat Apr 25, 2015 11:06 pm    Post subject: systemctl start kdm failed Reply with quote

Hi

after:
systemctl start kdm
i get this:
[ 162.626719] systemd-fsck[3035]: /dev/sda2: clean, 326/32768 files, 30847/131072 blocks
_

and nothing happend
i wait for a long time...but still stop here...

what should i do...
thanks!
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Sat Apr 25, 2015 11:34 pm    Post subject: Re: systemctl start kdm failed Reply with quote

liu_fanyi wrote:
Hi

after:
systemctl start kdm
i get this:
[ 162.626719] systemd-fsck[3035]: /dev/sda2: clean, 326/32768 files, 30847/131072 blocks
_

and nothing happend
i wait for a long time...but still stop here...

what should i do...
thanks!


when reboot system
i get this:
[TIME] Timed out waiting for device dev-sda2.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for File System Check on /dev/sda2.
[TIME] Timed out waiting for device dev-sda3.device.
[DEPEND] Dependency failed for /dev/sda3.
[DEPEND] Dependency failed for Swap

if they have some contacts...
thanks!
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Sat Apr 25, 2015 11:57 pm    Post subject: Re: systemctl start kdm failed Reply with quote

liu_fanyi wrote:
liu_fanyi wrote:
Hi

after:
systemctl start kdm
i get this:
[ 162.626719] systemd-fsck[3035]: /dev/sda2: clean, 326/32768 files, 30847/131072 blocks
_

and nothing happend
i wait for a long time...but still stop here...

what should i do...
thanks!


when reboot system
i get this:
[TIME] Timed out waiting for device dev-sda2.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for File System Check on /dev/sda2.
[TIME] Timed out waiting for device dev-sda3.device.
[DEPEND] Dependency failed for /dev/sda3.
[DEPEND] Dependency failed for Swap

if they have some contacts...
thanks!


i followed this : https://wiki.gentoo.org/wiki/Systemd
i want to boot with systemd, so i changed /boot/grub/grub.cfg:
linux /vmlinuz-3.10.9 root=UUID=508868e4-54c6-4e6b-84b0-b3b28b1656b6 real_init=/usr/lib/systemd/systemd

there are three positions has "vmlinuxz-...", so i changed all of them...
looks like, i did something wrong here...
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 34
Location: 38.7789° N, 90.6031° W

PostPosted: Mon May 11, 2015 4:23 pm    Post subject: Re: systemctl start kdm failed Reply with quote

liu_fanyi wrote:


i followed this : https://wiki.gentoo.org/wiki/Systemd
i want to boot with systemd, so i changed /boot/grub/grub.cfg:
linux /vmlinuz-3.10.9 root=UUID=508868e4-54c6-4e6b-84b0-b3b28b1656b6 real_init=/usr/lib/systemd/systemd


Did you change anything else on that line?
Back to top
View user's profile Send private message
omnicloud
Guru
Guru


Joined: 10 Mar 2005
Posts: 550
Location: California

PostPosted: Wed May 20, 2015 6:03 pm    Post subject: Reply with quote

Instead of editing
Code:
/boot/grub/grub.cfg


you want to edit

Code:
/etc/default/grub


uncomment the line
Code:
# GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"


Then run
Code:
grub2-mkconfig -o /boot/grub/grub.cfg


This will generate your grub config with systemd

Edit: If you're using an initramfs, I think you need to change it from init= to real_init=
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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