[SOLVED] Cannot read windows disk when booting from usb key
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
When recuperating the data from an infected computer with a Ubuntu key, I scan the data with GDATA anti virus AND MALAWARE MALABYTE anti spyware, this is the best protection I know about.
If my problem is not hibernation then why my Windows partition is not accessible when booting with a linux key?
I know my Windows partition is not readable when I boot from linux on my hard disk (dual boot)
I also know the XP system partition is readable when booting with my linux key ( an old computer I have)
I have access to a Windows 7 computer at work, I guess I will try to read the Windows partition after booting from my linux key on that computer.
I'm afraid to find bootable utilities on the internet, I don't want to catch a virus.
I also don't know about bootable anti virus software.
I should also learn about protected or legacy mode.
If my problem is not hibernation then why my Windows partition is not accessible when booting with a linux key?
I'm still not certain that isn't the problem, but it seems that way since you say you did a "restart" and that you have not received any errors when trying to access the Windows partition. Ubuntu will typically report an error about hibernation.
Quote:
Originally Posted by bruno labonté
I know my Windows partition is not readable when I boot from linux on my hard disk (dual boot)
I also know the XP system partition is readable when booting with my linux key ( an old computer I have)
You say both your hard drive and your USB version of Ubuntu is 14.04, and both of them fail to see your Windows partition. I suggested in post #3 that you try a newer version instead. Actually, a newer version of anything... Ubuntu, Linux Mint, Linux Lite, Debian... just something more modern. Ubuntu 14.04 released in April 2014. Windows 10 released in July 2015. So the Ubuntu developers in 2014 did not know anything about Windows 10 and how to deal with it, except for the similarities with Windows 8 and 8.1 (where hibernation was also a problem).
Quote:
Originally Posted by bruno labonté
I have access to a Windows 7 computer at work, I guess I will try to read the Windows partition after booting from my linux key on that computer.
I have a feeling that will work for you, just as XP works for you.
Quote:
Originally Posted by bruno labonté
I should also learn about protected or legacy mode.
There is much I need to learn yet too. Perhaps the trouble you're having is a UEFI/Legacy issue, but again I think a more modern Linux would help with that as well.
check to see if that live usb got ntfs-3 in it so that it can read windows ntfs, and set up windows power settings turning off hibernation and hybrid in the advanced settings under power settings?
I have a second hard disk with 1 ntfs partition and when I boot with my linux key the partition is readable.
I will check for the hibernation suggestion, thank you.
Today I will also try to read a Windows 7 partition on another computer at work, I don't know if hibernation issues are also a problem with Windows 7.
I didn't know about ntfs 3 , since when ntfs 3 was introduced?
I have a second hard disk with 1 ntfs partition and when I boot with my linux key the partition is readable.
I will check for the hibernation suggestion, thank you.
Today I will also try to read a Windows 7 partition on another computer at work, I don't know if hibernation issues are also a problem with Windows 7.
I didn't know about ntfs 3 , since when ntfs 3 was introduced?
About 2007 after a fork from the Linux NTFS kit. The full name is ntfs-3g
Many distributions include it by default, but not all and it may depend on how the installation is done. Partial/recovery installs may not include it.
Also, Windows can be set to encrypt drives. If it is encrypted, this can pose a problem when trying to auto mount.
You didn't respond to Brains, so I thought I'd ask this again: is your Windows 10 partition encrypted?
Quote:
Originally Posted by bruno labonté
I think finally this will be the solution, I will at least upgrade to Ubuntu 16, fun ahead...
Well, just do the USB key first to see if it works... that's a simple test. If this is a ntfs-3g problem, maybe the newer Ubuntu will take care of that. But it strikes me as odd that your current setup would read NTFS on XP, but not 10. Again, it may be a difference in the age of each of these OS'es.
You can test for the presence of ntfs-3g from the command line:
Code:
which ntfs-3g
I'm using Linux Lite (an Ubuntu derivative), and the command responds that ntfs-3g is in the /bin directory. I access Windows 7 with no problems, but I don't have Windows 10 to test.
I have Ubuntu 14.04 Live on a flash drive which I booted and had no problem accessing any of the ntfs/vfat partitions on either hard drive and could write to them. Your problems is either hibernation or a corrupted filesystem, both of which you will need to fix from windows. You will probably need your windows installation DVD with the repair option unless you can find some windows recovery software online.
I disabled fast boot and did a cold shutdown.
The drive is still not accessible from Ubuntu booting from my hard drive.
I checked my drive with system mechanic.
I upgraded Windows to version 10 in last july from version 7 and I remember I could read the drive from Ubuntu before upgrading to 10.
I will try a Windows repair to check the file system integrity
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Hey Bruno - my guess is that your Windows session is not properly closed when your try to access it via Linux. As several others have mentioned, in Win 10 you must choose "Restart" when shutting down and never "Shut down". The Shut Down command will hibernate the system whereas Restart really does shut it down (I know ... not intuitive ...). If it's not that, it's probably (again, as several have mentioned ...), the file-system driver missing from your Linux session (ntfs-3g).
That would only affect the Windows system files and perhaps any user data file that it happened to have open and locked. Also I rather suspect he would find it difficult to run a different OS on the same machine with the first in that state. Trying to reboot the machine would likely restart the suspended one.
I haven't tried it so I may be wrong, but it would be extremely dangerous to allow that to happen.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by dave@burn-it.co.uk
That would only affect the Windows system files and perhaps any user data file that it happened to have open and locked. Also I rather suspect he would find it difficult to run a different OS on the same machine with the first in that state. Trying to reboot the machine would likely restart the suspended one.
I haven't tried it so I may be wrong, but it would be extremely dangerous to allow that to happen.
Hey Dave - not to be argumentative, but I can confirm from personal experience that a hibernated Windows system will make it impossible to mount the entire Windows partition from a Linux session. This will not affect the ability to boot another OS on the same computer and furthermore, rebooting the computer from any other OS will have no effect whatsoever on the hibernation state of the Windows session. The only way of "resetting" the Windows session and making the partition mountable from Linux is to boot back into the Windows system and shut it down by choosing "Restart". ... Again, all this from personal experience: 3 of my current computers are set up to boot both Linux (Arch - my main system) and Windows 10.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.