Rescuing Data From a Hard Drive
Hi All, I've got a bit of a problem... we have a linux server that contained 2 hard drives. The one with the boot information died - LUCKILY the data we NEED was on the hard drive that lived. My question is... how can I recover the data I need? I've been able to boot to the shell using the install disk and can see the data I need but that shell doesn't provide access to the network card so I can copy the data off. I tried a fresh install on a new HD but when I attatch the 2nd HD (with the data I need) I can't see it. Forgive me, I come from the windows world where just plugging in the old HD would allow me to pull the data off. Any ideas/help/etc is greatly appreciated! Michael Z
On Wednesday 01 February 2006 14:32, Michael Zarozinski wrote:
I've got a bit of a problem... we have a linux server that contained 2 hard drives. The one with the boot information died - LUCKILY the data we NEED was on the hard drive that lived. My question is... how can I recover the data I need?
uhh why dont you just stick it into another computer, or boot off a livecd -mike
Call me silly, but it would also probably help to mount the drive no matter how you get the drive on a diff/new system. Figure out what device the drive is recognized as (i.e. /dev/hda, /devb/hdb, etc.) and do the following: 1) Create a temporary mount point under /mnt mkdir /mnt/tmp 2) Mount the drive on that mount point. mount /dev/hdX /mnt/tmp where X is the drive letter assigned to the drive when the system boots. The system should be smart enough to auto-detect the filesytem type and not require you to pass options when you try and mount it. Dave ----- Original Message ----- From: "Mike Frysinger" <vapier@gentoo.org> To: <wlug@mail.wlug.org> Cc: "Michael Zarozinski" <MichaelZ@aiguru.com> Sent: Wednesday, February 01, 2006 11:42 AM Subject: Re: [Wlug] Rescuing Data From a Hard Drive
On Wednesday 01 February 2006 14:32, Michael Zarozinski wrote:
I've got a bit of a problem... we have a linux server that contained 2 hard drives. The one with the boot information died - LUCKILY the data we NEED was on the hard drive that lived. My question is... how can I recover the data I need?
uhh why dont you just stick it into another computer, or boot off a livecd -mike
And don't forget to make sure that your HDs are slaved correctly :) On 2/1/06, Dave Coutu <cout@alum.wpi.edu> wrote:
Call me silly, but it would also probably help to mount the drive no matter how you get the drive on a diff/new system.
Figure out what device the drive is recognized as (i.e. /dev/hda, /devb/hdb, etc.) and do the following:
1) Create a temporary mount point under /mnt
mkdir /mnt/tmp
2) Mount the drive on that mount point.
mount /dev/hdX /mnt/tmp
where X is the drive letter assigned to the drive when the system boots. The system should be smart enough to auto-detect the filesytem type and not require you to pass options when you try and mount it.
Dave
----- Original Message ----- From: "Mike Frysinger" <vapier@gentoo.org> To: <wlug@mail.wlug.org> Cc: "Michael Zarozinski" <MichaelZ@aiguru.com> Sent: Wednesday, February 01, 2006 11:42 AM Subject: Re: [Wlug] Rescuing Data From a Hard Drive
On Wednesday 01 February 2006 14:32, Michael Zarozinski wrote:
I've got a bit of a problem... we have a linux server that contained 2 hard drives. The one with the boot information died - LUCKILY the data we NEED was on the hard drive that lived. My question is... how can I recover the data I need?
uhh why dont you just stick it into another computer, or boot off a livecd -mike
Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- Lee Keyser-Allen (lkeyser@alum.wpi.edu)
Use a bootable CD, such as gentoo live, or knoppix http://www.knoppix.net/ Copy the stuff over the network.. with the boot CD you can setup a NFS server to do that, or FTP, or scp, rsync, or whatever. If you have the fresh install on a new HD, you should be able to see the 2nd HD. What kind of hd is it? sata, or eide? type "dmesg" on the new system and you should see what the drive got connected as. If you plugeed the old drive as secondary master it would show as /dev/hdc then you could mount the drive with "mount /dev/hdc1 /mnt" If you plugeed the old drive as the first SATA drive it would show as /dev/sda then you could mount the drive with "mount /dev/sda1 /mnt" This is assuming you have your data on the first partition. All of your data would be in /mnt Good luck. Michael Zarozinski wrote:
Hi All,
I've got a bit of a problem... we have a linux server that contained 2 hard drives. The one with the boot information died - LUCKILY the data we NEED was on the hard drive that lived. My question is... how can I recover the data I need?
I've been able to boot to the shell using the install disk and can see the data I need but that shell doesn't provide access to the network card so I can copy the data off.
I tried a fresh install on a new HD but when I attatch the 2nd HD (with the data I need) I can't see it. Forgive me, I come from the windows world where just plugging in the old HD would allow me to pull the data off.
Any ideas/help/etc is greatly appreciated!
Michael Z _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
--
participants (5)
-
Dave Coutu
-
Karl Hiramoto
-
Lee Keyser-Allen
-
Michael Zarozinski
-
Mike Frysinger