divinequran Posted December 7, 2008 Share Posted December 7, 2008 how to mount the windos on my linux machine, i have songs in my windows drive i try to copy it mounting it. when i try to mount it states error message unkown filesystem 'NTFS' Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/ Share on other sites More sharing options...
corbin Posted December 7, 2008 Share Posted December 7, 2008 Samba. Google it. Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-708792 Share on other sites More sharing options...
steviewdr Posted December 8, 2008 Share Posted December 8, 2008 Samba is for mounting windows shares from another computer. Im not sure if this is what you are looking for. If your running linux and windows on the same computer (dual boot etc.), then its a bit trickier. Typically it "just works" with the latest ubuntu/fedora. I'd suggest grabbing one of their latest livecds. They will automatically pick up and mount your windows partitions. Otherwise your going to have to look at something like http://mount-ntfs.sourceforge.net/ http://www.howtoforge.com/ubuntu_edgy_eft_ntfs_ntfs_3g -steve Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-708905 Share on other sites More sharing options...
corbin Posted December 8, 2008 Share Posted December 8, 2008 Oh dang.... Yeah I was assuming he was doing it over a network for some reason. lol. Now that I reread his post, I'm 99% sure he's not doing it over a network. Entirely ignore my first post ;p. Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-709008 Share on other sites More sharing options...
divinequran Posted December 23, 2008 Author Share Posted December 23, 2008 My friend said it cant be done because linux only supports FAT and not NTFS, he also said it can mounted by using some other file system type and he dont know how to do it, any one did so.. please help. Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-722518 Share on other sites More sharing options...
trq Posted December 23, 2008 Share Posted December 23, 2008 My friend said it cant be done because linux only supports FAT and not NTFS Your friend is wrong. Did you look at the link steviewdr provided? Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-722809 Share on other sites More sharing options...
divinequran Posted December 24, 2008 Author Share Posted December 24, 2008 yes, i read that post, It says mounting of NTFS in Ubuntu but i use Redhat 5 Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-723262 Share on other sites More sharing options...
tomfmason Posted December 24, 2008 Share Posted December 24, 2008 I use ntfsmount from ntfsprogs on debian. I am pretty sure that there is an RPM for RedHat as well. Here is a simple bash script that I wrote to make the process a bit easier: #!/usr/bin/env bash #@author: tomfmason@gmail.com #@app: microShaft #@description: This is a simple script that makes mounting microShaft ntfs partitions a bit easier. # At some point I plan on adding more useful features to this script for doing various # things with windows and NTFS partions. Enjoy! OPTIONS="Mount Unmount Quit" #options function options { echo "Options:" echo " -h,--help displays this message" echo " -i interactive mode" echo " mount (device) (location) mount the given device at the given location" echo " unmount (location) unmount the given location" } #bad option function bad_option { echo bad option } #mount the windows partion function mount_windows { ntfsmount $1 $2 -o allow_other,show_sys_files,uid=1000 } #unmount the windows partion function unmount { fusermount -u $1 } #display the interactive menu function interactive { select opt in $OPTIONS; do if [ "$opt" = "Quit" ]; then echo done exit elif [ "$opt" = "Mount" ]; then echo Device to mount echo Allow input: device and list read DEVICE if [ "$DEVICE" = "list" ]; then fdisk -l echo Device to mount read DEVICE fi echo Directory to mount it to read LOCATION mount_windows $DEVICE $LOCATION elif [ "$opt" = "Unmount" ]; then echo Location to unmount read LOCATION unmount $LOCATION else clear bad_option fi done } if [ "$1" = "-i" ]; then interactive elif [ "$1" = "-h" ]; then options elif [ "$1" = "--help" ]; then options elif [ "$1" = "mount" ]; then mount_windows $2 $3 elif [ "$1" = "unmount" ]; then unmount $2 else options fi You will need to edit your uid in the mount_windows function. Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-723296 Share on other sites More sharing options...
divinequran Posted December 25, 2008 Author Share Posted December 25, 2008 What to do with the script just copy and past it where? or i have to find the RPM for mounting it? Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-723605 Share on other sites More sharing options...
tomfmason Posted December 25, 2008 Share Posted December 25, 2008 um... That script is just a utility script that I wrote to make it a bit easier to mount the ntfs partitions. Did you look around the link that I gave you? - http://www.linux-ntfs.org/doku.php?id=redhat:start Quote Link to comment https://forums.phpfreaks.com/topic/135938-mount-windows-drive/#findComment-723614 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.