Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Hi I have double boot mandriva/XP. I was using XP when the pc crashed and afterwards i havent benn able to boot windows. So im trying to mount windows's ntfs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Location
    Paris
    Posts
    48

    recovering a defected ntfs using mandriva


    Hi
    I have double boot mandriva/XP. I was using XP when the pc crashed and afterwards i havent benn able to boot windows. So im trying to mount windows's ntfs drive using my mandriva in order to copy the files i need before formating(that's the way it goes with windows: crash=format). It mounts(mount: according to mtab, /dev/hda1 is mounted on /mnt/windows) but i can still see no files in the mount point. the ls command gives a total of 0 files! What can I do ...

  2. #2
    Just Joined!
    Join Date
    Aug 2006
    Posts
    10

    Not sure if this helps.

    What i do if i have a NTFS filesystem that i have chucked into my linux box or if its a duel boot etc is from console as su run diskdrake. then mount the given drive as a ntfs3g i think its called... By memory its in the advanced tab of diskdrake and then reboot and it should be all good.. May need to chmod etc.
    And will prob need to install stuff also, but package manager should take care of that.
    Hope that helps a little.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Execute this
    Code:
    su -
    fdisk -l
    df -h
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Location
    Paris
    Posts
    48
    Sorry im late,
    that's what it gives :

    Disk /dev/hda: 60.0 GB, 60011642880 bytes
    255 heads, 63 sectors/track, 7296 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 2611 20972826 7 HPFS/NTFS
    /dev/hda2 2612 7296 37632262+ f W95 Ext'd (LBA)
    /dev/hda5 2612 3375 6136798+ 83 Linux
    /dev/hda6 3376 3515 1124518+ 82 Linux swap / Solaris
    /dev/hda7 3516 7296 30370851 83 Linux
    [root@localhost ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda5 5.8G 4.1G 1.5G 74% /
    /dev/hda7 29G 25G 3.8G 87% /home
    /dev/hda1 21G 20G 783M 97% /mnt/windows

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Try to remount NTFS Partition.
    Code:
    umount /dev/hda1
    mount -t ntfs  /dev/hda1  /mnt/windows  -o defaults,umask=0
    ls /mnt/windows
    Post error message here, if any.

    I dont know if ntfs-3g is pre-installed Mandriva. If its installed, replace ntfs with ntfs-3g in mount command to enable write access.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Feb 2008
    Location
    Paris
    Posts
    48
    morning casper, (should be the aftzrnoon for u), I'll be home all the day long this time!
    I've already tried unmounting mounting it, the error msg is
    ls: reading directory /mnt/windows: Input/output error
    The ntfs-3g isnt installed.
    ls: reading directory /mnt/windows: Input/output error
    what if i try recovering data from windows's drive before formating it ? i've been searching for a recovery tool for windows under linux but havnent found anything. any suggestions ?

  7. #7
    Just Joined!
    Join Date
    Aug 2006
    Posts
    10

    My un answered post.

    ntfs-3g needs to be installed.
    I mentioned that in earlier post.
    I have placed corrupted and formatted ntfs drives in a linux box using the method i have posted earlier. They work.. They mount and they have full read write access.
    Guess i forgot to give you a console version of the same thing.

    I was just tryin to help.
    Guess my help isnt wanted/needed.
    Funny cause i read last post and i have the perfect carcked tools to recover after format and partition from linux or windows and i would freely offer it.
    But i guess you ontop of it so i will leave ya 2 it.

  8. #8
    Just Joined!
    Join Date
    Feb 2008
    Location
    Paris
    Posts
    48
    hi damink!
    it's not that ur help isnt wanted/needed! it's just that i thought my windows drive is defected and isnt working anymore. Cause actually before the crash of windows, i used to access windows drive from linux simply by mounting it using ntfs command and not ntfs-3g. so im thinking that mounting as 3g isnt the problem, im just hoping to get read access in order to burn the data i need from windows before formating it. but beeing a little newbie ill try installing 3g if u say it may work out. ill keep u posted.

  9. #9
    Just Joined!
    Join Date
    Feb 2008
    Location
    Paris
    Posts
    48
    ok that's what it gives :

    [root@localhost ntfs-3g-1.2129]# mount -t ntfs-3g /dev/hda1 /mnt/windows -o defaults,umask=0
    Failed to mount '/dev/hda1': 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.

    what do u think ?

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    mount -t ntfs-3g  /dev/hda1  /mnt/windows  -o defaults,umask=0,force
    ls /mnt/windows
    In case it throws error, post exact error and post the output of df -h too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •