Why can't I mount my Windows hard drive from Linux?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why can't I mount my Windows hard drive from Linux?
I have a lot of media files on my Windows hard drive and would like to retrieve this data for either storage or play back on my Linux hard drive. However, I don't know how to mount this drive and make it work? The device assignment is hdb1 can anyone help? Also, running GRUB boot loader, I cannot boot to my Windows drive. It starts the boot and then stops in the middle of it, Windows is fully installed and had no problem booting it from GRUB the first time I tried it.... Any suggestions?
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
bring up a console terminal and type:
mount /dev/hdb1 /mnt/windows
at the prompt.
You might need some additional parameters in there, but since I'm not at one of my Linux boxes right now, I can't manpage or get help regarding those...
You could go back to your Windoz and create a FAT32 partition for your files and then copy them from there to Linux, or simply leave them there and access the files from that drive through the corresponding mount point
You dont have the driver for the NTFS file system compiled in your kernel. There is a chance to have it as a module.
Try:
# modprobe ntfs
If this doesnt return errors you should be able to mount your NTFS partition in Linux. If it return something like <<Cant locate module ntfs>> you will have to recompile your kernel with built-in NTFS support or with NTFS as a module.
I can't go back to my Windows drive because it won't let me boot it from GRUB. Also it is XP Pro and defaults to NTFS, I have seen no way to change the partition to FAT 32 without formating and reinstalling the OS... thus deleting all of my media, no?
If you manage to get into XP you can use Partition MAgic or similar to resize a partition, then create a new FAT32 partition. When that's done you can copy cour files in XP
Why dont you recompile your kernel with support for NTFS? It isnt so hard and you will be running an optimised kernel with only this what you need. And also you will learn more about Linux. There are many threads here describing how to do this. They are sticky so easy to find.
If you have a Windows rescue disk that you can boot from you can then do fdisk /mbr from it which will restore the hard disks master boot record. That will then allow you to boot XP. Once you've done that and sorted out the windows side of it then you'll have to boot a linux install or recovery disk to either reinstall linux or sort out the dual boot issue.
That does seem odd that NTFS support was not included. I was under the impression that all distros had NTFS support by default.
At any rate, it would be much better to compile in NTFS support than mess around with the partitions and make a FAT32 partition just to share files from.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.