Results 1 to 2 of 2

Thread: How to diisable windows partions from mounting on Lubuntu?

  1. #1
    Join Date
    Oct 2017
    Beans
    1

    How to diisable windows partions from mounting on Lubuntu?

    I have done it in the past but forgot the terminal commands to do it, I don't want my Windows partitions to mount or show everytime I am using Lubuntu OS, what is the terminal command to disable partitions from mounting? Please, try not to ask for any screenshot, just assume my partition list and try responding.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to diisable windows partions from mounting on Lubuntu?

    You actually mount it using fstab and set noauto, no permissions 777.

    Examples, but you have to still create a mount point and use your UUID.
    ** To find the correct UUID for your partitions:
    sudo blkid -c /dev/null -o list

    sudo mkdir /mnt/SysRes
    # Hide mount template examples with noauto, you have to make the mount points yourself first
    sudo mkdir /mnt/SysRes
    UUID=200C11850C1156DE /mnt/SysRes ntfs defaults,noauto 0 0

    Hide windows mount with noauto: 777 is no permissions at all, UUID is better than this example with device mount
    /dev/sda2 /Windows/sda2 ntfs defaults,noauto,umask=777 0 0
    #hide windows 7 second hard drive
    sudo mkdir /mnt/reserved
    UUID=8A4029F24029E5A3 /mnt/reserved ntfs defaults,noauto 0 0
    sudo mkdir /mnt/win7
    UUID=80A02B83A02B7F32 /mnt/win7 ntfs defaults,noauto,umask=777 0 0
    http://askubuntu.com/questions/85802.../858105#858105
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •