LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-23-2010, 02:32 PM   #1
kizoin
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Need to mount a hard drive with my pre existing file system and data


I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware)

The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.

It's the same OS on both (Cent OS 5.4 32-bit)

I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui.

WHM shows me my drives as such

Found Disk: hda
Found Disk: sdb

so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on

cyberciti.biz/faq/freebsd-adding-second-hard-disk-howto/

but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.

Basically I'm stuck and I need a linux guy to help me out!

thanks in advance everyone.

Last edited by Tinkster; 03-23-2010 at 03:21 PM.
 
Old 03-23-2010, 03:38 PM   #2
Ghostcore
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 1
First create a directory to mount the drive to:
Code:
mkdir -pv /mnt/disk/old-hdd
then mount the drive

Code:
mount -t <the file system on the disk> /dev/sdb /mnt/disk/old-hdd
replace the "<the file system on the disk>" with for example ext3 if its that type of file system.

refer to the mount man pages for valid file system switches

after which you should be able to view the drive in the directory you mounted it to
 
1 members found this post helpful.
  


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
Mount existing linux hard drive in new linux computer linux_linux Linux - Software 3 03-15-2008 10:43 PM
Help writing script file to mount / mount hard drive Rustylinux Linux - General 6 06-27-2006 10:34 AM
How to add a hard drive existing Linux system a1ntsk33r3d Linux - Hardware 5 06-28-2005 03:20 PM
How to install a new hard drive on to existing system ksgill Linux - Newbie 3 02-07-2005 01:17 AM
moving hard drive with existing data to FC3 supra92 Linux - General 6 12-28-2004 04:09 PM


All times are GMT -5. The time now is 02:34 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