Announcement

Collapse
No announcement yet.

ntfs problem resolution

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ntfs problem resolution

    I can mount 1 78 GB partition on the external hd, I can see, but not mount the 171 GB partition that is also on the external hard drive. My /etc/fstab file is as follows:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/hda2
    UUID=d2f69159-b8aa-4f43-810f-54c0d05ffc4e / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda1
    UUID=840C2ABD0C2AA9DE /media/hda1 ntfs-3g defaults 0 2
    # /dev/sda1
    UUID=C228BE9628BE88C5 /media/sda1 ntfs-3g defaults 0 2
    /dev/sda2 /media/sda2 vfat defaults 0 2
    # /dev/hda5
    UUID=2dbbb4a4-3057-4998-aa3c-a325fc0833c7 none swap sw 0 0

    and sudo fdisk -l produces the following:

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

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 3187 25599546 7 HPFS/NTFS
    /dev/hda2 3188 7132 31688212+ 83 Linux
    /dev/hda3 7133 7296 1317330 5 Extended
    /dev/hda5 7133 7296 1317298+ 82 Linux swap / Solaris

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xeef844d8

    Device Boot Start End Blocks Id System
    /dev/sda1 1 9561 76798701 7 HPFS/NTFS
    /dev/sda2 9562 30400 167389267+ f W95 Ext'd (LBA)
    /dev/sda5 9562 30400 167389236 7 HPFS/NTFS

    sudo blkid shows:

    /dev/hda1: UUID="840C2ABD0C2AA9DE" TYPE="ntfs"
    /dev/hda2: UUID="d2f69159-b8aa-4f43-810f-54c0d05ffc4e" SEC_TYPE="ext2" TYPE="ext3"
    /dev/hda5: TYPE="swap" UUID="2dbbb4a4-3057-4998-aa3c-a325fc0833c7"
    /dev/sda1: UUID="C228BE9628BE88C5" TYPE="ntfs"
    /dev/sda5: UUID="362C8A662C8A214B" TYPE="ntfs"

    what do I need to do to mount the last partition, and if i post my mtab file, could someone help me modify the fstab and mtab so that the external drive partitions are properly dealt with?

    #2
    Re: ntfs problem resolution

    I see a couple of problems here.

    1. blkid shows no such partition as "/dev/sda2" which appears in fstab and fdisk output as a vfat-formatted partition. I wonder if the mount point "media/sda2" actually exists?

    Recommendation: In terminal,
    Code:
    cd /media
    and then
    Code:
    ls -a
    to verify whether there is such a directory/mount point as sda2. If not, then (while still at the /media$ prompt)
    Code:
    sudo mkdir sda2
    While you are at it, also
    Code:
    sudo mkdir sda5
    2. The partition recognized by fdisk and blkid on the running system as /dev/sda5 does not appear in the /etc/fstab file at all, so of course it is not mounted or usable.

    Recommendation: Open /etc/fstab with the Kate editor as Super User,
    Code:
    sudo kate /etc/fstab
    and add this line below the line that begins "/dev/sda2":

    Code:
    UUID=362C8A662C8A214B /media/sda5 ntfs-3g defaults 0 2
    I think this will get you closer to working.

    Comment


      #3
      Re: ntfs problem resolution

      In response, kubuntu sees the partition, but can't mount...

      mtab file reads as:

      /dev/hda2 / ext3 rw,errors=remount-ro 0 0
      proc /proc proc rw,noexec,nosuid,nodev 0 0
      /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
      varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
      varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
      udev /dev tmpfs rw,mode=0755 0 0
      devshm /dev/shm tmpfs rw 0 0
      devpts /dev/pts devpts rw,gid=5,mode=620 0 0
      lrm /lib/modules/2.6.22-14-generic/volatile tmpfs rw 0 0
      /dev/hda1 /media/hda1 fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
      /dev/sda1 /media/sda1 fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
      securityfs /sys/kernel/security securityfs rw 0 0

      I think I should have the external on the mtab instead of the fstab, since I don't always boot the machine with the external attached (all files documented on this post were made with the drive running)

      Comment

      Working...
      X