Jump to content


Linux Reboot To Cromwell

  • Please log in to reply
2 replies to this topic

#1 Haros


    X-S Enthusiast

  • Members
  • 14 posts

Posted 09 July 2010 - 12:58 PM

Is there a way to reboot xbox-linux and instead of loading the default microsoft bios, load cromwell?

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 tongue.gif )

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.

#2 ldotsfan


    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

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.

cool.gif 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.

#3 Haros


    X-S Enthusiast

  • Members
  • 14 posts

Posted 10 July 2010 - 12:28 PM

my inittab

# /etc/inittab: init(8) configuration.
# $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.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# 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.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Format:
#  <id>:<runlevels>:<action>:<process>
# 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 tongue.gif

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users