Avatar of Mark O'Brien
Mark O'Brien
Flag for United States of America asked on

How does Ubuntu communicate with the Win 7 installation?

I installed Ubuntu on my hdd and I am able to "take" music from the Win 7 install and play it!  How do these OS's share files and yet Ubuntu will not allow malware to infect the Windows installation or vice versa.  This is very interesting and confusing.  I thought these OS's were not compatible and b/c theyre on different sectors of the hdd, they couldnt communicate, but apparently Im wrong abot all that!
Any help is appreciated.
Thank you,
Mark88
Linux DistributionsWindows 7Linux Security

Avatar of undefined
Last Comment
rindi

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
aristosv

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Jagdish Devaku

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Mark O'Brien

ASKER
Really interesting techs!  Thank you for posting.  I may have more questions about this.
Mark O'Brien

ASKER
Rindi, yes I installed ubuntu on the same hdd so I get a boot menu choice when I start the pc.

So as I read these posts my understanding is that even though ubuntu can get my music, since it doesnt read .xxx file extensions, it cannot be attacked by malware.  But arent music files an extension type file, too?  If ubuntu can read the music files, why cant it read the rest of the data on my Win 7 install?
rindi

It can read all files, but it doesn't necessarily know what to do with all of them as windows uses extensions in file-names that Linux doesn't use. Even if the extensions are the same, code written for Windows won't run on Linux. Also, most malware comes as executable files, and in Windows those are files with the "exe" extensions. Those executables have to be run in most cases for the malware to run and load into the memory of the PC and start it's actions. As Linux doesn't know what to do with those files it can't start the malware (actually, with "wine", which is a Windows emulator that runs on 'nix platforms, you can start many of those files under Linux, provided wine is installed, but because Linux works differently the malware will usually not be able to do any harm to the OS, and apart from that software that runs using wine runs in a something similar to a "sandbox", so the rest of the OS is safe).

Music files usually are just music files, and even if malware is hidden inside it, that malware would have to be designed to attack the OS it runs on, and currently most of those  criminals that program those bugs don't bother, as Linux isn't yet that widely used as desktop OS, and it would make the programming much more difficult and time consuming.
Your help has saved me hundreds of hours of internet surfing.
fblack61