Results 1 to 10 of 10

Thread: Automount NTFS + FAT32 Partitions

  1. #1
    Join Date
    Jun 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Automount NTFS + FAT32 Partitions

    Hi.

    I have to hard drives, one IDE and one SATA. The IDE drive is divided in two patitions: System (NTFS, /dev/sda1) and PROFILE (FAT32, /dev/sda5). The SATA drive is divided in another two partitions: Media (NTFS, /dev/sdb1) and Work (NTFS, /dev/sdb5).

    Following this guide, I was able to r/w my NTFS partitions, but the problem is that I have to mount them every time I boot in Ubuntu.

    So, I searched a bit, and found some information about /etc/fstab. I copied the contents of fstab and added a few lines to automount my other two NTFS drives (Wubi installed Ubuntu in "Work" (/dev/sda5), for some weird reason) and my FAT32 drive.

    This is how the new file looked like:
    Code:
    # /etc/fstab: static file system information.
    #
    #  -- This file has been automaticly generated by ntfs-config -- 
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc /proc proc defaults 0 0
    /dev/loop7 / ext3 defaults 0 1
    /dev/loop6 /home ext3 defaults 0 2
    /dev/loop5 none swap sw 0 0
    /dev/loop4 /media/extra auto defaults 0 0
    /dev/sdb5 /media/Work ntfs umask=222,utf8 0 0
    
    ##Added content starts here
    /dev/sdb1 /media/Media ntfs auto defaults 0 0
    /dev/sda1 /media/windows ntfs auto defaults 0 0
    /dev/sda5 /media/PROFILE vfat auto defaults 0 0
    I saved the new file in /media/Work/fstabNew and copied it to /etc/fstab using sudo -s.

    When I restarted and booted into Ubuntu, the three new partitions were NOT mounted and I could not even see them in Computer.

    The point is that maybe I didn't modify my fstab file correctly. Mind to help?

    And yes, I made sure that /etc/fstab was changed.
    Last edited by alanorozco; April 11th, 2007 at 02:22 PM.

  2. #2
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Automount NTFS + FAT32 Partitions

    The windows partition that contains the wubi folder is already automounted in media host (wubi beta3+)
    For the others, did you create the folders in /media as well?

    You can simply try to mount them monually (no need to reboot), once a line is in fstab you can call it by providing either the device or the mountpoint.

    sudo mount /dev/sda5

    Finally, to get r/w capabilities in ntfs you want to use "ntfs-3g" not "ntfs".

  3. #3
    Join Date
    Jun 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Automount NTFS + FAT32 Partitions

    Quote Originally Posted by ago View Post
    The windows partition that contains the wubi folder is already automounted in media host (wubi beta3+)
    I'm using Wubi b3 and it's not mounted.
    Quote Originally Posted by ago View Post
    For the others, did you create the folders in /media as well?
    No, I didn't know I had to.
    Quote Originally Posted by ago View Post
    Finally, to get r/w capabilities in ntfs you want to use "ntfs-3g" not "ntfs".
    I'm going to try that, thanks.

  4. #4
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Automount NTFS + FAT32 Partitions

    Quote Originally Posted by alanorozco View Post
    I'm using Wubi b3 and it's not mounted.
    Hmm, it should be mounted,if it's not it's an issue...

  5. #5
    Join Date
    Jun 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Automount NTFS + FAT32 Partitions

    It didn't work

    The drives weren't mounted and they don't show up in Places > Computer.

    I did make the new folders in /media/.

    Code:
    # /etc/fstab: static file system information.
    #
    #  -- This file has been automaticly generated by ntfs-config -- 
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc /proc proc defaults 0 0
    /dev/loop7 / ext3 defaults 0 1
    /dev/loop6 /home ext3 defaults 0 2
    /dev/loop5 none swap sw 0 0
    /dev/loop4 /media/extra auto defaults 0 0
    /dev/sdb5 /media/Work ntfs umask=222,utf8 0 0
    
    ##Added content starts here
    /dev/sdb1 /media/Media ntfs-3g auto defaults 0 0
    /dev/sda1 /media/windows ntfs-3g auto defaults 0 0
    /dev/sda5 /media/PROFILE vfat auto defaults 0 0

  6. #6
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Automount NTFS + FAT32 Partitions

    What do you see under /media/host? Is there a /media/host folder at all? Can you look into c:\wubi\logs\lupin.log which is inside the windows partition?

  7. #7
    Join Date
    Jun 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Automount NTFS + FAT32 Partitions

    Quote Originally Posted by ago View Post
    What do you see under /media/host? Is there a /media/host folder at all?
    Yes, it's the /dev/sdb5 partition (Work).

  8. #8
    Join Date
    Feb 2007
    Beans
    251

    Re: Automount NTFS + FAT32 Partitions

    If you ever still have the img files, could you tell me exactly their size in bytes ? (even if you converted them to NTFS)
    You can do that by left clicking it in windows explorer and looking at properties.

  9. #9
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Automount NTFS + FAT32 Partitions

    Quote Originally Posted by alanorozco View Post
    Yes, it's the /dev/sdb5 partition (Work).
    I don't understand, do you see files under /media/host? If so why do you claim that it is not mounted?

  10. #10
    Join Date
    Jun 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Automount NTFS + FAT32 Partitions

    Quote Originally Posted by ago View Post
    I don't understand, do you see files under /media/host? If so why do you claim that it is not mounted?
    Oh, I misread your post, it's mounted. I thought you meant C:
    Quote Originally Posted by ecology2007 View Post
    If you ever still have the img files, could you tell me exactly their size in bytes ? (even if you converted them to NTFS)
    You can do that by left clicking it in windows explorer and looking at properties.
    I uninstalled Wubi (I temporally installed it to check out Feisty). Sorry.

    I still need an answer, though. I'm going to install Feisty in an ext3 partition once it's released.

Bookmarks

Posting Permissions

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