Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Change what loads on startup/boot?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Change what loads on startup/boot?
21st Nov, 2013, 06:29 AM
Post: #18
manzaiya Offline
Registered
Posts: 8
Joined: Nov 2013
Reputation: 0
RE: Change what loads on startup/boot?
To clarify my self-replies and to help others trying to boot into emulationstation at startup, I didn't try creating a service with an emulation.conf in /etc/init/ as mentioned in start of thread; this is what I did:

1) xbian-config: turned off xbmc service auto start - from terminal services menu
2) sudo ./retropie_setup.sh
[3] SETUP : Under third option to configuring current install, Select [4] Start Emulation Station on boot

(Note, this will put the following entry:
Terminal
[ -n "${SSH_CONNECTION}" ] || emulationstation
entry in /etc/profile which will run after login. The script will also attempt 'sed /etc/inittab' to assist in enabling auto login, but my distribution did not have this file so this part fails leading to step 3)

3) Now emulationstation runs after login, but we want auto login as to not use any keyboard.
Terminal
sudo nano /etc/init/tty1.conf

#The very last line in this file should start with an exec command. Delete this line and replace it with the following:

exec /bin/login -f xbian < /dev/tty1 > /dev/tty1 2>&1
~ Now emulationstation will boot from startup. ~

+ Optional : launch xbmc from emulationstation
4) Edit emulationstation config to allow any sh to be run from /home/pi/RetroPie/roms/esconfig
~/.emulationstation/es_systems.cfg
In the "Input Config" Section -> change command line so to load any sh file selected
COMMAND=%ROM%
+ Can change the path if you'd like, for clarity I changed the Start.sh to InputConfig.sh and the description to "Advanced Menu Loader"
5) create xbmc_load.sh with xbian owner and executable permissions with the following
Terminal
#!/bin/bash
output=`ps aux|grep em\[u\]lationstation`
set -- $output
pid=$2

kill $pid
sleep 2
kill -9 $pid >/dev/null 2>&1
sleep 2

sudo service xbmc start

(Note: The above script will shutdown emulationstation before running the xbmc service so that emulationstation will not override the screen control leaving you with a running xbmc service instance you can't see.)

Fully navigate your game collection and launch xbmc all driven from your joystick gamepad. Hope this helps.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Change what loads on startup/boot? - Takenover83 - 8th Sep, 2013, 11:26 AM
RE: Change what loads on startup/boot? - mk01 - 8th Sep, 2013, 01:45 PM
RE: Change what loads on startup/boot? - Takenover83 - 9th Sep, 2013, 10:14 AM
RE: Change what loads on startup/boot? - mk01 - 9th Sep, 2013, 10:29 AM
RE: Change what loads on startup/boot? - Takenover83 - 9th Sep, 2013, 12:00 PM
RE: Change what loads on startup/boot? - mk01 - 9th Sep, 2013, 01:44 PM
RE: Change what loads on startup/boot? - Takenover83 - 9th Sep, 2013, 05:08 PM
RE: Change what loads on startup/boot? - mk01 - 9th Sep, 2013, 05:12 PM
RE: Change what loads on startup/boot? - Takenover83 - 9th Sep, 2013, 05:23 PM
RE: Change what loads on startup/boot? - mk01 - 9th Sep, 2013, 05:45 PM
RE: Change what loads on startup/boot? - Takenover83 - 9th Sep, 2013, 06:45 PM
RE: Change what loads on startup/boot? - mk01 - 9th Sep, 2013, 08:01 PM
RE: Change what loads on startup/boot? - Takenover83 - 10th Sep, 2013, 09:17 AM
RE: Change what loads on startup/boot? - mk01 - 10th Sep, 2013, 09:52 AM
RE: Change what loads on startup/boot? - Takenover83 - 10th Sep, 2013, 10:55 AM
RE: Change what loads on startup/boot? - manzaiya - 20th Nov, 2013, 03:31 PM
RE: Change what loads on startup/boot? - manzaiya - 20th Nov, 2013, 04:37 PM
RE: Change what loads on startup/boot? - manzaiya - 21st Nov, 2013 06:29 AM
RE: Change what loads on startup/boot? - coloxim - 5th Dec, 2013, 05:36 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Change the startup xbian image cyril 7 20,043 6th May, 2013 09:20 PM
Last Post: cyril

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 3rd Jul, 2025, 12:46 PM Powered By MyBB, © 2002-2025 MyBB Group.