LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Backup files to usb thumb - runlevel 3 (https://www.linuxquestions.org/questions/linux-newbie-8/backup-files-to-usb-thumb-runlevel-3-a-364547/)

scriptn00b 09-18-2005 12:08 PM

Backup files to usb thumb - runlevel 3
 
I need to back up files to a usb thumb from runlevel 3 but i have trouble locating the usb device from runlevel 3. Help?

J.W. 09-18-2005 02:01 PM

The USB device is likely to be at /dev/sda1, /dev/sda2, /dev/sdb1, or similar -- J.W.

scriptn00b 09-18-2005 02:50 PM

Yes it is /dev/sdb. When I try to cd into it, it says "Directory doesn't exist". and when i just enter /dev/sdb , it says permission denied. It is NOT write protected. How can i cd into it?

J.W. 09-18-2005 03:17 PM

You need to mount the device to a mountpoint first, not try to just cd into it.
Code:

mount /dev/sdb1 <mountpoint>
If you do not already have a mountpoint (eg, a directory) defined, then you'll need to create one first
Code:

mkdir /mnt/usb_drive
Note that /mnt/usb_drive is just an example, you can call it whatever you want. Once it's mounted, then you can "cd /mnt/usb_drive" and you should be able to see your data. -- J.W.


All times are GMT -5. The time now is 08:25 PM.