What's new

entware migration

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

yhq_34

Occasional Visitor
Hi;

I want to replaced my current entware installed USB driver, anyone knows how to transfer it to another usb driver?
 
You mean the label or name of the device has changed where Entware is installed on?
Change the following lines in /jffs/scripts/post-mount to the new device name or label.
Use the actual device and folder names instead of the explanatory placeholders <> I used:
Code:
if [ "$1" = "/tmp/mnt/<entware device>" ];then
    ln -nsf $1/<entware folder name on entware device> /tmp/opt
fi
 
Also entware which I currently installed needs to been transfer to new usb driver
Can you plug in two USB devices?
Just copy the folder in the old device over to the new device.
 
If both USB devices are the same size
Code:
rsync -av source dest
should do the trick

If not, I think dd would work, but I'm not too sure on the syntax you'd need to use.
 
Also entware which I currently installed needs to been transfer to new usb driver
Go to old disk and compress entware-ng or entware-ng.arm directory, this way permissions are preserved
Code:
cd /mnt/sda1
tar -cvzf ./entware.tgz ./entware-ng/
Copy and untar to new drive
Code:
cp ./entware.tgz /mnt/sdb1/
cd /mnt/sdb1
tar -xvzf ./entware.tgz
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top