LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-19-2003, 09:32 AM   #1
java8964
LQ Newbie
 
Registered: Jul 2002
Posts: 20

Rep: Reputation: 0
Read multi partitions in Windows NTFS from linux


Please help me to get my data back.

I have a west digital 80G ATA hard disk. Last night, it is not readable from my windows XP. This hard disk has two NTFS partitions. The bios find the harddisk without any proble. But the windows XP complains some error if I try to access this disk.

Using wesk digital life guard hard disk utility to test this hard disk, the tools crash. (What hell is that?)

I already created a RMA from west digital. Before I send the disk back, there are some very important data on the disk. I want to keep them. The most important data is in the second partition.

I want to try it on linux. So I install the disk under my suse 8.2. The disk is installed under /dev/hdc. If I typed in fdisk -l, here is the result:

earth:/home/yzhang # fdisk -l

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 9729 78148161 42 SFS

Disk /dev/hda: 30.7 GB, 30735581184 bytes
16 heads, 63 sectors/track, 59554 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 131 65992+ 83 Linux
/dev/hda2 132 4293 2097648 82 Linux swap
/dev/hda3 4294 59554 27851544 83 Linux

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 9963 80027766 83 Linux


Then I mount it under root as this: mount -t ntfs /dev/hdc1 /mnt/ntfs
The mount is successful. If I go to /mnt/ntfs, it looks like all the files in the first ntfs partition are there. But where is the second ntfs partition?
I really want to save my data in the second partition. Please help me.

Thanks very much.

Note: I won't put any critical data in the windows machine any more. My old dell pII 350 and AMD 1G using linux never destory one single hard disk. The XP already crash one hard disk. This is the second time in 6 months. Always use Linux to back up your critical data!!!
 
Old 11-19-2003, 09:38 AM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
the second partition is /dev/hdc2 but it looks like there is physical damage on the disk itself, you could try using the linux disk editor (http://lde.sourceforge.net/) to extract the files you need but it'll be hard work

Last edited by randomblast; 11-19-2003 at 09:40 AM.
 
Old 11-19-2003, 09:42 AM   #3
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Take a look at this:
http://www.linuxquestions.org/questions/history/92393
Maybe it's because you use 'Dynamic Disks' that you can only find one partition.
 
Old 11-19-2003, 09:43 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Did you try:

mount -t ntfs /dev/hdc2 /mnt/ntfs
 
Old 11-19-2003, 09:57 AM   #5
java8964
LQ Newbie
 
Registered: Jul 2002
Posts: 20

Original Poster
Rep: Reputation: 0
As you can see, there is no /dev/hdc2 in fdisk -l. So I can't mount /dev/fdc2

If there are two ntfs partitions in hdc, should fdisk -l show /dev/fdc1 and /dev/fdc2?

I understand there is a problem with this harddisk, otherwise windows won't complain. (If I check the event log in windows xp, it listed there that there is a bad block in this hard disk and can't access).

What I try to find out is that in linux there is only one partition recongized by fdisk as /dev/fdc1. Is this normal? Does this mean the /dev/hdc2 is really bad? Or just linux can't recongize multi ntfs partition in one hard disk?


Thanks

Last edited by java8964; 11-19-2003 at 09:58 AM.
 
Old 11-19-2003, 11:18 AM   #6
java8964
LQ Newbie
 
Registered: Jul 2002
Posts: 20

Original Poster
Rep: Reputation: 0
ok.

I download the ntfs tools and ldm tools from
linux-ntfs.sourceforge.net

There is one utility tools named ldminfo

After I run ldminfo /dev/hdc

Here is the result:
Device | Offset Bytes Sectors MiB | Size Bytes Sectors MiB
-------------+--------------------------------+-------------------------------
hdc | 0 0 0 | 80026361856 156301488 76319
hdc1 | 32256 63 0 | 41943040000 81920000 40000
hdc2 | 41943072256 81920063 40000 | 38080676864 74376322 36316

I can see the hdc2 is there, but I can't mount it or read it.

What I should do next? Thanks

Last edited by java8964; 11-19-2003 at 11:19 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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Windows read ext3 partitions? mcah5 Linux - Newbie 15 02-07-2007 05:22 PM
How to Boot Multi Windows & Multi Linux olkar Linux - Newbie 5 10-03-2005 11:52 AM
read/write ntfs partitions!!!! mlu Linux - Software 2 01-20-2005 01:42 PM
Can Linux write to NTFS windows partitions? Stevetgn Linux - General 12 02-04-2004 05:00 AM
Linux can read NTFS partitions...how? Quew Linux - Newbie 4 12-28-2003 04:32 PM


All times are GMT -5. The time now is 10:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration