Partion Revivde !

Status
Not open for further replies.

Dark Star

Cyborg Agent
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

 

humanbeing

peeing on Assembly line
@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.
 
OP
Dark Star

Dark Star

Cyborg Agent
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.
 

humanbeing

peeing on Assembly line
^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

Wahahaha~!
Staff member
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
 

Faun

Wahahaha~!
Staff member
Yeah lol I thought it as a new Gparted competitor :D
Partition Revivde hahaha
 

Flake

Linux User
/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.
 
Last edited:
OP
Dark Star

Dark Star

Cyborg Agent
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
 
Last edited:

Flake

Linux User
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

Wahahaha~!
Staff member
^^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.
 
OP
Dark Star

Dark Star

Cyborg Agent
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#
 

Flake

Linux User
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 !
 
Last edited:
Status
Not open for further replies.
Top Bottom