Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 01-17-2014, 06:48 AM   #1
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 17
raspberry PI boot problem: faile to start login service

I am working with buildroot 2013.11 and I made an image for my PI but its startup fails with this message:
Fails to start login service [FAILED]
see 'systemctl status systemd-logind.service' for details.
Dependency failed. Aborted start of Serial Getty on tty1 [ABORT]
what is wrong ? what should I do?
Old 01-18-2014, 02:21 PM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,684

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Buildroot I would leave to you to figure out.

In your honour, I booted my Raspberry Pi with a debian image to get my facts straight. The word ĺogin'does not appear in the /etc/ directory of that. It does have a login, but nothing asks for that. X starts with no login.

To fix yours, try booting with
as a kernel option on the command line. You will be root. I presume you know your partitions, and you can mount them. My / partition is no. 2, so the command to mount that would be

/sbin/mount -o remount,rw  /dev/mmcblk0p2    /
mount the / first, then change the end number to mount the others. Use 'swapon <partition> as above for the swap space.
set a PATH

export PATH=/usr/bin:/usr/sbin;

and hunt around. systemctl can surely shut off logins, or maybe a (HACK Warning!) symlink from /sbin/login to /bin/true would fool it.
Old 01-29-2014, 02:06 AM   #3
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 17
Oh you do not believe it I made my image from scratch again (I mean I did make clean first and then make )and everything goes fine now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Service won't start on boot sarahlizy Red Hat 7 05-21-2013 11:40 AM
How to start a service at boot time. swamprat Linux - Newbie 4 07-03-2009 02:03 PM
How to get service to start at boot zaichik Linux - Newbie 12 08-27-2008 10:15 PM
show last sucessful and faile login after login CP1 Linux - Newbie 3 10-17-2007 03:56 PM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 08:33 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration