If Windows is refusing to boot, for whatever reason, you can try repairing the file system from within Ubuntu. Use Synaptic to search for the ntfsprogs package. Once it's installed, unmount your Windows partition (if it's mounted) and type sudo ntfsfix /dev/sda1 to check and fix the partition (assuming your Windows partition is /dev/sda1—likely if you installed Ubuntu in a dual-boot configuration on a computer already running Windows).
This tip is also useful if you see the "Cannot mount volume" error when attempting to access your Windows partition from within Ubuntu.
To learn how to repair the Ubuntu file system, see Tip 223, on page 258.
Was this article helpful?