Announcement

Collapse
No announcement yet.

How to: Set up access to a Windows partition

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

    How to: Set up access to a Windows partition

    To set up access to a Windows partition, edit your /etc/fstab (as root) :
    Add a line like:
    Code:
     /dev/hda2  /mnt/win  ntfs  ro,umask=0000,user,gid=users  0  0
    Replace /dev/hda2 with the location of your windows partition.
    /mnt/win is the place where you want the contents of the Windows partition to
    be mounted.
    The other settings asign read-only access and assure that non-root users have access
    to the partition.
    When done editing and saving fstab, you will need to reboot.
    Afterward, your Windows partition should be accessable by going into /mnt/win.
    -D

    #2
    Re: How to: Set up access to a Windows partition

    How do I know where my windows partition is? I know it showed it when I was installing Kubuntu, but I forgot what it was? Is there any way to check now?

    Comment


      #3
      Re: How to: Set up access to a Windows partition

      Never mind.  I found out how right after I posted above.  And I mean right after.

      Comment


        #4
        Re: How to: Set up access to a Windows partition

        So everything worked for you?

        Comment


          #5
          Re: How to: Set up access to a Windows partition


          How to: Set up access to a Windows partition
          « on: October 27, 2005, 12:26:04 pm » Reply with quote
          To set up access to a Windows partition, edit your /etc/fstab (as root) :
          Add a line like:

          Code:
          /dev/hda2 /mnt/win ntfs ro,umask=0000,user,gid=users 0 0

          Replace /dev/hda2 with the location of your windows partition.
          /mnt/win is the place where you want the contents of the Windows partition to
          be mounted.
          The other settings asign read-only access and assure that non-root users have access
          to the partition.
          When done editing and saving fstab, you will need to reboot.
          Afterward, your Windows partition should be accessable by going into /mnt/win.
          -D

          >>>
          I have followed your instruction, but it doesn't work out. when i do the '/mnt/win' under the terminal, it complaints that: win command not found. (by the way, i'm new to linux) Please help

          Comment


            #6
            Re: How to: Set up access to a Windows partition

            "/mnt/win/" is NOT a command. It is the address of a directory. By including the line given by the original poster in your /etc/fstab (another address) file. you you make it possible for Linux to create a "mount point" for you windows partition at that address. Here is a more detailed discussion of mounting Windoze partitions in (K)Ubuntu.

            Comment


              #7
              Re: How to: Set up access to a Windows partition

              Originally posted by askrieger
              "/mnt/win/" is NOT a command. It is the address of a directory. By including the line given by the original poster in your /etc/fstab (another address) file. you you make it possible for Linux to create a "mount point" for you windows partition at that address. Here is a more detailed discussion of mounting Windoze partitions in (K)Ubuntu.
              Thanks. As i poked around a bit and i found out that my window drive is already been mount to the Linux. Also, I have found that link is very helpful for newbie like me, now I installed the IE on my machine, I need it for the Web design. Thanks alot folks!!!

              Comment


                #8
                Re: How to: Set up access to a Windows partition

                Originally posted by Downtown
                Never mind. I found out how right after I posted above. And I mean right after.
                usually, after you post and get the answer from somewhere else or figure it out on your own, you post it for others that might be looking for something similar.

                I guess you tried sudo fdisk -l?
                cheers!
                -=|From the desk of|=-
                «•´`•.(*•.¸(`•.¸ ¸.•´)¸.•*).•´`•»
                «•´¨*•.¸¸whoiam55.¸¸.•*¨`•»
                «•´`•.(¸.•´(¸.•* *•.¸)`•.¸).•´`•»
                Reg. Linux User # 400637

                Comment


                  #9
                  Re: How to: Set up access to a Windows partition

                  would you use the same technique in the regular Ubuntu?

                  Comment

                  Working...
                  X