Buffalo Quad Pro and IPKG – \opt gone after reboot
I am having some issues with the NAS recently, notably that the entire \opt directory is gone after a reboot. After searching for an answer on the net, it appears that this is also experienced by some of the users. The problem is that /opt is not automatically mounted during boot. Here is the solution for this.
In a nutshell, these are the revised steps to install IPKG (sort of):
# cd /tmp
# wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/ls-mvkw-bootstrap_1.2-7_arm.xsh
# chmod +x ls-mvkw-bootstrap_1.2-7_arm.xsh
# sh ./ls-mvkw-bootstrap_1.2-7_arm.xsh
# mv /etc/init.d/optware /etc/init.d/rc.optware
# cd /etc/init.d
Edit rc.optware so that the line “mount –bind /mnt/disk1/.optware /opt” is immediately below the first line of the file (which is the header #! /bin/sh). Save the file.
# ipkg update
I have now tried, and everything is working, even after reboot. I am happy.