xboxscene.org forums

Author Topic: Tray State Booting Into Xebian With Uxe - Help Needed  (Read 81 times)

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« on: September 01, 2006, 08:00:00 PM »

Hello all - this is my first post on X-S.  I've learned a lot here from the excellent faqs and tutorials and currently have three softmodded XBoxes which I use primarily as MythTV fronts ends running on Xebian 1.1.4.  

I just installed UXE on a v1.4 XBox using Krayzie's UXE Installer v2.8 (sweet).  My goal in doing this was to be able to boot straight into linux without making a selection from the patched retail dash (that is, it's patched to replace the 'live' with 'linux' using the basic xbox-linux MA exploit).  I don't care about live but would like to play games.  

Dual booting is enabled and so currently the XBox works as follows:

1) Tray in with game or dvd -> boot game/play dvd
2) Tray in with no disc -> boot dashboard (Evox)
3) Tray out -> boot Krayzie installer

My question is:  Is this following setup possible?  And if it is, what's the best way of setting it up with UXE and Evox?

1) Tray in with game or dvd -> boot game/play dvd
2) Tray in with no disc -> boot linux
3) Tray out -> boot dashboard (Evox)


Any help would be appreciated.
Logged

r_one_oh_seven

  • Archived User
  • Jr. Member
  • *
  • Posts: 62
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #1 on: September 01, 2006, 07:32:00 PM »

The easiest way is to switch the evox and xcromwell xbes.  I'm not familiar with Krayzie UXE, but if it's like his Ndure, there should be an extras app in the rar with the saves that lets you do all that.

On a side note, you may want to look at XBMC instead of using mythtv through linux.
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #2 on: September 02, 2006, 12:08:00 AM »

you could set it to boot linux as primary dash en evox as secondary dash  yes. In the UXE Installer the extras are in the gamesave
Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #3 on: September 06, 2006, 01:27:00 PM »

Here's what I've tried so far in order to boot right into linux (xebian 1.1.4), not even getting to dual booting yet:

1) copied actual e:\debian\default.xbe to e:\dashboard\default.xbe

RESULT: first two lines of linux boot screen appear, pauses briefly, then spits out a blank line and a fourth line reporting an error (probably "cannot open file".  can't verify due to overscan):

...http://xbox-linux.sf.net
...Xbox Linux Team - Licensed under the GPL

...open file

2) Using Team UIX XBE Shortcut Maker, created shortcut to e:\debian\default.xbe and copied it into e:\dashboard, i.e.:

rename e:\dashboard\default.xbe to e:\dashboard\default-unleashx.xbe

copy shortcut to e:\debian\default.xbe to e:\dashboard\default.xbe

RESULT: only first two lines of linux boot screen appear, then hangs:

...http://xbox-linux.sf.net
...Xbox Linux Team - Licensed under the GPL

3) Using emergency linux, rename entire e:\dashboard directory to e:\dashboard-unleashx, then renamed e:\debian to e:\dashboard

RESULT: Error 21 Service Required. Call Customer Support.  green/red blink.
NOTE! Rebooting into emergency linux reevealed e:\dashboard was renamed back to e:\debian (WTF?  probably emergency linux will not rename entire directories, only files)


4) Using UnleashX FTP server, rename entire e:\dashboard directory to e:\dashboard-unleashx, then renamed e:\debian to e:\dashboard

RESULT: only first two lines of linux boot screen appear, then hangs:

...http://xbox-linux.sf.net
...Xbox Linux Team - Licensed under the GPL


5) Use UnleashX File Explorer to launch e:\debian\default.xbe

RESULT: LINUX BOOTS SUCCESSFULLY

I must be missing something simple, I'm just out of skills at this point.  Any ideas??
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #4 on: September 06, 2006, 01:17:00 PM »

strange....what if you put the shortcut xbe in your apps folder (i.e: e:\apps\debian\default.xbe) and load it from your apps menu?
Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #5 on: September 06, 2006, 03:10:00 PM »

QUOTE(krayzie @ Sep 6 2006, 03:24 PM) *

strange....what if you put the shortcut xbe in your apps folder (i.e: e:\apps\debian\default.xbe) and load it from your apps menu?


Linux boots successfully.

Seems like linux will boot from the dash (unleashx) but not during the bootup process.  Maybe it's a signing issue?  Xebian was installed directly from the xebian 1.1.4 boot CD after the softmod was applied using XBOXLinuxInstall.   FWIW this is what's in e:\debian


(none) E # ls -la /mnt/E/debian
drwxr-xr-x     2 root     root        16384 Jun  6 00:36 .
drwxr-xr-x   10 root     root        16384 Jan  1  1970 ..
-rwxr-xr-x     1 root     root        21760 Sep  3  2006 default.xbe
-rwxr-xr-x     1 root     root      1241088 Sep  3  2006 initrd
-rwxr-xr-x     1 root     root          128 Sep  3  2006 linuxboot.cfg
-rwxr-xr-x     1 root     root    2097152000 Jun  6  2004 rootfs
-rwxr-xr-x     1 root     root    268435456 Sep  3  2006 swap
-rwxr-xr-x     1 root     root       932586 Sep  3  2006 vmlinuz
(none) E #

Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #6 on: September 06, 2006, 06:09:00 PM »

can you open the linuxboot.cfg with notepad and post whats in there..
Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #7 on: September 06, 2006, 07:46:00 PM »

QUOTE(kingroach @ Sep 6 2006, 08:16 PM) *

can you open the linuxboot.cfg with notepad and post whats in there..

Here's what's in e:\debian\linuxboot.cfg

kernel vmlinuz
initrd initrd
append init=/linuxrc root=/dev/ram0 kbd-reset xbox=fatx_e:/debian ramdisk_blocksize=4096
xboxfb y


Interesting, xbox=fatx_e:/debian looks like a clue, yet if this mattered, it's puzzling why linux would boot from the shortcut in e:\apps\debian\default.xbe but not from the shortcut in e:\dashboard\default.xbe...
Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #8 on: September 06, 2006, 08:58:00 PM »

CODE
xbox=fatx_e:/debian


change e:/debian to e:/dashboard. Rename E:\debian folder to E:\dashboard and rename the E:\dashboard to something else. Now create a shortcut to the folder of evox. ( if you renamed E:\dashboard to E:\dashboard2, create a shortcut to E:\dashboard2\default.xbe) . Copy the shortcut to your gamesave folder where PBL default.xbe is.

This post has been edited by kingroach: Sep 7 2006, 04:01 AM
Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #9 on: September 07, 2006, 10:23:00 AM »

I really appreciate your time & help with this guys.  

I tried this and still, only the first two linux boot lines appear and then - nothing.  

I'm posting the steps I took in case I f'ed up something out of cluelessness:

>change e:/debian to e:/dashboard

linuxboot.cfg now reads:
CODE

(none) dashboard # cat linuxboot.cfg
kernel vmlinuz
initrd initrd
append init=/linuxrc root=/dev/ram0 kbd-reset xbox=fatx_e:/dashboard ramdisk_blocksize=4096
xboxfb y

>Rename E:\debian folder to E:\dashboard and rename the E:\dashboard to something else.

I renamed E:\debian folder to E:\dashboard and E:\dashboard to E:\dashboard-unleashx.

>Now create a shortcut to the folder of evox. ( if you renamed E:\dashboard to E:\dashboard2, create a shortcut to E:\dashboard2\default.xbe) . Copy the shortcut to your gamesave folder where PBL default.xbe is.

