Announcement

Collapse
No announcement yet.

[SOLVED] Partition Mounted But contents Not Loaded

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

    [SOLVED] Partition Mounted But contents Not Loaded

    Im a senior computer science major and have been using linux for a while. I am not exactly a beginner, but I am no expert either. And I have not been using Kubuntu specifically for very long.

    So I dual boot Kubuntu 11.04 and Windows 7. My Windows 7 partition contains all my media files. The problem is that while the file system recognizes my "282.4 GiB Hard Drive" in the file explorer, if I do not click on it other applications cannot find any files that are there.

    For example: I open RhythmBox and all my music is gone; click on partition in explorer, RhythmBox instantly starts adding all my music back.

    So what can I do to have Kubuntu automatically load the contents of the other partition on startup?

    #2
    Re: Partition Mounted But contents Not Loaded

    it neads to be added to the file /etc/fstab to be auto mounted at boot.

    you will nead to know the /dev entry .....you can get that from
    Code:
    sudo fdisk -l
    or the block ID ....you can get that from
    Code:
    sudo blkid
    post both of those if you knead help.

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

    Comment


      #3
      Re: Partition Mounted But contents Not Loaded

      Code:
      sudo fdisk -l
        Device Boot   Start     End    Blocks     Id    System
         /dev/sda2      13    36874  296082432  7   HPFS/NTFS
      Code:
      sudo blkid
      /dev/sda2: UUID="D81C31AA1C318512" TYPE="ntfs"
      Took a look a fstab and dont really know whats going on there.
      It currently contains:
      Code:
      proc      /proc      proc  nodev,noexec,nosuid 0    0
      # / was on /dev/sda5 during installation
      UUID=c76a2eee-543e-4473-9d3d-1f5e0439d7cb /        ext4  errors=remount-ro 0    1
      Do I just add
      Code:
      UUID=D81C31AA1C318512 /   ntfs  errors=remount-ro 0   1
      Im thinking I might need to change those integers at the end of the line

      Comment


        #4
        Re: Partition Mounted But contents Not Loaded

        looks ok exept you have it pointing to /root you nead a mount point for it say /mnt/win you can create it with
        Code:
        sudo mkdir /mnt/win
        cant remember the preferd options I would change the "ro" to "rw" though maby something like this

        UUID=D81C31AA1C318512 /mnt/win ntfs users rw 0 1
        you will half to edit as root
        Code:
        kdesudo kate /etc/fstab
        add the line to the end of the file then place curser at the end and press enter twice save and quit and test with a call to
        Code:
        sudo mount -a
        if it works you will half to re point RhythmBox to the new location of your music

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

        Comment


          #5
          Re: Partition Mounted But contents Not Loaded

          Here's a NTFS partition mounted to the user's home folder. This is a USB stick, in a computer that has Windows on the /dev/sda1 hard drive partition. Note that I'm using the ntfs-3g package on this Debian system -- not sure if that is needed for Kubuntu or not, but this one works great. The line in /etc/fstab that mounts it looks like this:

          Code:
          /dev/sda1      /home/dibl/win-target   ntfs-3g     uid=1000,gid=1000,umask=0022 	0  0

          Comment


            #6
            Re: [SOLVED] Partition Mounted But contents Not Loaded

            Looks to be working, thanks Vinny.

            Just out of curiosity why did I add two lines to the end of fstab?

            Comment


              #7
              Re: [SOLVED] Partition Mounted But contents Not Loaded

              Originally posted by macgregor
              Looks to be working, thanks Vinny.

              Just out of curiosity why did I add two lines to the end of fstab?
              their used to be a quirk where if a system file didn't have a proper end of file it wouldn't get parsed by the system properly ......I just got in the habit of making sure the last entry was at the end to be sure
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Re: [SOLVED] Partition Mounted But contents Not Loaded

                Originally posted by vinnywright
                Originally posted by macgregor
                Looks to be working, thanks Vinny.

                Just out of curiosity why did I add two lines to the end of fstab?
                their used to be a quirk where if a system file didn't have a proper end of file it wouldn't get parsed by the system properly ......I just got in the habit of making sure the last entry was at the end to be sure
                Thats pretty much what I figured

                Comment

                Working...
                X