Results 1 to 7 of 7

Thread: Auto mount and dismount Windows HDDs

  1. #1
    Join Date
    Sep 2019
    Beans
    1

    Auto mount and dismount Windows HDDs

    I would like to use Ubuntu to browse through a bunch of windows HDDs prior to re-purposing them.

    If I take a HDD from a Windows 10 laptop and connect it to a Windows 7 PC, Go to USERS and try to open any of the user profiles Windows asks permission then takes the next 45-60 minutes to allow the viewing of the folder.

    I have been told That if I use windows XP or linux I dont have to do that.

    Once I mount the drive I have access to the whole files ystem. (Is this true? May be a good question.)

    What I want to do is plug the test drive into a USB dock. Have linux prompt me to mount the drive and after agreeing the file manager opens.

    Then When I am done I can press some button to dismount the drive.
    Thanks Tom

  2. #2
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,655
    Distro
    Ubuntu Mate

    Re: Auto mount and dismount Windows HDDs

    To dismount the drive, right-click the drive's icon and select "Safely Remove Drive" or "Unmount Drive."

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,619
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Auto mount and dismount Windows HDDs

    The big issue is whether the Windows that was on those drives was shut down properly prior to those drives being removed. Windows 10 doesn't shut down properly by default, simply hibernating instead, which leaves NTFS partitions in a dirty state. Ubuntu won't touch those partitions with a ten-foot pole.

  4. #4
    Join Date
    Jun 2014
    Beans
    5,890

    Re: Auto mount and dismount Windows HDDs

    In addition to the above, how are you planning to use Ubuntu/Linux? Do an actual install, use a 'live' DVD/USB? To read/write an ntfs partition from Ubuntu/Linux, you need ntfs-3g installed and I'm not sure that would be available on a 'live' system.

  5. #5
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,148
    Distro
    Xubuntu 19.10 Eoan Ermine

    Re: Auto mount and dismount Windows HDDs

    If Windows wasn't properly shut down, you may still be able to mount the ntfs partitions in read-only mode, but you have to do that manually.

    I think ntfs-3g is available on live disks, but I haven't checked recently. Your Windows file system may even get mounted without asking.

    Once you've mounted the filesystem, you have complete access. Linux ignores Windows' permissions system, just as Windows ignores Linux' permissions system.

  6. #6
    Join Date
    Jun 2007
    Beans
    13,967

    Re: Auto mount and dismount Windows HDDs

    Quote Originally Posted by yancek View Post
    To read/write an ntfs partition from Ubuntu/Linux, you need ntfs-3g installed and I'm not sure that would be available on a 'live' system.
    List of packages included in Live image: http://releases.ubuntu.com/18.04/ubu...amd64.manifest
    ntfs-3g is included (and has been for a while now IIRC).

    Windows 10 doesn't shut down properly by default, simply hibernating instead, which leaves NTFS partitions in a dirty state. Ubuntu won't touch those partitions with a ten-foot pole.
    There are ways around that. You can mount read-only. Or if you want to read/write, you can use the remove_hiberfile option if you don't care about running Windows on the drive ever again.

  7. #7
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,762
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Auto mount and dismount Windows HDDs

    Windows also has multiple storage types. If the partitions are "Basic", accessing it is usually easy.
    Advanced partitioning, encryption, partitions spanning multiple physical drives, will be harder and might be impossible to access.

    Give it a try, but keep a Windows10 machine around as a backup technique.

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
  •