LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-17-2014, 05:48 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

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:
Quote:
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, 01:21 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,263

Rep: Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539
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
init=/bin/bash
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

Code:
/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, 01:06 AM   #3
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

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.
 
  


Reply


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 10:40 AM
How to start a service at boot time. swamprat Linux - Newbie 4 07-03-2009 01:03 PM
How to get service to start at boot zaichik Linux - Newbie 12 08-27-2008 09:15 PM
show last sucessful and faile login after login CP1 Linux - Newbie 3 10-17-2007 02:56 PM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 07:33 AM


All times are GMT -5. The time now is 11:59 PM.

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