Results 1 to 4 of 4

Thread: Error mounting windows partition every boot. 11.04

  1. #1
    Join Date
    Jan 2008
    Beans
    20

    Error mounting windows partition every boot. 11.04

    Hi,

    I have Ubuntu 11.04 & Windows 7 installed on the same disc, with all of my data on the NTFS partition so that I can get at it from both OSs. Is set up the following line in fstab to mount the windows partition on boot since if I log in without it mounting all of my links to the directories where my stuff is stored will break and Clementine will have a hissy fit 'cause it can't find my music.

    Every time I restart during the boot process I get an error stating that it could not mount the windows partition and giving me the option of dropping into a root terminal to do this manually, which I can do. Then it works fine for that session. I just don't want to have to drop into a terminal every boot just to enter 'mount /dev/sda2 /media/windows'

    The line I added to fstab was:
    Code:
    /dev/sda2				  /media/windows  NTFS	  rw,suid,dev,exec,auto,user,sync	0	0
    I'm assuming for some reason it doesn't like the options there, which is why it's failing. What've I done wrong?

    P.S. is there a more elegant way to achieve this? Surely ubuntu should've moved on to having a system setting to "automatically mount this drive" by now? I would have assumed just being able to right click on the drive and instead of selecting "mount" select "always mount this drive".

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,503
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Error mounting windows partition every boot. 11.04

    Quote Originally Posted by yonni View Post
    .........
    P.S. is there a more elegant way to achieve this? Surely ubuntu should've moved on to having a system setting to "automatically mount this drive" by now? I would have assumed just being able to right click on the drive and instead of selecting "mount" select "always mount this drive".
    It already has, install the pysdm package and use that.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate.
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Dec 2009
    Beans
    5,304

    Re: Error mounting windows partition every boot. 11.04

    /dev/sda2 /media/windows NTFS rw,suid,dev,exec,auto,user,sync 0 0
    Every time I restart during the boot process I get an error stating that it could not mount the windows partition and giving me the option of dropping into a root terminal
    Because there is no filesystem type: NTFS, it's ntfs - small case. You know how persnickety Linux can be about capitalization:
    Code:
    /dev/sda2  /media/windows ntfs rw,suid,dev,exec,auto,user,sync    0    0
    For future reference:

    * Anytime you edit fstab you should unmount the partition if you mounted it manually and run the following command:
    Code:
    sudo mount -a
    That command will test for errors and mount the partition with the edited fstab line without doing a reboot so you can fix it earlier.

    *
    Surely ubuntu should've moved on to having a system setting to "automatically mount this drive" by now?
    You are given an opportunity when you originally installed the OS to have the installer do all this for you. It asks you what partition you want to automount, what it's filetype is, and where you want it to mount.

  4. #4
    Join Date
    Jan 2008
    Beans
    20

    Re: Error mounting windows partition every boot. 11.04

    Thanks for that, sorry I was being so stupid

    Quote Originally Posted by Morbius1 View Post
    ...
    * You are given an opportunity when you originally installed the OS to have the installer do all this for you. It asks you what partition you want to automount, what it's filetype is, and where you want it to mount.
    Do you mean in the bit of the installer for organising partitions/swapspace/formatting etc. 'cause I'm really not very comfortable touching my windows partition at all with that in case I make a mistake and have it formatted by accident. Not only that, but there are many other reasons for wanting an "automount this drive" - e.g. having bought a new drive, it's just an intuitive thing to have, changing your mind post-installation.

    I just don't think that's much of a solution/alternative.

Tags for this Thread

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
  •