LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2005, 01:08 PM   #1
scriptn00b
Member
 
Registered: Sep 2005
Posts: 31

Rep: Reputation: 15
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?
 
Old 09-18-2005, 03:01 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
The USB device is likely to be at /dev/sda1, /dev/sda2, /dev/sdb1, or similar -- J.W.
 
Old 09-18-2005, 03:50 PM   #3
scriptn00b
Member
 
Registered: Sep 2005
Posts: 31

Original Poster
Rep: Reputation: 15
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?
 
Old 09-18-2005, 04:17 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arghhhh! All my backup files are gone from USB harddisk luke sleeman Linux - Hardware 13 10-30-2005 07:16 AM
USB Thumb Drive superdude_876 Slackware 2 10-18-2005 08:42 PM
USB thumb drive detected by usb but not by scsi ashlock Linux - Hardware 6 06-02-2005 03:58 PM
Usb Thumb Drive Crippledzero Linux - Hardware 1 10-07-2004 10:29 PM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 02:52 AM


All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration