LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 02-01-2007, 09:37 AM   #1
Bjwebb
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 7.04 Feisty Fawn
Posts: 28

Rep: Reputation: 15
Question How to run Windows and Linux simultaneously


Hi there,

I am thinking of installing Linux (probably Kubuntu) onto a PC that is currently running Windows XP. I know a bit about Linux, having installed it on an older machine, so I know one of the major drawbacks - the inability to run Windows programs. I have had a look at Wine, and it seems to be able to run some programs, but there are others that it won't.

I know that true microsoft windows can be accessed by dual booting (which I could easily do), but this takes up a lot of time waiting for the computer to restart. Is there anyway I could set up my PC so that Linux and Windows will run at the same time. I know that there is virtualisation like VMWare etc. but I do not want to have to reinstall Windows. Is it possible to run Windows in Linux but from a partition (rather than a virtual machine).

Thanks in advance
Ben Webb
 
Old 02-01-2007, 10:23 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
Is it possible to run Windows in Linux but from a partition (rather than a virtual machine).
No. An OS has to be "in touch" with the hardware. A virtual machine simply creates a virtual PC for the guest OS to talk to.

You left out one option: 2 computers and a KVM switch. Now you can have a task running on #1 while you check your e-mail on #2. This was my first Linux setup.
 
0 members found this post helpful.
Old 02-01-2007, 01:57 PM   #3
Bjwebb
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 7.04 Feisty Fawn
Posts: 28

Original Poster
Rep: Reputation: 15
The KVM switch would mean having another hard drive (and more probably), wouldn't it. I'm not prepared to do this, as I could really just have two separate computers just as easily.

I had seen this video - http://youtube.com/watch?v=GIs9getNpDQ - on youtube. Could the same be done with XP and Linux. Would the fact that I have a dual processor help?

If not, would there be any easy/legal way to copy my XP disk from the hard drive into a virtual machine.

Ben Webb
 
Old 02-01-2007, 03:10 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
The KVM approach needs two computers.

Dual processor does not help--you also need all the interfaces, memory, etc.

The You Tube video could have been using a virtual machine--or it might have been dual boot.

Do you have an XP install CD? If so, you should be able to install XP whereever you want. I have heard various stories about newer versions of Windows having restrictions on where you can install. (One of the many reasons MS gets no more of my money) Windows 2K has no restrictions--although I obviously cant make multiple copies for different users.

If you do not have an install CD, I would be figuring out how to get one. I would not want to be running any OS and have no way to re-install.
 
Old 02-01-2007, 03:52 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
I think it could be done with virtualization. I'm not sure if the free version of Xen supports Windows as a guest OS, but I'm pretty sure you could install Linux in some kind of Windows virtualization environment.

Another possibility is Parallels. Not free, but very reasonably priced, and I've heard it works great.

Edit: Sorry. I read too fast to catch the part where you specifically stated that you didn't want virtualization.

Last edited by rickh; 02-01-2007 at 04:07 PM.
 
Old 02-01-2007, 03:54 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You don't need to copy XP from the hard drive into a virtual machine.

You have a VMware version using XP as the host and install Linux inside as its guests.
 
Old 02-01-2007, 09:07 PM   #7
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Really like my KVM switch.

I really like my 4 port KVM switch. Its <scroll lock> <scroll lock> # and boom i am on another computer.
 
Old 02-02-2007, 03:29 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Between VMware and a KVM switch I would say KVM is miles better.

If it has 4 ports then the switch links 4 real computer boxes with one set of keyboard, monitor and mouse but able to jump from machine to machine.

Virtual machine manager like VMware does it a lot slower. Guests are confined inside their own files not able to communicate with each other except the host, at least in the free versions.

ALso do not forget within the four PCs controlled by the 4-port KVM we could load VMware or other virtual machine manager to any or all of the real machines.
 
Old 02-02-2007, 03:39 AM   #9
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I like qemu and its free.

At work where I HAVE to use windows, I plug my harddisk from my linux laptop and launch qemu. It boots from the external usb2ide interface.

Its another method for accessing ext3/xfs/reiserfs files from windows.
 
