LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-08-2009, 02:25 AM   #1
thanhh83
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Unhappy Mount USB disk back to /dev/sdb5


Hello

I have one computer. After it problem I backup data inside /dev/sbd5 to usb drive use command:
Code:
mount /dev/sbd5 /media/usbdrive
Now with refresh install Centos 5.3 I don't know how to put my data back

Some body please help me

Thanks
 
Old 06-08-2009, 03:11 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,022
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Hi,

Welcome to LQ!

And I'm afraid that if that line above is *all* you did
you haven't backed anything up at all. Can you please be
more specific on the steps you took?


Cheers,
Tink
 
Old 06-08-2009, 04:02 AM   #3
thanhh83
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by Tinkster View Post
Hi,

Welcome to LQ!

And I'm afraid that if that line above is *all* you did
you haven't backed anything up at all. Can you please be
more specific on the steps you took?


Cheers,
Tink
Hello

Thanks you for this response

I make the backup my data to usb disk and use command
Code:
mount /dev/sdb5 /mnt
After make new install centos 5.3 for my computer I don't known how to use command to put my data back

Could you please help me?
 
Old 06-08-2009, 04:15 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you actually have backed up your data to the USB disk, then you simply need to mount it and copy the files to wherever you want them, e.g.

First mount the device on /mnt/tmp. Obviously this assumes that the device you want to mount is /dev/sdb5. You'll have to make sure, though..

Code:
mount /dev/sdb5 /mnt/tmp
Now copy all the files (and directories, recursively) in /mnt/tmp (i.e. those that are on #the USB disk) to your home # directory. Obviously, this assumes that your home directory is /home/stuff, so modify as appropriate.

Code:
cp -R /mnt/tmp/* /home/stuff
Read the man pages for mount and cp if you need more information about those commands. Please note that these are only examples and you should read the aforementioned man pages, or ask for more information if you need it (so that you understand what the commands do and don't make a mess of anything).

HTH.

Last edited by Nylex; 06-08-2009 at 04:17 AM.
 
  


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
[SOLVED] /dev/disk/by-label DISAPPEARED! Can't mount USB flash drive ShellyCat Linux - Desktop 5 11-16-2010 11:30 PM
installing slackware to usb harddrive...no /dev/sda2 on disk to mount for cfdisk surfbass Slackware 7 05-09-2006 07:37 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
Suse 10 Installation stops with "waiting for /dev/sdb5/ to become available" jus101 Suse/Novell 1 10-26-2005 05:21 AM


All times are GMT -5. The time now is 02:53 AM.

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