Announcement

Collapse
No announcement yet.

Unable to copy files from C and D drive NTFS to /home and vice-versa

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

    [SOLVED] Unable to copy files from C and D drive NTFS to /home and vice-versa

    Hi.

    I use Linux in dual boot mode with windows 10. On windows, I have 2 partitions C and D and on Linux, I have again 2 partitions one for root and the other for home. Now when I'm trying to copy any file from my home directory to the local disk d drive it is not working and the same is true for the c drive. Also when I try to move or copy files within the C or D drive it is still not working.

    Also, I have noticed keyboard shortcuts such as f8 (for displaying hidden files) and f10 for creating a new folder is also not working. Also, the right click option to create a new folder is greyed out. The same is with copy and paste.

    Previously it was working without any problem. What is the problem? please help.

    Thanks..
    Last edited by mohittomar13; Jul 06, 2019, 03:03 AM.

    #2
    When was the last time it did work, and what have you seen happen with your system (either Windows or Kubuntu) since then?

    If possible, and while in Kubuntu, please enter the following two commands and post the results of each in CODE boxes.
    Code:
    lsblk -f
    Code:
    df -h
    Last edited by jglen490; Jul 06, 2019, 07:57 AM.
    The next brick house on the left
    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



    Comment


      #3
      It was working untill yesterday, I guess. Actually, I update my linux machine as soon as any update becomes available and if it's a security update then I do it right away. So I updated my system thrice yesterday as Discover was showing updates available notification.

      Following are the output of the commands

      lsblk -f


      NAME FSTYPE LABEL UUID MOUNTPOINT
      sda
      ├─sda1 ntfs Recovery A4D66A3AD66A0D3C
      ├─sda2 vfat B4CC-04EE /boot/efi
      ├─sda3
      ├─sda4 ntfs LocalDisk_C A600264D002624B1 /media/mohit/LocalDisk_C
      ├─sda5 ntfs 986CD57A6CD5541A
      ├─sda6 ntfs LocalDisk_D 265C66005C65CB5F /media/mohit/LocalDisk_D
      ├─sda7 ext4 LinuxRoot bc09b632-1c5d-4973-a904-d3ef98f67e0c /
      └─sda8 ext4 HomePart 6c34f794-1b39-45cd-83f0-a5ec34eeda2c /home/mohit
      sr0

      df -h

      Filesystem Size Used Avail Use% Mounted on
      udev 1.8G 0 1.8G 0% /dev
      tmpfs 369M 1.5M 367M 1% /run
      /dev/sda7 32G 16G 15G 53% /
      tmpfs 1.8G 48M 1.8G 3% /dev/shm
      tmpfs 5.0M 4.0K 5.0M 1% /run/lock
      tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
      /dev/sda2 96M 42M 55M 44% /boot/efi
      /dev/sda8 35G 16G 18G 48% /home/mohit
      tmpfs 369M 24K 369M 1% /run/user/1000
      /dev/sda4 383G 148G 236G 39% /media/mohit/LocalDisk_C
      /dev/sda6 480G 375G 106G 78% /media/mohit/LocalDisk_D

      sudofdisk -l

      Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: FD8815B8-3C75-46D7-BAD1-54182F2E7861

      Device Start End Sectors Size Type
      /dev/sda1 2048 923647 921600 450M Windows recovery environment
      /dev/sda2 923648 1128447 204800 100M EFI System
      /dev/sda3 1128448 1161215 32768 16M Microsoft reserved
      /dev/sda4 1161216 803686855 802525640 382.7G Microsoft basic data
      /dev/sda5 803688448 805306367 1617920 790M Windows recovery environment
      /dev/sda6 805308416 1811941375 1006632960 480G Microsoft basic data
      /dev/sda7 1886334976 1953523711 67188736 32G Linux filesystem
      /dev/sda8 1811941376 1886334975 74393600 35.5G Linux filesystem

      Partition table entries are not in disk order.

      Apart from Partition table entries are not in disk order I do not see any other error. And practically this not in disk order is also not an error as far as I know.

      Comment


        #4
        one other thing to consider is how windows was shut down last time , you cant enable "fast boot" in windows and still access your files in linux or if windows did not shut down clean , but usually you wont be able to even mount the drives if the file system did not shutdown clean.

        go back to windows and run a filesystem check and then make sure you shut down clean (no hibernating or fast booting) and try again .

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          Originally posted by vinnywright View Post
          one other thing to consider is how windows was shut down last time , you cant enable "fast boot" in windows and still access your files in linux or if windows did not shut down clean , but usually you wont be able to even mount the drives if the file system did not shutdown clean.

          go back to windows and run a filesystem check and then make sure you shut down clean (no hibernating or fast booting) and try again .

          VINNY
          There's the best advice on the forum today...

          Please Read Me

          Comment


            #6
            FYI without windows you can still clean that flag using ntfsfix
            Last edited by sithlord48; Jul 07, 2019, 07:48 AM.
            Mark Your Solved Issues [SOLVED]
            (top of thread: thread tools)

            Comment


              #7
              @vinnywright

              Wow. That worked. I just had to shut down Linux then boot into windows and then rebooted to boot Linux again. Now everything is working fine.

              Thanks... I really appreciate your help and all the replies everyone gave to help me.
              Last edited by mohittomar13; Jul 07, 2019, 11:59 AM.

              Comment

              Working...
              X