Linux Reboot To Cromwell
Posted 09 July 2010 - 12:58 PM
To explain it. I have an intact xbox TSOP and cromwell installed on a modchip. By just pressing the power button I load microsoft loader, by pressing it for 2-3 seconds I load cromwell from the modchip.
Now, whenever I am logged into linux and restart my xbox (using the reboot command), xbox restarts and loads the default microsoft loader.
Is there a way to avoid this and load cromwell? (without messing with the inside of the xbox ofc )
I guess something can be done because when you move to the cromwell settings, cromwell has reboot functions (fast, slow) which reboot the xbox but enter cromwell bios.
Posted 10 July 2010 - 04:01 AM
What's in /etc/inittab currently? I see two ways to achieve this - and more ways if you relax the requirement of not opening up the xbox.
A) Softmod the xbox and get the hacked msdash to boot Xromwell which is XBE version of Cromwell. With chip on, ftp the softmod files over to C drive.
Mirror what Cromwell does for fast reboot. Are you adept at compiling stuff? The code can be found at xbox linux cvs, http://xbox-linux.cv...x-linux/libxbox. Grab the tarball, edit test.c to call xbox_reboot_fast instead. You need to check if /usr/lib/libxbox is present though. Integrate this into inittab so that this gets called instead during a reboot cycle of init.
Posted 10 July 2010 - 12:28 PM
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
# The default runlevel.
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
# What to do in single-user mode.
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
# Normally not reached, but fallthrough in case of emergency.
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
# /sbin/getty invocations for the runlevels.
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
# Example how to put a getty on a serial line (for a terminal)
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# Example how to put a getty on a modem line.
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
I don't think the softmod will work. I have removed the xbox hd and installed another which is full linux. I don't have an xbox partition. When xbox dashboard tries to load I get an error.
The second method I believe it's far from my linux / compiling knowledge
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users