Announcement

Collapse
No announcement yet.

Automount a partition

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

    Automount a partition

    Hello, i have a Windows XP partition and a Kubuntu partition, i was wondering how to automount the Windows partition, as it has some things on it that i could do to get to with a click of a button (40GB of music...dont tell me to move it to my linux partition as i need windows to access it too)

    Here is the output of my fdisk -l

    Code:
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x7ab852fc
    
      Device Boot   Start     End   Blocks  Id System
    /dev/sda1  *      1    22548  181116778+  7 HPFS/NTFS
    /dev/sda2      22549    30401  63079222+  5 Extended
    /dev/sda5      22549    30075  60460596  83 Linux
    /dev/sda6      30076    30401   2618563+ 82 Linux swap / Solaris

    #2
    Re: Automount a partition

    Assuming that your user name is monotoko, and you have a directory in /home/monotoko called Windows where you want to mount your Windows partition and let monotoko read and write to it, and monotoko has uid 333 and gid 333, add this line to /etc/fstab

    /dev/sda1 /home/monotoko/Windows ntfs defaults,uid=333,gid=333

    You will need to modify that with your user info, but it will then be mounted at boot.

    Comment


      #3
      Re: Automount a partition

      Thank you very much, it worked

      Comment

      Working...
      X