Ubuntu – How to to copy files to flash drive in a recovery mode

data-recoveryrecovery-modeusb-drive

It seems like to deleted too much files by rm -r and now I have the error of "the system is running a low-graphic mode" in Ubuntu and I have to work in Windows because of that.

However I can load it in recovery mode. I need to copy the files from Downloads folder to a flash drive. Downloads folder has them as I can see by ls command.

When I plug in a flash drive, there will be some messages saying that everything is ok (as I understood) and it's plugged. But when I go to /media/my_name and do ls then I don't see anything. I don't see anything in /run/media/my_name either(I'm not sure if should though).

I can't connect to the Internet for some reason. Ubuntu was installed by wubi.exe file.

How do I save the content of my Downloads folder to a flash drive?

Best Answer

Use fdisk -l to see if you USB-Drive is identified. Remember the device (/dev/sdX)
Mount the USB-Drive manually with mount /dev/sdX1 /mnt
Copy thr whole Downloads-Folder with cp -R /home/<your_user>/Downloads /mnt/