Hi all, I want to make my micro 2440 board boot with NFS. my u-boot configuration is: bootargs=console=ttySAC0,115200 noinitrd init=/sbin/init mini2440=1tb root=/dev/nfs rw nfsroot=192.168.1.2:/export/fs ip=192.168.1.85:192.168.1.1::255.255.255.0:mini2440:eth0:off I am able to read the uImage from NFS server and boot. But when it mount to file system, the following warning occur: Initializing random number generator... read-only file system detected...done Failed to create file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache.6PRTTS': Read-only file system Starting network... ip: RTNETLINK answers: File exists Welcome to Buildroot buildroot login: Why is the filesystem readonly? In the bootargs I already put the rw option. I can not login to the system. It keep asking me for the root password that I don't know. How can I solve this problem My /ect/export file is: /export 192.168.1.0/24 *(rw,fsid=0,insecure,no_subtree_check,async) /export/fs 192.168.1.0/24 *(rw,fsid=0,insecure,no_subtree_check,async,no_root_squash) /export/kernel 192.168.1.0/24 *(rw,fsid=0,insecure,no_subtree_check,async) Thank you very much
boot the micro 2440 with NFS
Firstly: You have to have your NFS set up correctly. (I am running Ubuntu 10.10 so your mileage may very - so check out the man pages accordingly). I think your /etc/export contents are incorrect and should be: /export 192.168.1.*/24(rw,sync,no_subtree_check) /export/fs 192.168.1.*/24(rw,sync,no_subtree_check) /export/kernel 192.168.1.*/24(rw,sync,no_subtree_check) make the above changes. As root "exportfs -a" and then check using another linux or windoze system that you can indeed mount an exported file system across. Secondly: Your u-boot configuration seems OK, but you will need to double check it. Hope this assists. Cheers.