Greenfellow,
Here the steps I needed to get Damn Small linux booting on the XBOX (after a LOT of trial and error)
- Download Kernel sources (2.4.29)
- Download XBOX-linux source (from
http://www.sourceforge.net/projects/xbox-linux/) and apply to kernel source
- Apply knoppix patch to kernel source (available on /usr/src on knoppix cd)
- Compile kernel using kernel.config example from the xbox-linux source but with dev fs support off
- Download cloop source (the filesystem Damn Small Linux uses) and compile against above kernel to
get cloop.o module
- Download Damn Small Linux
on the DSL cd there are 2 important files
/boot/isolinux/minirt24.gz initial ram disk
/KNOPPIX/KNOPPIX Damn Small Linux filesystem
/KNOPPIX/KNOPPIX is a compressed filesystem which the kernel cannot read this initally, so the kernel loads minirt24.gz first, which contains the cloop.o module needed to mount /KNOPPIX/KNOPPIX, and then DSL can boot from there. You can access minirt24.gz in linux by using
gunzip minirt24.gz
mount -o loop minirt24 /some/dir
To make changes to /KNOPPIX/KNOPPIX see
http://www.damnsmalllinux.org/talk/node/160- Copy cloop.o to /modules on minirt24
- In /linuxrc on minirt24 change:
BUILTIN_FS="iso9660 ext2 vfat"
to
BUILTIN_FS="iso9660 ext2 vfat fatx",
and add
# XBOX: Try E,F
DEVICES="$DEVICES /dev/hda50 /dev/hda55"
after
# New: Also try parallel port CD-Roms [for Mike].
DEVICES="$DEVICES /dev/pcd?".
- Make device nodes for XBOX partitions in /dev on minirt24 using
mknod hda50 b 3 50
mknod hda50 b 3 50
- You then need to remaster /KNOPPIX/KNOPPIX with the modules for the kernel you've compiled copied to /lib/modules/kernel_version/
I put the minirt24 file and KNOPPIX image into E/KNOPPIX on the XBOX along with the kernel I compiled (renamed to linux24), and then using xcromwell with the configuration file below it boots
kernel /KNOPPIX/linux24-xbox
initrd /KNOPPIX/minirt24-xbox.gz
append init=/etc/init video=vesa:ywrap,mtrr noscsi nofirewire lang=us quiet kbd-reset
Unfortunatly the first thing it does is bring up a setup menu which needs a keyboard. However I got around this by remastering /KNOPPIX/KNOPPIX again with a etc/skel/.xserverrc file and now it boots straight in X
