Is there a way to have Linux run on one core and Windows the other?
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.
Is there a way to have Linux run on one core and Windows the other?
I know this is probably a totally ludicrous question, but is there a way to have Linux run on one processor and half the RAM in the background while Windows is in the foreground... and switch between them at will?
I think you could get quite close to that by running one in a virtual machine in the other. So "no" to exactly what you asked for, but probably "yes" to what you actually want. (But beyond that, I don't know any details).
How about a hypervisor rather than virtualisation software?
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
Hmmm.. well that's too bad. Is this theoretically possible through software? Or would you have to have a specific motherboard to handle such a task?
I tried running Kubuntu as a virtual machine, but there were conflicts with the hardware I believe, so I had to reboot. I basically don't want my windows machine to touch the Net. But if I ran a firewall where I denied outgoing/incoming access on windows, that would also not allow Linux to reach the net. Seems like the only way to do this is to reboot into linux whenever I need the net. (Or rather reboot into Windows whenever I need a software package.)
Last edited by anotherlinuxnewb; 04-20-2010 at 02:17 PM.
You could run coLinux. It will only run on one processor in a multiprocessor machine; I'm not sure about multicore but probably the same, and you can use it as proxy to run/block any Windows access to the Web as needed. The downside is that you'll be running Windows.
The other thing you could do if you dual boot is to block access to the Windows machine only with your router (assuming you use one).
Last edited by mostlyharmless; 04-20-2010 at 02:32 PM.
You could run coLinux. It will only run on one processor in a multiprocessor machine; I'm not sure about multicore but probably the same, and you can use it as proxy to run/block any Windows access to the Web as needed. The downside is that you'll be running Windows.
The other thing you could do if you dual boot is to block access to the Windows machine only with your router (assuming you use one).
Hmm coLinux looks really interesting, though I'm not really sure I understand how it works. The problem is it doesn't support 64-bit Windows, so that's not an option yet :/ I'm really surprised...hmm.
I was looking at Virtual Box... seems like a good option too?
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
i think some super computers could do something like that ( but dont quote me on this, of course this could be simply virtualization) but it would require specialized firmware and some means of switching between running operating sytems, the best bet would be as mentioned, a vm
The main issue is can it be done, well, yes. There are example of it I know on different OS's and systems so it does work.
As to you being able to use it, I doubt it. X86 systems were never designed for that. It gets down to the nuts and bolts that can't do exactly totally what you want.
What you do already have is a the ability to set affinity and priority of tasks. You could run a VM and set the affinity to a single cpu core and set priority to the lowest. It will do as close to what you want with the least amount of trouble.
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
None, absolutely none! I was tossing a conceptual hat into the ring rather than having any specific implementations in mind.
taking ahead what jefro said.... if we can set the affinity for a VM to run on a specific processor then.
what would happen if we used the "wubi" installer and set the affinity of the installer to one processor.
Sorry may be it sounds absurd. but just a thought.
i think some super computers could do something like that ( but dont quote me on this, of course this could be simply virtualization) but it would require specialized firmware and some means of switching between running operating sytems, the best bet would be as mentioned, a vm
I'm quoting!
On Supercomputers we do virtualize along with clustering which are the snowball today. Crays latest release is Linux based but it's been that way for awhile.
CRAY releases latest version of its linux OS equipped with new cluster compatibility mode
By admin | April 14th, 2010 | Category: Latest, Super Computing | No Comments »
At the 2010 High Performance Computing (HPC) User Forum in Dearborn, Michigan, global supercomputer leader Cray Inc. today announced the release of the latest version of its Cray Linux Environment – the production petascale operating system for the company’s line of Cray XT supercomputers. This third generation of the Cray Linux Environment includes the introduction of Cluster Compatibility Mode, allowing Cray XT supercomputers to run applications from Independent Software Vendors (ISVs) without modifications.
“Scalability is a key component of designing Cray supercomputers and this latest version of our Cray Linux Environment continues to be one of the most scalable Linux environments for high performance computing,” said Barry Bolding, Cray’s vice president of scalable systems. “The introduction of Cluster Compatibility Mode significantly enhances the compatibility features of our operating system. Now the most powerful supercomputers in the world can run our customers’ key ISV applications right out of the box.”
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.