DIGIT-ARC read-only archive · snapshot: July 23, 2026

Partion Revivde !

25 posts · originally from https://geek.digit.in/community/threads/partion-revivde.94450/

Dark Star
Dark Star Original post #1
Jul 30, 2008 at 10:21 PM
As you must be knowing that I messed the partition table.. My hdd was gone for repair.. The vendor was pathetic he couldn't fix it. I got the HDD today and booted through Mandriva.. The Testdisk was pre-installed by me .. So I used and restore the Table..

Every thing working fine . .Except my 11 Gb NTFS partition didn't mount .. Please help me :)

*www.imgx.org/files/20093_7mq07/Screenshot.png

My Fdisk -l OPutput
Code:
[root@localhost ~]# fdisk -l

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3187    25599546    7  HPFS/NTFS
/dev/sda2            3188        8287    40965750    f  W95 Ext'd (LBA)
/dev/sda3            8288        9607    10602900   83  Linux
/dev/sda4            9608        9729      979965   82  Linux swap / Solaris
/dev/sda5            3188        4520    10707291    7  HPFS/NTFS
/dev/sda6            5738        8287    20482843+   7  HPFS/NTFS

Disk /dev/sdb: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9e7b9e7b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         892     7164958+  83  Linux
/dev/sdb2            2351        2482     1048320   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sdb3             893        1529     5116702+  83  Linux
/dev/sdb4            1530        2350     6594682+  83  Linux

Regards

​
H
Jul 30, 2008 at 10:33 PM
@shashwat : install ntfsprogs in your ubuntu. then run this command :

"sudo ntfsfix /dev/sda5 " .may be you should have to reboot into window$ if available.
Dark Star
Jul 30, 2008 at 10:39 PM
^^I don't have Ubuntu and don't have Windows :p
H
Jul 30, 2008 at 10:54 PM
dont worry ,some live distro ,use "ntfsfix " tool :p
Dark Star
Jul 30, 2008 at 11:11 PM
Used Ntfsconfig but getting same error

Code:
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda5': Input/output error
NTFS is either inconsistent, or you have hardware faults, or you have a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows TWICE. The usage of the /f parameter is very
important! If you have SoftRAID/FakeRAID then first you must activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for the details.
H
Jul 30, 2008 at 11:13 PM
^you now need window$ or some win livecd to rescue that partition. my bet is ,you backup the data on that partition ,then reformat as ntfs or whatever and replace data. :) -else use some win live cd.
Faun
Faun #7
Jul 31, 2008 at 3:13 PM
use force :D
and beat the crap out of obstinate partition

a typical example to be forceful
UUID=C21477C91477BECB /media/dld ntfs defaults,force,umask=007,gid=46 0 1
xbonez
xbonez #9
Jul 31, 2008 at 4:34 PM
when i read the thread title, i thought it is about some new slick Sci-Fi game :p
xbonez
xbonez #11
Jul 31, 2008 at 5:35 PM
well, then what is 'Partion Revivde' supposed to mean?
Faun
Faun #12
Jul 31, 2008 at 5:47 PM
Yeah lol I thought it as a new Gparted competitor :D
Partition Revivde hahaha
Flake
Flake #13
Jul 31, 2008 at 9:24 PM
/dev/sda5 3188 4520 10707291 7 HPFS/NTFS
/dev/sda6 5738 8287 20482843+ 7 HPFS/NTFS
Your disk's partition table is not correct yet. There is a little unpartitioned space between /dev/sda5 and /dev/sda6.
Try to use force option as suggested by other members.
Boot up from any LiveCD or boot up other installed Linux and execute this
Code:
mkdir /media/sda5
mount -t ntfs /dev/sda5  /media/sda5  -o defaults,force,umask=0
ls /media/sda5
* I assumed that device name assigned to NTFS partition in question will remain /dev/sda5 on booting from LiveCD and/or Harddisk. Change it accordingly.
You must have root privileges to execute above commands even if you are using LiveCD.
Dark Star
Dark Star #14
Aug 1, 2008 at 12:08 PM
Code:
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd6c6bd

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        3187    25599546    7  HPFS/NTFS
/dev/sdb2            3188        8287    40965750    f  W95 Ext'd (LBA)
/dev/sdb3            8288        9729    11582865    7  HPFS/NTFS
/dev/sdb5            3188        4520    10707291    7  HPFS/NTFS
/dev/sdb6            5738        8287    20482843+   7  HPFS/NTFS
/dev/sdb7            4521        5737     9775521    7  HPFS/NTFS

Partition table entries are not in disk order
root@shashwat-desktop:/home/shashwat# UUID=C21477C91477BECB /dev/sdb3 ntfs defaults,force,umask=007,gid=46 0 1 
bash: /dev/sdb3: Permission denied
root@shashwat-desktop:/home/shashwat# mkdir /media/sda5
root@shashwat-desktop:/home/shashwat# mount -t ntfs /dev/sda5  /media/sda5  -o defaults,force,umask=0
ntfs-3g: Failed to access volume '/dev/sda5': No such file or directory
Please type '/sbin/mount.ntfs --help' for more information.
root@shashwat-desktop:/home/shashwat# ls /media/sda5
root@shashwat-desktop:/home/shashwat#

Yea there was 10 Gb unpartitioned space.. I created anew NTFS using Gparted .. Now how do use force :! Please help me I never used that :eek:

Bump Somebody help
P
paroh #15
Aug 1, 2008 at 3:38 PM
Try partition disk doctor
Flake
Flake #16
Aug 1, 2008 at 6:56 PM
As I mentioned in last post, change device name according to output of fdisk -l command.
NTFS partition is /dev/sdb5 now.
Execute this
Code:
mkdir /media/sdb5
mount -t ntfs-3g  /dev/sdb5  /media/sdb5 -o defaults,force,umask=0
ls /media/sdb5
Faun
Faun #17
Aug 1, 2008 at 10:36 PM
^^may the force be with you !

btw ghost at rest where were you all the time ? Should have joined this forum well before and helped many till now.
Dark Star
Dark Star #18
Aug 1, 2008 at 11:33 PM
As I mentioned in last post, change device name according to output of fdisk -l command.
NTFS partition is /dev/sdb5 now.
Execute this
Code:
mkdir /media/sdb5
mount -t ntfs-3g  /dev/sdb5  /media/sdb5 -o defaults,force,umask=0
ls /media/sdb5
.
Code:
root@shashwat-desktop:/home/shashwat# mkdir /media/sdb5
root@shashwat-desktop:/home/shashwat# mount -t ntfs-3g  /dev/sdb5  /media/sdb5 -o defaults,force,umask=0
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb5': Input/output error
NTFS is either inconsistent, or you have hardware faults, or you have a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows TWICE. The usage of the /f parameter is very
important! If you have SoftRAID/FakeRAID then first you must activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for the details.
root@shashwat-desktop:/home/shashwat# ls /media/sdb5
root@shashwat-desktop:/home/shashwat#
Faun
Faun #19
Aug 1, 2008 at 11:43 PM
where is teh force switch ???

use force man !

:razz:
Flake
Flake #20
Aug 2, 2008 at 7:59 AM
Dark Star said:
$MFTMirr does not match $MFT (record 0).
/dev/sdb5 partition has been corrupted and wont allow write access. Try to mount it as Read only. If it mounts, copy its data and recreate/format partition.
Code:
mount -t [B]ntfs[/B]  /dev/sdb5  /media/sdb5  -o   defaults,force,umask=0
ls /media/sdb5
T159 said:
btw ghost at rest where were you all the time ? Should have joined this forum well before and helped many till now.
I am using Linux for last two years only. Frankly, I didn't know about digitforum and joined other. I was searching for an Indian Forum where I can meet my own people, learn and help others ( if possible ).
I am glad I find digitforum !
Dark Star
Dark Star #21
Aug 2, 2008 at 7:18 PM
Code:
shashwat@shashwat-desktop:~$ sudo mount -t nffs  /dev/sdb5  /media/sdb5  -o   defaults,force,umask=0
[sudo] password for shashwat: 
mount: unknown filesystem type 'nffs'

@TI59 :ABey force command .. I don't lknow about that ?:p Help me learn it :p
Faun
Faun #22
Aug 2, 2008 at 7:47 PM
Code:
shashwat@shashwat-desktop:~$ sudo mount -t nffs  /dev/sdb5  /media/sdb5  -o   defaults,force,umask=0
[sudo] password for shashwat: 
mount: unknown filesystem type 'nffs'
@TI59 :ABey force command .. I don't lknow about that ?:p Help me learn it :p
noob its ntfs not nffs :rolleyes:
and you dont even hav to use -t switch, the mount will automatically detect the filesystem type
use
sudo mount /dev/sdb5 /media/sdb5 -o defaults,force,umask=0

just came to say that, and yeah now the buttons are working.
Dark Star
Dark Star #23
Aug 2, 2008 at 7:51 PM
Same freaking error :!

I know its NTFS but since he has mentioned that in bold thats why I did the same :p
Faun
Faun #24
Aug 2, 2008 at 8:07 PM
Same freaking error :!

I know its NTFS but since he has mentioned that in bold thats why I did the same :p
try this

sudo -i
ntfsfix /dev/sdb5
ntfs-3g /dev/sdb5 /mnt/ntfs -o force
*ubuntuforums.org/showpost.php?p=4595973&postcount=16 :!:


always hav knoppix at your disposal
"Anyways, a couple of days ago I had a major hard drive crash that corrupted
all my NTFS volumes. XP refused to boot, no safe mode, the recovery console
wouldn't start, nothing. I was able to boot with the CD and navigate to my
FAT32 volume (whoever said NTFS was more reliable than FAT32 was smokin'
something). But unfortunately GHOST would hang at the start up screen.
Apparently GHOST was just as unhappy with my corrupted NTFS vols as XP!
So, I whipped out my Knoppix LiveCD (which happily mounted all the "corrupt"
NTFS volumes. Sometimes I wonder why I still use Windows...) and did a
ntfsfix on all the drive volumes (except the FAT32 obviously). Miraculously,
that did the trick. XP booted up, performed all the chkdsk for each NTFS vol
and everything looks normal."
*www.lostechies.com/blogs/jason_mer...-ntfsfix-fixes-windows-xp-corrupted-ntfs.aspx
Dark Star
Dark Star #25
Aug 2, 2008 at 8:40 PM
Code:
root@shashwat-desktop:~# ntfsfix /dev/sdb5
Mounting volume... FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
FAILED
$MFTMirr error: Invalid mft record for $MFTMirr.
root@shashwat-desktop:~# ntfs-3g /dev/sdb5 /mnt/ntfs -o force 
$MFTMirr error: Invalid mft record for '$MFTMirr'.
Failed to mount '/dev/sdb5': Input/output error
NTFS is either inconsistent, or you have hardware faults, or you have a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows TWICE. The usage of the /f parameter is very
important! If you have SoftRAID/FakeRAID then first you must activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for the details.
root@shashwat-desktop:~#

Ok will download knoppix :)