Not sure exactly which is the gamesave folder but /UDATA/4d530017/62D648EBF155 looked right:
CODE
(none) 62D648EBF155 # pwd
/mnt/E/UDATA/4d530017/62D648EBF155
(none) 62D648EBF155 #
(none) 62D648EBF155 # ls -la
drwxr-xr-x    5 root     root        16384 Aug 31 15:41 .
drwxr-xr-x    7 root     root        16384 Aug 31 15:41 ..
-rwxr-xr-x    1 root     root         6276 Aug 31 15:41 MASave.sav
-rwxr-xr-x    1 root     root           34 Aug 31 15:41 SaveMeta.xbx
drwxr-xr-x    2 root     root        16384 Sep  4 23:54 backup
-rwxr-xr-x    1 root     root       262144 Aug 31 15:41 bios.bin
-rwxr-xr-x    1 root     root         2011 Aug 31 15:41 boot.cfg
-rwxr-xr-x    1 root     root         9630 Sep  2 14:15 config.xml
-rwxr-xr-x    1 root     root        11423 Aug 31 15:41 config1.xml
-rwxr-xr-x    1 root     root        19303 Aug 31 15:41 config2d.xml
-rwxr-xr-x    1 root     root        19344 Aug 31 15:41 config2e.xml
-rwxr-xr-x    1 root     root        10192 Aug 31 15:41 config3d.xml
-rwxr-xr-x    1 root     root         2426 Aug 31 15:41 configRd.xml
-rwxr-xr-x    1 root     root         2407 Aug 31 15:41 configRe.xml
-rwxr-xr-x    1 root     root        22272 Aug 31 15:41 default-unleashx.xbe  <-- original default.xbe (renamed)
-rwxr-xr-x    1 root     root        61440 Sep  7 15:45 default.xbe           <-- shortcut to E:\dashboard-unleashx\default.xbe
-rwxr-xr-x    1 root     root         4821 Sep  4 23:53 evox.ini
-rwxr-xr-x    1 root     root         4792 Aug 31 15:41 evoxDe.ini
-rwxr-xr-x    1 root     root         4780 Aug 31 15:41 evoxEe.ini
-rwxr-xr-x    1 root     root         5179 Aug 31 15:41 evoxRd.ini
-rwxr-xr-x    1 root     root         5160 Aug 31 15:41 evoxRe.ini
-rwxr-xr-x    1 root     root         4849 Aug 31 15:41 evoxd.ini
-rwxr-xr-x    1 root     root       770048 Aug 31 15:41 evoxdash.xbe
drwxr-xr-x    5 root     root        16384 Aug 31 15:41 files
-rwxr-xr-x    1 root     root         6812 Aug 31 15:41 shadowc.xbe
drwxr-xr-x    3 root     root        16384 Aug 31 15:41 skin
-rwxr-xr-x    1 root     root      2826240 Aug 31 15:41 unleashx.xbe
-rwxr-xr-x    1 root     root         5737 Aug 31 15:41 xbsavegame.dat
 

BTW I switched to UnleashX dash instead of Evox, not sure if that changes this last step.

Also - one thing I did notice is that you can tell whenever linux is going to boot successfully because after the first two boot lines appear, a few pixels will light up in the middle of the screen right before the full boot kicks off.  If that dot doesn't appear, you know it's hung.  
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #10 on: September 07, 2006, 09:53:00 AM »

I don't really see why the gamesave folder is mentioned as it isn't used in any way in the bootprocess..
What if you put a bios loader (pbl metoo/M8) in the dashboard folder and pointing the bios to e:\debian\default.xbe
Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #11 on: September 08, 2006, 08:23:00 PM »

QUOTE(krayzie @ Sep 7 2006, 12:00 PM) *

I don't really see why the gamesave folder is mentioned as it isn't used in any way in the bootprocess..
What if you put a bios loader (pbl metoo/M8) in the dashboard folder and pointing the bios to e:\debian\default.xbe


I will try this after I learn enough to attempt it correctly.  Do I need a specific bios file to associate with pbl metoo/M8?  And is there a conflict with nzpatcher which (I think) the UXE Installer v2.8 uses?

Logged

PatPend

  • Archived User
  • Newbie
  • *
  • Posts: 10
Tray State Booting Into Xebian With Uxe - Help Needed
« Reply #12 on: September 09, 2006, 02:53:00 PM »

QUOTE(PatPend @ Sep 8 2006, 09:54 PM) View Post

I will try this after I learn enough to attempt it correctly.  Do I need a specific bios file to associate with pbl metoo/M8?  And is there a conflict with nzpatcher which (I think) the UXE Installer v2.8 uses?


It's working!!!  Seems that UXE was the troublemaker.

I removed UXE, and applied Krayzie's ndure installer (patched to 1.1.1).

Enabled dual booting in the extras menu.

Renamed E:\Dashboard\default.xbe to E:\Dashboard\default-unleashx.xbe

Created a shortcut to E:\Dashboard\default-unleashx.xbe named E:\Dashboard\altdash\default.xbe

Created a shortcut to E:\debian\default.xbe named E:\Dashboard\default.xbe


THANK YOU ALL for your support, you guys rock.
Logged