# 4. Transferring data
We now transfer the content of the current overlay to the external drive and reboot the device to apply changes:*
mount ${DEVICE} /mnt
tar -C ${MOUNT} -cvf - . | tar -C /mnt -xf -
reboot
i get this error:
eval $(block info | grep -o -e 'MOUNT="\S*/overlay"')
admin@router:~# uci -q delete fstab.extroot
admin@router:~# uci set fstab.extroot="mount"
admin@router:~# uci set fstab.extroot.uuid="${UUID}"
admin@router:~# uci set fstab.extroot.target="${MOUNT}"*
admin@router:~# uci commit fstab
admin@router:~# mount ${DEVICE} /mnt
-C ${MOUNT} -cvf - . | tar -C /mnt -xf -
reboot
mount: mounting /dev/mtdblock4 on /mnt failed: Invalid argument
my usb stick is a 32gb usb and i am trying to use it as internal memory
looked in google and found nothing , please help
i have wasted 24hours resetting and configuring the router , i am exhausted and also formatted as fat32 and then ext4 installed this packages too
No worries... just the first thing that jumped out was that things looked off, and I want to make sure that the commands didn't get messed up on entry into your system. Beyond that, yes, it's necessary to make sure we see exactly what you entered and what resulted, so yes, making sure it is correct is key.
it looks like this got messed up a bit... note that in the snippet below, the second line starts with tar which is missing from yours. Also, it's not entirely clear to me if the first line was interpreted properly because I would normally expect to see a new prompt.
mount ${DEVICE} /mnt
tar -C ${MOUNT} -cvf - . | tar -C /mnt -xf -
reboot
Thank you very much , in the video also there is person with tplink having the same error, maybe is a vendor problem(tplink) ?
yesterday i updated from 21 to 23.5, did a update using the upgrade image flashing from luci, i did it like 10 times yesterday to make sure it was clean flash and not a dirty flash problem however it does not works, also looks like 23.5 weights more memory so i was not able to fully install
Did you do this after the device was flashed, or did you build a custom image with this stuff removed? If the former, this won't save any space... it will actually consume extra space.
i did it after flashing, i do not know how to build a custom image, i have read the guide but it is a little bit confusing for me so i do not know what package should remove and i dont have linux, yes i have seen it consumed more space which is very strange should be the oppose
i just redacted my username for security purposes but who care is root heheheheh, sorry, ok will update now should i update from lucy or from tftp? select kernel or sysupgrade?
i do not know what to do, should i make a custom image from scratch? i could but i do not know how it works and the guide is not well explained, i mean i would lack to put in a package that is a must, does i explain myself?
or am i wrong? could you kindly explain how this works? i used logic and tought that the first text field is showing the scripts installed, and the second is to create a custom build with the scripts you want, is it right? or am i wrong?
it recognized the block info command and shown the usb, i have not run all that command cause lack of memory, but it worked even ran fstab and dmesg, shown usb consumption @300Mah , psu is stock @2.1A -- 5v
yes the usb stick is fine, already come from format to ext4 and the pc recognized it, so is not the usb