Linux in Windows

  • Thread starter Arman777
  • Start date
  • #1
1,802
142
I am trying to download a linux on windows but I couldn't find a site. I tried to download from Oracle VM but I couldn't make it work. I need help.

Thanks
 

Answers and Replies

  • #2
.Scott
Homework Helper
2,656
977
Are you trying to set up a dual-boot system?
If so, you should check how your hard drive partitions are set up.
 
  • #3
13,797
10,940
Are you trying to set up a dual-boot system?
... or do you want to emulate Linux under Windows (if this is possible?)?
 
Last edited:
  • #4
1,802
142
... or do you want to emulate Linux under Windows (if this is possible?)?
yes something like this.
Okay so we are learning python and the computer labs works in linux. So I can use pyhton is windows for sure, but is it also possible to download linux under windows. Theres something called virtual box I guess but I didnt understand it.
 
  • #5
blue_leaf77
Science Advisor
Homework Helper
2,629
784
Theres something called virtual box I guess but I didnt understand it.
As far as I know there are two ways to have your computer running on linux and something else (e.g. MacOS or Windows): dual boot or virtual machine. The first one has been pointed out by Scott above and it requires you to partition your harddisk. In this method both OS's exist on the same level. In the second method you will need to have the host OS installed first, in this case the host OS will be Windows, which indeed has been installed as you said. Then install the interface, which is called virtual machine (basically just another software) before you can introduce linux through the VM. In the second method, when you start linux through VM it is as if linux is a software which can be opened from inside the host OS. I never really tried both method but I guess the downside of using VM is that you cannot run on linux without starting the host first, your RAM will be consumed by both OS at the same time. As for dual boot, you can choose during booting process which OS you want to start and hence (probably) the RAM will only be allocated for the chosen OS. On the other hand, partitioning hdd requires knowledge beyond install-type process. But actually both methods gain the same popularity, I am sure you can easily find lots of tutorials on both from Google.
 
  • #6
FactChecker
Science Advisor
Gold Member
5,828
2,178
Many products that you download include a large set of Unix/Linux commands that they use. If you look around on your PC, you may find those already installed. If so, you may be happy with just using those.

PS. The example I had in mind is git. Its Windows installation included a great number of Unix/Linux commands that I was able to use. I think there were more examples, but I can't remember what they were.
 
Last edited:
  • #7
4
4
One simple way to use linux like command line interface on Windows, is to use cygwin.
 
  • Like
Likes FactChecker
  • #8
1,802
142
Hmm well I guess its bettter to use nothing at all and work on Pyhton in Windows. Is it makes a big difference where I use pyhton ?
 
  • Like
Likes FactChecker
  • #9
4
4
Hmm well I guess its bettter to use nothing at all and work on Pyhton in Windows. Is it makes a big difference where I use pyhton ?
Nope, it does not. Python code is highly portable across platforms.
 
  • Like
Likes FactChecker and Arman777
  • #10
34,270
5,910
Hmm well I guess its bettter to use nothing at all and work on Pyhton in Windows. Is it makes a big difference where I use pyhton ?
Nope, it does not. Python code is highly portable across platforms.
I agree. What the OP is trying to do seems to me to be a massive waste of effort.

Download the Python executable for Windows, for working at home, and use the Python installation at school (running under Linux). Your python files are just text, so they don't "care" whether they are interpreted by either version of Python.

BTW, the language is Python, not Pyhton. It's spelled just like the snake...
 
  • Like
Likes lekh2003
  • #11
1,802
142
I agree. What the OP is trying to do seems to me to be a massive waste of effort.

Download the Python executable for Windows, for working at home, and use the Python installation at school (running under Linux). Your python files are just text, so they don't "care" whether they are interpreted by either version of Python.

BTW, the language is Python, not Pyhton. It's spelled just like the snake...
I just thought If there was an easy way to use it, I could have try, but seems its more complex then I thought.
 
  • #12
1,367
61
Regardless of why you want Linux, it is easy to install Linux inside Windows using Virtual Box. You can follow many videos on YouTube. This is one example. (I didn't watch it fully, but I think he goes over all the necessary details).
 
  • Like
Likes Arman777
  • #13
FactChecker
Science Advisor
Gold Member
5,828
2,178
Resorting to Python is ok, depending on why you were trying to install Linux. In general, Linux tools and programs have much, much better command line interfaces, which is nice for scripting. It doesn't take much of sending tabs and other key strokes to Windows programs to get tired of that.
 
  • Like
Likes Arman777
  • #14
1,802
142
Okay I did everything on the video says and now its not opening and says
"This kernel requires an x86-64 CPU, but only detected an i686CPU. Please use kernel appropriate for your CPU"

I searched and it says that I should download the 32bit verison. The problem is I cannot find it
 
Last edited:
  • #15
1,802
142
Its working!! A bit slow but thats normal I think, thanks
 
  • #17
1,802
142
It works nicely but when I close the system and re-open it it losts its storage so I have to restart it everytime. Why it happens ?
 
  • #18
1,367
61
Yes, you needed to download the 32-bit version. I think it is slow because it shares resources with the host (Windows in your case), as you run both at the same time, one inside the other.

It works nicely but when I close the system and re-open it it losts its storage so I have to restart it everytime. Why it happens ?
Could you explain more?
 
  • #19
1,802
142
Yes, you needed to download the 32-bit version. I think it is slow because it shares resources with the host (Windows in your case), as you run both at the same time, one inside the other.
Could you explain more?
When I open the VM it says "One or more disk image files are not currently accessible. As a result, you won't be able to operate virtual machines that use these files..."

And then when I go to storage settings it writes empty, so everytime I open it I have to add the ubuntu -desktop i386 and since I had to do it everytime I lose my files.
 
  • #20
1,367
61
You must remove the .iso image from storage after finishing installation, to boot from the hard drive. Remove the image from storage and launch the operating system.
 
  • #21
1,802
142
You must remove the .iso image from storage after finishing installation, to boot from the hard drive. Remove the image from storage and launch the operating system.
Isnt that the problem ? I am terrible at computer language sorry.

Adsız.png

so this happens everytime I open the VM. so then I have to do this to make it work,

Adsız 1.png


after adding it to the storage it works fine.
 

Attachments

  • #22
1,367
61
What does happen when you start the OS without mounting the .iso image? It doesn't boot?
 
  • #23
1,367
61
This seems similar to your issue. Try removing the .iso image from the media manager, and restart the virtual box.
 
  • #24
1,802
142
Now when I open it doesnt give me the error

"One or more disk image files are not currently accessible. As a result, you won't be able to operate virtual machines that use these files..."

so thats nice I think then I started the program. It opened.Then I closed the all programs including VM. After that I re opened and It didnt give me the error but when I started the program it said

"No bootable medium found, System halted"

and when I look the storage it was like this again,

Adsız.png
 

Attachments

  • #25
1,367
61
The storage should be empty. Go to setting->system, and make sure the Hard Disk in the Boot Order box is checked, and make it the first one in the list. See what happens.
 

Related Threads on Linux in Windows

  • Last Post
Replies
3
Views
3K
Replies
8
Views
6K
Replies
2
Views
2K
Replies
27
Views
7K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
0
Views
5K
  • Last Post
Replies
5
Views
18K
  • Last Post
Replies
4
Views
10K
  • Last Post
Replies
6
Views
2K
Top