Find the answer to your Linux question:
Results 1 to 4 of 4
Hi everyone, I've recently installed ubuntu 10.04 on a machine with MS Vista. Initially, I decided to use a fat32 partition (mounted at /windows) for storage of files used by ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    23

    [SOLVED] Disable automount for /windows

    Hi everyone,
    I've recently installed ubuntu 10.04 on a machine with MS Vista. Initially, I decided to use a fat32 partition (mounted at /windows) for storage of files used by both Ubuntu and Vista. Then, I saw that Ubuntu can read/write on NTFS partitions, so I deleted my fat32 disk space.
    Now, Ubuntu tries to mount that partition and during the boot of the Gnome environment, it says that /windows cannot be mounted. If I press S (skip), the desktop can be loaded normally but I would like to delete all references to that partition. Could anyone help me, please? Thank you very much in advance. Stefano

  2. #2
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    You'll probably have to remove a line in /etc/fstab. The one that has /windows as the second item.

    But how did that line was written there in the first place, I wonder. Maybe it's not that. Did you create the partition during the install process? or before?

    Any way, if you have that line, instead of removing it just now, place a # in the beginning of that line (make it a comment) first. Then reboot.

    Be specially careful to not change anything else. Really

    see man fstab

    Regards
    Luis

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Just put #sign before line having /windows work in /etc/fstab file. Save file and execute sudo mount -a command. Check if it throws any error.
    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/fstab
    Edit and save file.
    Execute this
    Code:
    sudo mount -a
    Post error message here, if any.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    May 2010
    Posts
    23

    Thanks guys

    ptkobe solved my problem so I did not try devils casper's solution.
    for ptkobe: I created that partition during the installation, then I realized that 10.04 can handle read/writing process onto NTFS partition. As I saw that, I immediately deleted that partition but fstab went on trying to mount it at /windows during boot.

    Thank to both of you, guys.
    Stef

Posting Permissions

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