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.

http://forum.buffalo.nas-central.org/viewtopic.php?f=71&t=22975

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.

Posted on April 26, 2011, in Buffalo Quad Pro NAS. Bookmark the permalink. 1 Comment.

  1. Hi Joseph,

    There is a problem here. As you mentioned before, there is no disk1 on your NAS, but array1. So the command of “mount –bind /mnt/disk1/.optware /opt” actually does nothing. I also found following your steps, the /opt is not mounted from /mnt/array1/.optware, but a real directory in root file system.

    I think the root cause is still the install failure of optware on disk1. You worked around by replacing disk1 by array1, but there are still other places in that package where disk1 is assumed. For LinkStation Quad Pro, you need use “wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/teraprov2-bootstrap_1.2-7_arm.xsh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: