A
A
Andrew2017-05-06 17:51:35
TP Link
Andrew, 2017-05-06 17:51:35

How to transfer an OpenWrt root file system to an external device?

Compiled OpenWRT firmware for tp Link mr3020
All installed packages
There was a problem when transferring files to an external drive, everything is as it says
These packages are installed:

kmod-usb-core block-mount kmod-fs-ext4

I do the steps described
mkdir -p /tmp/introot
mkdir -p /tmp/extroot
mount --bind / /tmp/introot
mount /dev/sda1 /tmp/extroot
tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf -
umount /tmp/introot
umount /tmp/extroot

At some points, he swears that there is no such partition, although they are present, he
checked 06c45aa83f9f493384fe0401e05eb5f7.PNG88154cd393fc44ea84d19e9417fb2ee3.PNG
the USB drive is formatted
d133295ba22d4059ac9ba460abad4968.PNG
As a result, the files are not transferred to the USB flash drive, what could be the problem? Don't have the required package?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
solalex, 2017-05-07
@solalex

You most likely do not mount the flash drive, install the kmod-usb-storage package
and show the system log when the flash drive is connected

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question