LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 11-14-2006, 01:07 PM   #1
jshellman
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Recover NTFS partition


I had Windows XP Pro (32 bit) installed on one drive. I installed CentOS 4.4 on a different drive. I can no longer access the partition on the winxppro32 drive. fdisk still shows it there with a code 7 (HPFS/NTFS) partition. But if I try to mount it, I get:


# mount /dev/sdb1 /mnt/win32
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
or too many mounted file systems

I have another disk with ntfs partitions on it (it is a windows xp pro 64 bit install) and they mount fine.

And now, if boot into the winxppro 64 bit install, I can't see the data in the winxppro32 partition. It asks if I want to format it if I click on it in Explorer.

Any ideas on how I can mount this thing and get the data? It sees like it should still be there.

I think I did incorrectly run grub-install /dev/hda and grub-install /dev/hda1. Could that have caused this problem?

I've seen some people talk about fixing grub install clobbering with windows recovery, but that doesn't help me because windows recovery says it doesn't find a windows installation on the disk, or maybe it said it couldn't find a disk at all.

I don't care about getting it bootable, but I do want access to the data.

I'm on a dual Opteron machine running centos 4.4 x64.

Thanks!
 
Old 11-14-2006, 01:27 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
For a real quick fix, try booting from a Knoppix CD. That will give you full support of that NTFS drive. If it's readable, Knoppix will read it. Then you could start copying over what you wanted to salvage.
If Knoppix can't read it, I would say you're screwed.
 
Old 11-15-2006, 08:44 AM   #3
jshellman
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Fixed it

Created Knoppix boot CD and used testdisk to rewrite boot sector or something on the partition itself and then it was accessible.

I had tried using testdisk from my centos installation but it didn't work--must be busted for my setup (centos 4.4 x64--tried to build from source rpm).

Thanks!
 
  


Reply

Tags
grub, ntfs, partition, recover


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
need help for recover NTFS partition! taiwf Linux - Hardware 20 11-25-2006 07:22 PM
Accidentally Formatted NTFS Partition... Looking to Recover Data Adam A Flynn Linux - Software 5 08-13-2006 12:59 PM
Recover lost NTFS files from Linux??? tarwood Linux - Newbie 4 06-30-2005 04:02 PM
recover deleted files on fat32/ntfs partitons? niteshadw Linux - Software 1 04-21-2005 11:23 AM
Howto recover data from ntfs after suse dual boot install jdlr Linux - General 1 04-20-2005 10:51 AM


All times are GMT -5. The time now is 02:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration