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??