how can I get data off HD from a different linux box
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how can I get data off HD from a different linux box
Hello all I am a nube to linux not that I wanted to use it but the person who was using it at my small company decided that he would start his own business and leave me with no support for my linux boxes.
they ran fine for months then last week I tried to get onto one of them and it just has a black screen and the cursor flashes in the upper left window and never runs through the boot kernel. (like the other box does)
the boxes are almost identical in hardware the only difference is the HDD.
I have already tried pulling the hd from one and swapping with the other with the result being now the same good hd boots the other does not.
I can place them in the same box the good hd boots and I can get in and see that the other hd is there but how can I access the data on it?
How do you know that it is there(the bad hdd)? can you see it in your linux?
Just open up partition editor or something if its connected properly you can see it there
Hello all I am a nube to linux not that I wanted to use it but the person who was using it at my small company decided that he would start his own business and leave me with no support for my linux boxes.
they ran fine for months then last week I tried to get onto one of them and it just has a black screen and the cursor flashes in the upper left window and never runs through the boot kernel. (like the other box does)
the boxes are almost identical in hardware the only difference is the HDD.
I have already tried pulling the hd from one and swapping with the other with the result being now the same good hd boots the other does not.
I can place them in the same box the good hd boots and I can get in and see that the other hd is there but how can I access the data on it?
you will need to create a new folder on the good hd and mount the corrupt hd to this new folder.
on good hard disk
Code:
mkdir dirname
then
Code:
mount -t ext3 /bad/hd dirname
then
Code:
cd dirname
you can find out the device name for the bad tailing dmesg
With both HDs in one machine that boots, can you post the outputs of fdisk -l (lowercase L). With two disks you will get something like
Code:
wim@desktop1:~$ sudo fdisk -l
[sudo] password for wim:
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e192e18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3264 26218048+ 7 HPFS/NTFS
/dev/sda2 3265 26892 189791910 f W95 Ext'd (LBA)
/dev/sda5 3265 7180 31455238+ 7 HPFS/NTFS
/dev/sda6 7181 10444 26218048+ b W95 FAT32
/dev/sda7 10445 13708 26218048+ 83 Linux
/dev/sda8 13709 13838 1044193+ 82 Linux swap / Solaris
/dev/sda9 13839 26892 104856223+ 83 Linux
Disk /dev/sdb: 4127 MB, 4127195136 bytes
16 heads, 32 sectors/track, 15744 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0xbf164fee
Device Boot Start End Blocks Id System
/dev/sdb1 1 15744 4030448 c W95 FAT32 (LBA)
wim@desktop1:~$
You might need root permissions to run the command (e.g. in Ubuntu you need to use sudo as shown), in other distros it either works or you need to login as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.