Find the answer to your Linux question:
Results 1 to 7 of 7
I am triple booting Ubuntu 11.04, Win 7 and Win XP. Linux is on a separate EXT HDD, both Windows 7 and XP are on another NTFS HDD and all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Location
    UK Weston-Super-Mare
    Posts
    20

    11.04 how to mount NTFS disks at logon


    I am triple booting Ubuntu 11.04, Win 7 and Win XP. Linux is on a separate EXT HDD, both Windows 7 and XP are on another NTFS HDD and all the work files etc. on a third NTFS HDD, all are SCSI disks.

    When I start Ubuntu how do I make it automatically mount the NTFS disks? At the moment I only see the files on the Linux disc.

    Thanks in advance

    toolman59

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    You need an entry for each windows system in your /etc/fstab file. You also need ntfs-3g to be able to read/write to ntfs partitions. I believe that should be available by default with Ubuntu. Check this link for detailed explanation on fstab on Ubuntu:

    https://help.ubuntu.com/community/Fstab

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Location
    UK Weston-Super-Mare
    Posts
    20
    yancek

    Thank you, I am knew to Linux, this will give me something to chew on for some time.

    toolman59

  4. #4
    Linux Newbie
    Join Date
    Jan 2010
    Location
    usa
    Posts
    149
    under you home dir for your user add a new folder for the ntfs hard drive example is /home/lance/ntfs where lance is the user and ntfs is the folder I created for the ntfs hard drive. Next open a terminal and find out where and what # is you ntfs hard drive with. I use gnome-terminal found under applications > Accessories > Terminal

    lance@bermudezl:~/0$ sudo fdisk -l
    Disk /dev/sdb: 499.4 GB, 499405291520 bytes
    255 heads, 63 sectors/track, 60715 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0009b92b

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 60716 487700448 7 HPFS/NTFS
    lance@bermudezl:~/0$

    after you find that out the above info open a text editor and edit the fstab file adding the above info to the end of the file. Just so you know the 0 at the end are zeros. I use gedit and open it from the terminal. When you are don save the changes to gedit and close gedit but leave the terminal open.
    lance@bermudezl:~/0$ sudo gedit /etc/fstab

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda5 during installation
    UUID=98f00e03-720a-40c6-a998-2c89c03d57fe / ext2 errors=remount-ro 0 1
    # swap was on /dev/sda1 during installation
    UUID=cf9053c2-7492-40f4-a635-943026a4e10e none swap sw 0 0
    /dev/sdb1 /home/lance/nfts ntfs-3g 0 0

    with the open terminal type what is below to be able to use the ntfs hard drive under the folder /home/lance/ntfs with out a restart. you may close the termnal after the (lance@bermudezl:~/0$) shows back up. type what is below
    lance@bermudezl:~/0$ sudo mount -a

  5. #5
    Just Joined!
    Join Date
    Apr 2011
    Location
    UK Weston-Super-Mare
    Posts
    20
    Thank you both for your time and efforts.

    I found this link earlier today help.ubuntu.com/community/AutomaticallyMountPartitions I have used pysgm and now can use the "System-Administration-Storage Device Manager" to mount my NTFS partitions.

    One more step up the Linux knowledge ladder for me with your help!

  6. #6
    Just Joined!
    Join Date
    Jun 2011
    Posts
    18
    Install "Ntfs-config", open the program and just clic on the partitions that you want.

  7. #7
    Just Joined!
    Join Date
    Apr 2011
    Location
    UK Weston-Super-Mare
    Posts
    20
    Thank you dvid, nice and simple, only needs a directory to be created as per the post on the download site.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •