************************************************************* *** Running Yellow dog linux 4.0 on the nintendo gamecube *** *** by BreeZe *** ************************************************************* this is a small HOWTO on how to get the yellow dog linux distro running on your gamecube. - first download the gc-linux project gc kernel and the yellow-dog-base - create a minidvd with the linux kernel (zImage.nfs.dol) or load the kernel via psoload or whatever - install a nfs server on a seperate server on your network - create a export dir on the nfsserver called /nfsroot - extract the yellow dog base on the nfs server in the /nfsroot dir (tar xvzfp yellow-dog-4.0-base.tgz) - in the /nfsroot/cube dir edit the following files en config them with your needs: /nfsroot/cube/etc/fstab (put the ip of the nfs server here) /nfsroot/cube/etc/resolv.conf (put your favorite nameserver here) - now run the linux kernel on your gamecube - if yellow dog is booting and running the startup scripts than its ok - after that you can login by using a ssh-client with user: "root" and password: "binbash". -------------------------------------------------------- add default route: -------------------------------------------------------- - exec the following command to create a default route to the internet or other networks: /sbin/route add default gw -------------------------------------------------------- easy way to setup a linux nfs server: -------------------------------------------------------- add the following to /etc/exports: /nfsroot/cube 192.168.0.47(rw,sync,no_root_squash) service nfs start or /etc/init.d/nfs start -------------------------------------------------------- setting up swap using net block devices: -------------------------------------------------------- steps to create a nbd server for exporting a swap file: - download and install nbd [http://nbd.sourceforge.net] - create a /export/cube dir - create a swap file in /export/cube with the following command: dd if=/dev/zero of=cube.swap bs=1024 seek=134530 count=0 - exec: /nbd-server 33221 /export/cube/cube.swap steps to use the nbd client (on the gamecube): - exec: nbd-client 192.168.0.50 33221 /dev/swap - exec: mkswap /dev/swap - exec: swapon /dev/swap -------------------------------------------------------- notes: -------------------------------------------------------- - don't forget to setup your timezone - you can use yum to install yellow dog packages: http://linux.duke.edu/projects/yum/ -------------- Thanx goes to: -------------- - DrClaw for lending his powerbook workstation (keep the new one off the closet :P) - Cenobyte for some testing - al the members of the gc-linux project for providing a linux kernel with al the nessesary GC drivers