xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Kexec-loader On Non-xdsl Distro, anyone tested?
NobodyHere
post Jun 22 2011, 03:38 PM
Post #1


X-S Member
*

Group: Members
Posts: 102
Joined: 17-February 11
Member No.: 450693



Hi.

Before I stopped messing around with Xdsl, I had been testing the 'kexec-loader' package from the Debian Sarge backports repo.
http://www.solemnwarning.net/kexec-loader/

What I had wanted to do was use it to use Linux itself (Xdsl; apt enabled) as a boot manager as outlined in the thread below.

http://reboot.pro/4636/

QUOTE
******************************************************************************
*** Direct transition to DOS/Win9x from within Linux ***
******************************************************************************

By using kexec, we can easily boot into DOS/Win9x from a running Linux system.

If WIN98.IMG is a bootable hard-disk image, do as follows:

kexec -l grub.exe --initrd=WIN98.IMG --command-line="--config-file=map (rd) (hd0); map --hook; chainloader (hd0)+1; rootnoverify (hd0)"

kexec -e

If DOS.IMG is a bootable floppy image, do this way:

kexec -l grub.exe --initrd=DOS.IMG --command-line="--config-file=map (rd) (fd0); map --hook; chainloader (fd0)+1; rootnoverify (fd0)"

kexec -e

Note that in this manner, we can boot DOS/Win9x without using a real DOS/Win9x
disk. We need no FAT partition but an image file.

We have noticed that Linux itself can act as a big boot manager by using kexec
and grub.exe. This may be convenient to developers who write installation or
bootstrap or initialization programs.


After doing some preliminary tests, I couldn't get kexec to load, let alone boot, 'grub4dos' as it reported back some errors.

Now I hadn't had to the chance to test it with a separate Linux kernel, legacy GRUB package, or chainloading a floppy image of either DOS/Win98.

I was hoping someone else here could test the kexec-loader in a different Xbox distro, which should have more up to date packages.

Xebian (updated to Etch?), Gentoox, etc...

I will mention that even if I had been successful in booting grub4dos, dos, another linux kernel, I have no idea how this would translate to the bios, driver, etc. requirements of the booted environments.

Maybe someone with a better grasp on the Xbox specifications could comment on this?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Jun 24 2011, 05:00 PM
Post #2


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Kexec support need to compiled in the kernel. On embedded devices, there's kexecboot.

In the boot sequence for Xbox Linux, you have the choice of starting with either Cromwell bios or Xromwell XBE. Grub4Xbox and the like won't work. But once kernel has started, kexec should work. I compiled kexec support while working on MC Linux but have yet to get to the point of testing kexec userland tool.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 26th May 2013 - 04:51 AM