Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I plan to install Windows Vista on my second hard drive partition, with Ubuntu Hardy remaining on the first partition. How likely is it that any security holes that may exist in Vista could allow malicious code to find its way to the Ubuntu partition or otherwise damage the system?

share|improve this question

migrated from Apr 13 '10 at 2:27

This question came from our site for professional and enthusiast programmers.

This is not fully related to your question, but I know XP has always been selfish when being installed it would not play nice with other OS's. You may need to "fix" grub afterward installing Vista so Ubuntu will boot again. – Jon Mar 16 '09 at 15:10
up vote 8 down vote accepted

Darn near impossible (or at least impractical). The proportion of computer users who dual-boot Windows/Linux is so small that it's not worth anyone's time to write the code required to access a Linux partition from Vista and corrupt it. And it would have to be done intentionally; I'm sure it's safe to say that Windows will not have a major bug in the filesystem code that wreaks havoc on the HD with complete disregard for partition boundaries.

So what I'm saying, in less-than-eloquent terms, is not to worry about it. At all. (Unless you install a driver to access your Linux partition(s) from Windows, then, you might want to worry just a little bit.)

share|improve this answer
Never say never.... :) – Kev Mar 14 '09 at 4:43
Why, are you working on a cross-platform virus? ;-) absolutely right, though, it could happen, but I don't expect to see it anytime soon. – David Z Mar 14 '09 at 7:04

The major threat is here to install Windows after Linux. You might loose the boot-loader. Check RecoveringUbuntuAfterInstallingWindows on Ubuntu's wiki.

Now, regarding malicious code, David answered very well.

share|improve this answer

If you want to prohibit access to your Linux data when running Windows in a dual-boot scenario, just use encrypted filesystems.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .