Announcement

Collapse
No announcement yet.

NTFS issues

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

    #31
    Re: NTFS issues

    Don't think it worked. Here's the response to mounting command

    mike@laptop:~$ dir /media
    cdrom cdrom0 hda1 sda1 sda5
    mike@laptop:~$ sudo mkdir /media/sda2
    [sudo] password for mike:
    mike@laptop:~$ sudo mount -a
    [mntent]: warning: no final newline at the end of /etc/fstab
    $LogFile indicates unclean shutdown (0, 0)
    Failed to mount '/dev/sda1': Operation not supported
    Mount is denied because NTFS is marked to be in use. Choose one action:

    Choice 1: If you have Windows then disconnect the external devices by
    clicking on the 'Safely Remove Hardware' icon in the Windows
    taskbar then shutdown Windows cleanly.

    Choice 2: If you don't have Windows then you can use the 'force' option for
    your own responsibility. For example type on the command line:

    mount -t ntfs-3g /dev/sda1 /media/sda1 -o force

    Or add the option to the relevant row in the /etc/fstab file:

    /dev/sda1 /media/sda1 ntfs-3g defaults,force 0 0
    mount: mount point media/sda2 does not exist

    Comment


      #32
      Re: NTFS issues

      Would it make it any easier if I went in and repartitioned the external hd to be one partition?

      Comment


        #33
        Re: NTFS issues

        No. Here's (at least) part of the problem:

        "[mntent]: warning: no final newline at the end of /etc/fstab"

        You have to have a blank line at the end of your fstab file (hit enter when at the end of the last entry). Fix that and try the sudo mount -a command again.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #34
          Re: NTFS issues

          looks about the same:

          $LogFile indicates unclean shutdown (0, 0)
          Failed to mount '/dev/sda1': Operation not supported
          Mount is denied because NTFS is marked to be in use. Choose one action:

          Choice 1: If you have Windows then disconnect the external devices by
          clicking on the 'Safely Remove Hardware' icon in the Windows
          taskbar then shutdown Windows cleanly.

          Choice 2: If you don't have Windows then you can use the 'force' option for
          your own responsibility. For example type on the command line:

          mount -t ntfs-3g /dev/sda1 /media/sda1 -o force

          Or add the option to the relevant row in the /etc/fstab file:

          /dev/sda1 /media/sda1 ntfs-3g defaults,force 0 0
          mount: mount point media/sda2 does not exist

          Comment


            #35
            Re: NTFS issues

            Hmm. Post your /etc/fstab again. Something ins't write ( ) in it (pun intended).
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #36
              Re: NTFS issues

              # /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 0

              Comment


                #37
                Re: NTFS issues

                You already removed the /dev/sda2 entry? Reviewing my last few posts, I see I had a 'typo' in the line I told you to add to the fstab file (missing the '/' before media).

                Edit your fstab file and add the following line:
                /dev/sda2 /media/sda2 vfat defaults 0 2
                Put it after this one:
                UUID=C228BE9628BE88C5 /media/sda1 ntfs-3g defaults 0 2
                Your new fstab file should then look like this:
                # /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
                Note the 'blank' final line at the end. Also note, that in your fstab file, you had an extra 0 (zero) at the end of the swap entry line. Make sure you remove that.

                Save and close the file.
                Ensure that you still have the mount points sda2 and sda5 in /media. If either are missing, add them. When we have figured out which partition is the correct one, you can remove the other one.

                Reboot (ensures a clean filesystem shutdown). You may still end up having to change the /dev/sda2 /media/sda2 to /dev/sda5 /media/sda5
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #38
                  Re: NTFS issues

                  didn't work. There is a failed process in the boot cycle again. Is there anyway to review those lines.

                  fstab 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

                  I think part of that error is due to the fat formatted section of the hard drive, but it advances before I can actually read it.

                  Comment


                    #39
                    Re: NTFS issues

                    Well, you've been at this for quite awhile today. I'd say to (unless you already have) change the /dev/sda2 /media/sda2 to /dev/sda5 /media/sda5 and try again. If you have already done that and still haven't had any success, then for now, just comment out the line:
                    #/dev/sda2 /media/sda2 vfat defaults 0 2
                    and reboot. This will at least give you a working fstab sans the one partition on sda.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #40
                      Re: NTFS issues

                      I can now mount the 78 GB partition on the external hd, I can see, but not mount the 171 GB partition. 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?

                      Comment


                        #41
                        Re: NTFS issues

                        just an add on:

                        The solution is found here: http://ubuntuforums.org/showthread.php?t=601210

                        This is what I found to be a good solution:
                        -Open "System Settings" GUI
                        -Go to the "Advanced" tab
                        -Open "Disk & Filesystems"
                        -Click the "Administrator Mode..." button on the bottom right
                        -Right-click on the partition that isn't mounting properly and Select "Modify"
                        -Change "Mount Path" to a valid path
                        -Change "Mount Permission: " to "Any User may enable/disable anytime"
                        -Click the "Ok" button
                        -Click the "Enable" button at the near bottom of the window. problems:
                        (source is the above url)
                        Check out my Ⓥegan youtube channel PlantSugar
                        CV and gallery at grn.dk
                        Please add [SOLVED] to topic subject when topic is solved.

                        Comment

                        Working...
                        X