Skip to content

Instantly share code, notes, and snippets.

@hoangddt
Last active August 29, 2015 14:27
Show Gist options
  • Save hoangddt/2e893ae7c5844811f6a5 to your computer and use it in GitHub Desktop.
Save hoangddt/2e893ae7c5844811f6a5 to your computer and use it in GitHub Desktop.
Mount a Partition that is windows partition
# create a directory and mount to it in read-only mode
sudo mkdir /media/Data
mount -t ntfs-3g -o ro /dev/sda3 /media/Data
# force to mount, read more at `man ntfs-3g`
mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/Data
# source: http://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibernation
# mount an iso file
sudo mount -o loop "PluralSight Building AngularJS and Node.js Apps with the MEAN Stack.iso" /media/hoangddt/iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment