View Single Post
thecubed's Avatar
Posts: 91 | Thanked: 32 times | Joined on Jan 2008 @ Near: Gilroy, CA
#130
Quick suggestion: if you use this solution, you'll need to issue "umount /mnt/nfsu" before you are able to use USB mass storage option.

Even after umounting the file, my N900 refused to mount via USB until I rebooted it, even though lsof | grep /mnt showed nothing.



Originally Posted by divan View Post
My quick instruction for installing NFSU.
Use this manual on your own risk!

Code:
# get root
root
# install preenv and OpenGLES1 (need extras-devel)
apt-get install libgles1 preenv
# create main game dir on eMMC card
mkdir -p /home/user/MyDocs/Games/nfs
# go to that dir and copy dowloaded .ipk file from desktop (or download directly here)
cd /home/user/MyDocs/Games/nfs
scp user@COMPUTER:/path/to/game/com.ea.app.nfsuc_20.0.28_all.ipk /home/user/MyDocs/Games/nfs

# create file for loopback mount
dd if=/dev/zero of=/home/user/MyDocs/Games/nfs/nfsu.ext2 count=120 bs=1024k
# create ext2 filesystem on it
mkfs.ext2 /home/user/MyDocs/Games/nfs/nfsu.ext2
# press 'y'
# make mountpoint
mkdir /mnt/nfsu
# save it to the fstab 
echo -e "/home/user/MyDocs/Games/nfs/nfsu.ext2\t/mnt/nfsu\text2\tloop,auto\t0\t0" >> /etc/fstab 
# finally, mount it
mount  /mnt/nfsu/
# create symlynk from /usr/palm (NFSU installs there)
ln -s /mnt/nfsu/ /usr/palm
# extrack .ipk file
dpkg -X /home/user/MyDocs/Games/nfs/com.ea.app.nfsuc_20.0.28_all.ipk /mnt/nfsu/
# make binary executable
chmod +x /mnt/nfsu/applications/com.ea.app.nfsuc/nfsuc
# create desktop launcher
desktopgen /mnt/nfsu/applications/com.ea.app.nfsuc/appinfo.json
Go to the applications and press on NFSU icon.
Enjoy!
__________________
[Nokia N900] [Lenovo T61p]
15GB Movies / 5GB Music. I'm ready to go!
Loving this device, bugs and all.
http://thecubed.com