Is it trying to mount it from /etc/fstab? Add nofail to its mount parameters in there, so that it can boot up just fine even if it fails to mount the partition.
Though the note about timeout there I found to not be exactly true - I have had Arch boot within 5 seconds with a device mounted with nofile being absent.
So in your Windows installation, do you have Fast Boot enabled still (it's on by default)? Basically when you shut down/restart it goes into a sort-of hibernation to make resuming faster than a full reboot. Part of that involves not unmounting the NTFS partition cleanly, and the mount command won't be able to mount it in Linux. If you'll be constantly accessing that data, id go into windows and disable fast boot. Otherwise you can probably stick with the nofail option also described.
I mean... I don't agree with it but I get WHY they do it. Your average Win10 user ISN'T dual booting Linux and anything that'll make a system ready to go faster on boot is a gold star in their book. If you're dual booting, just take it as part of the steps required to get full functionality out of your system. Don't like it? Don't use Windows.
If you use the description (like /dev/sda2) a phisical change can break the fstab
If you use UUID (the unique ID of the file system) you can change the disk order without problems, bit if you format the partition the UUID will change, and your fstab will break;
If you use PARTUUID (the unique partition ID) you can rearrange your disks and format your partition, that the PARTUUID will remain the same. If your delete and create new partitions, then your fstab will break;
You can also use the partition label to identify, but I never used it myself.
'blkid' command will show you the partition's uuid known as partuuid. Device paths can be changed if you change the physical disks. Partuuid and diskuuid never change unless you change them manually. If you add or remove disks and your fstab uses device paths such as /dev/sda etc. It can be problem just like yours.
Don't know why the downvotes. That's not gonna directly fix his problem but after that he's gonna install Linux again and he's never gonna have problems again!
It's seems that Linux users supports Windows 10 after all....
Well, first of all that will not solve the issue. Besides that, maybe he needs the Windows partition for something (maybe for working).
Also, reinstalling the system instead of fixing a file is horrible, and he needs to understand how the core system works, so that way he can fix the issue alone next time, or prevent this kind of issue at all.
I don't downvoted, but I do not agree with this "solution".
Keep in mind that is his machine, and he is free to use Windows if he wants.
The issue is not Windows, the user just don't have enough experience to know what is happening. Is this experience that he needs, and this will come from solving issues like that.
26 comments
Is it trying to mount it from
/etc/fstab? Addnofailto its mount parameters in there, so that it can boot up just fine even if it fails to mount the partition.Thank you π (I could have done with that in the past when hard disks died on me).
No problem! There's more reading on this exact parameter on Arch Wiki, as always: https://wiki.archlinux.org/index.php/Fstab#External_devices
Though the note about timeout there I found to not be exactly true - I have had Arch boot within 5 seconds with a device mounted with
nofilebeing absent.So in your Windows installation, do you have Fast Boot enabled still (it's on by default)? Basically when you shut down/restart it goes into a sort-of hibernation to make resuming faster than a full reboot. Part of that involves not unmounting the NTFS partition cleanly, and the mount command won't be able to mount it in Linux. If you'll be constantly accessing that data, id go into windows and disable fast boot. Otherwise you can probably stick with the nofail option also described.
reasonstohatemicrosoft++;
I mean... I don't agree with it but I get WHY they do it. Your average Win10 user ISN'T dual booting Linux and anything that'll make a system ready to go faster on boot is a gold star in their book. If you're dual booting, just take it as part of the steps required to get full functionality out of your system. Don't like it? Don't use Windows.
How did they code windows seriously... The partition doesn't unmount cleanly but how...
Well that's the crap Microsoft Developers come up with in their free time...
Boot from installation media, mount your root, edit fstab, put nofail into this partition options (or, better yet, noauto), save, unmount and reboot.
Also: disable hybrid shutdown on Windows and use PARTUUID instead in fstab (if you're not doing it yet).
What's partuuid?
It's the unique identifier of the partition.
If you use the description (like /dev/sda2) a phisical change can break the fstab
If you use UUID (the unique ID of the file system) you can change the disk order without problems, bit if you format the partition the UUID will change, and your fstab will break;
If you use PARTUUID (the unique partition ID) you can rearrange your disks and format your partition, that the PARTUUID will remain the same. If your delete and create new partitions, then your fstab will break;
You can also use the partition label to identify, but I never used it myself.
I think PARTUUID is the best way to go!
You can see it using
blkid.'blkid' command will show you the partition's uuid known as partuuid. Device paths can be changed if you change the physical disks. Partuuid and diskuuid never change unless you change them manually. If you add or remove disks and your fstab uses device paths such as /dev/sda etc. It can be problem just like yours.
This fixed my problem
Great!
Did you understood what was your issue?
Were you in Windows previously? My boot fails if I donβt shutdown/restart out of Windows properly. Boot into Windows and do a restart.
I know windows makes a hibernations file when I simply shutdown. But restarting the computer is not fixing the problem
Delete windows partition?
Don't know why the downvotes. That's not gonna directly fix his problem but after that he's gonna install Linux again and he's never gonna have problems again!
It's seems that Linux users supports Windows 10 after all....
Because deleting the partition will not remove it from fstab, so it's only part of the solution.
Well, first of all that will not solve the issue. Besides that, maybe he needs the Windows partition for something (maybe for working).
Also, reinstalling the system instead of fixing a file is horrible, and he needs to understand how the core system works, so that way he can fix the issue alone next time, or prevent this kind of issue at all.
I don't downvoted, but I do not agree with this "solution".
Keep in mind that is his machine, and he is free to use Windows if he wants.
The issue is not Windows, the user just don't have enough experience to know what is happening. Is this experience that he needs, and this will come from solving issues like that.
Windows is mean :(
I'm scared to boot into my windows partition at the moment. I might try it later, but I'll probably back up everything first.