xboxscene.org forums
OG Xbox Forums => Software Forums => *nix OS on Xbox => Topic started by: luther349 on January 27, 2004, 05:30:00 PM
-
the bios have knothing to do with it. you would need to build a linux kernel that supports net booting. if you know what your doing you could do it very easly. just a xbox linux kernel recompiled for net boot would do.
-
I'm going to try to boot a kernel using the MA exploit, I have ed's latest kernel and a modified initrd ready to try, with ed's in a nsf share.. Need the memory card, I'll pick one up this weekend (payday), and give it a spin.. Want to be a test pilot?? I can crack open the initrd and modify it for your network needs. PM me if your interested...
edit:
rom-o-matic zrom images come in small 10-20K, that would fit, but I don't see one listed for the NVIDIA nForce.... Netboot, that might work, haven't played with it yet... Getting it to work in the bios is over my head, at the moment...
-
when you compile a new kernel you get a new intrid lol.
-
Didn't want to reinvent the wheel... just added the nfs.o to the /lib/modules in the initrd from ed's and edited the linuxrc to mount the the nfs share... The linuxrc seems to be the key... has the all the options fatx_e, fatx_f, fatx_loop, hdd, cdrom, upload. I just want to give it a couple more... NFS mounts the share and mounts the livefs in a loop, just copy the cd to the share... NFSRT mounts a full system, I loaded up cloop and copied the contents of the livefs to the share... The linuxboot.cfg file set the options that get fed to /proc/cmdline
NFSRT=`grep xbox=nfsrt /proc/cmdline`
NFS=`grep xbox=nfs /proc/cmdline`
if [ "$NFS" != "" ]; then
mknod /dev/tty c 5 0
ln -s /dev/vc/0 /dev/tty0
ln -s /dev/vc/1 /dev/tty1
ln -s /dev/vc/2 /dev/tty2
ln -s /dev/vc/3 /dev/tty3
ln -s /dev/vc/4 /dev/tty4
ln -s /dev/vc/5 /dev/tty5
insmod nvnet.o
insmod nfs.o
ifconfig eth0 10.3.0.75
NFS_IP=10.3.0.10
NFS_DIR=/mnt/iso/xbox-cd
echo "Mounting root filesystem: ${NFS_DIR} from: ${NFS_IP}"
mount -n -o nolock,ro ${NFS_IP}:${NFS_DIR} /cdrom
insmod /lib/modules/`uname -r`/cloop.o file=/cdrom/livefs
mount -o ro,suid -t iso9660 /dev/cloop /ram
mount -t tmpfs none /ram/XBOXLocal
cd /ram/XBOXLocal
tar -xzpf /cdrom/xbox.tgz > /dev/null 2>&1
cd /
fi
if [ "$NFSRT" != "" ]; then
mknod /dev/tty c 5 0
ln -s /dev/vc/0 /dev/tty0
ln -s /dev/vc/1 /dev/tty1
ln -s /dev/vc/2 /dev/tty2
ln -s /dev/vc/3 /dev/tty3
ln -s /dev/vc/4 /dev/tty4
ln -s /dev/vc/5 /dev/tty5
insmod nvnet.o
insmod nfs.o
ifconfig eth0 10.3.0.75
NFS_IP=10.3.0.10
NFS_DIR=/mnt/iso/xbox-linux
echo "Mounting root filesystem: ${NFS_DIR} from: ${NFS_IP}"
mount -n -o rw ${NFS_IP}:${NFS_DIR} /ram
cd /
I'm have some ideas for a dhcp version, to get the nsf path from the server, but I want to try this first...
Any thoughts??
-
Wow guys thanx for all the research and help. Gonna be trying some things with ed's debian sometime this week. I'll let you know how the boot goes.
-
that looks good. but when it comes to a net boot both sides will need fatx support to see the fs.
-
I'm not interested in using the xbox hard disk for any of the fs system tho, it should be possible with the linux supplied tools to use nfs.
-
I don't think the host sever needs fatx, its just holding the LIVEFS file, just like it is on a cd. I had to put this on hold for a while, I'll get back to soon
-
Awesome work mate! I dont have the means right now to take on any more projects but i will look into it again very soon. And of course will be checking back for your progress.