Jump to content

Nothing in /root/udisk/


Timmy22

Recommended Posts

Hi Guys,

Just received my BB and was trying to install the tools, I downloaded the tools_installer from githib, put in switch1 folder, ejected BB, changed to switch1 and reinserted, but I only get solid red indicating that it failed. 

I checked the script (and a few others) and I can see that it setting: 

TOOLSDIR=/root/udisk/payloads/$SWITCH_POSITION/tools_to_install/

however, when I SSH to the BB /root/udisk is empty and so /root/udisk/payloads does not exist....

I can manually mount it, but I am concerned that something is odd and scripts etc wont find that directory.

I have recovered by forcing 3 bad boots according to this post:

But it is still empty.

Am I doing something wrong, or do I have an issue?

 

 

Link to comment
Share on other sites

Ahh. Solved.

The bunny_helpers.sh that shipped on the device was out of date - replace payloads\library\bunny_helpers.sh with the latest from the git repo.

Then is seemed to work, 

although the root/udisk still seemed to be empty when I SSH'd, but the scripts seemed to be able to reference it, so it must be set properly wherever it gets set.

Link to comment
Share on other sites

On 02/04/2017 at 4:10 PM, Timmy22 said:

although the root/udisk still seemed to be empty when I SSH'd, but the scripts seemed to be able to reference it, so it must be set properly wherever it gets set.

In the script bash_bunny.sh, /dev/nandf is mounted onto /root/udisk in the do_mount() function.

udisk_folder=/root/udisk
mkdir -p $udisk_folder
mount /dev/nandf $udisk_folder

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...