Old 02-02-2007, 07:18 AM   #10
Bjwebb
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 7.04 Feisty Fawn
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nx5000
I plug my harddisk from my linux laptop and launch qemu. It boots from the external usb2ide interface.
So do you mean that qemu is actually running linux from the hardisk, rather than from a virtual disk.

I want to be able to boot both Windows and Linux separately. But I also from time to time might want both simultaneously. Could I use Qemu of Windows to load Linux off my partition and vice-versa?
 
Old 02-02-2007, 07:27 AM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Quote:
Originally Posted by Bjwebb
So do you mean that qemu is actually running linux from the hardisk, rather than from a virtual disk.
Yes I'm getting into my Grub of my external drive without modifiying anything. It depends on your linux setting (naming of drive, geometry of disk,..). Its not trivial if you run into problems!
Now I use an alternate method, I boot from a linux pre-made image and mount my harddisk as hdb. The FAT and NTFS harddisk partitions of the disk are also seen in windows.
Code:
qemu -L . -hdb //./PhysicalDrive1 -append "console=ttyS0 root=/dev/hda sb=0x220,5,1,5" d:\debian-31r1a-i386\sarge.img
Quote:
I want to be able to boot both Windows and Linux separately. But I also from time to time might want both simultaneously. Could I use Qemu of Windows to load Linux off my partition and vice-versa?
Vice-versa I don't know.
The qemu host version of linux is more stable but I haven't tried windows as a guest, eventhough people are using it.

What do you really need under windows?

Last edited by nx5000; 02-02-2007 at 07:29 AM.
 
Old 02-02-2007, 02:20 PM   #12
Bjwebb
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 7.04 Feisty Fawn
Posts: 28

Original Poster
Rep: Reputation: 15
Just to say, thanks for your help everybody.

I've found a GUI app. called QEMU manager, I think this will do the work I want perfectly.

Ben Webb
 
Old 02-02-2007, 02:32 PM   #13
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
What you require is a parallel boot system which is a nothe tower or desk top on which you can run linux withou out touching your windows hard rig
 
Old 02-03-2007, 05:17 AM   #14
Bjwebb
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 7.04 Feisty Fawn
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by badboy88
nothe tower or desk top on which you can run linux
I don't want to have to have another tower though, I could just as easily have a new computer if I were to go to that trouble.

Is it possible to run a qeumu virtual machine from a different partition on the disk that the host machine is on. Because, I would find that a lot easier and more convenient for my needs.
 
Old 05-22-2007, 06:19 PM   #15
chm0dvii
LQ Newbie
 
Registered: May 2007
Distribution: Debian, RedHat, CentOS, Ubuntu, Knoppix, Backtrack
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by Bjwebb
Hi there,

I am thinking of installing Linux (probably Kubuntu) onto a PC that is currently running Windows XP. I know a bit about Linux, having installed it on an older machine, so I know one of the major drawbacks - the inability to run Windows programs. I have had a look at Wine, and it seems to be able to run some programs, but there are others that it won't.

I know that true microsoft windows can be accessed by dual booting (which I could easily do), but this takes up a lot of time waiting for the computer to restart. Is there anyway I could set up my PC so that Linux and Windows will run at the same time. I know that there is virtualisation like VMWare etc. but I do not want to have to reinstall Windows. Is it possible to run Windows in Linux but from a partition (rather than a virtual machine).

Thanks in advance
Ben Webb
You cannot load Windows natively in Linux, but you can install Linux "inside" Windows without having to use Virtual machines or repartitioning the hard drive. There are several projects in the making that have matured enough to use in an everyday solution.
1. Colinux
2. Cygwin
3. AndLinux
4. Topologilinux
 
  


Reply

Tags
windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can php4 and php5 run simultaneously on apache2? tisource Linux - Software 1 09-15-2005 12:53 AM
Run knoppix and xp simultaneously Vashtheddrfreak Linux - Newbie 6 05-24-2004 11:31 AM
can we run graphics and text mode simultaneously kusum Linux - Software 1 02-09-2004 05:40 AM
how to run Squid and Apache on port 80 simultaneously. gagan_fzks Linux - Networking 1 11-12-2003 06:15 AM
how to use linux and windows OS simultaneously bajaj Linux - Software 15 08-12-2003 01:30 PM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration