Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Ubuntu and WinXP at the same time

  Date: Dec 12    Category: Unix / Linux / Ubuntu    Views: 486
  

I'm a relative newcomer to Linux, so if this subject has
already been beaten to death, please accept my apologies.
But here is my question:

I'd like to use Ubuntu for most computer ops, especially
internet communication (for the security). BUT I MUST
also use XP for one very important application that
connects with a financial vendor over the net. The s/w I
use for that comes from that vendor, and there will likely
never be a Linux version.

Vista could perhaps be substituted for the XP part, but
I have a personal dislike of Vista, so I'd rather stick
with XP.

So what I'd like is a machine that can run Ubuntu and XP
simultaneously, so I can switch back and forth just by
hitting a button - no rebooting which would take much too
long.

IS there a way to do that? If not, is it because of effectively
a hardware problem? Is there a business opportunity here for
some hardware manufacturer?

Or is the only solution running two machines, with two
keyboards, two monitors and two mice on my desk?

Share: 

 

24 Answers Found

 
Answer #1    Answered On: Dec 12    

Try WUBI from this site :

http://wubi-installer.org/

You can run Ubuntu under Windows. Hope this helps.

 
Answer #2    Answered On: Dec 12    

I think this requires a re-boot? (which Bob was trying to avoid)

 
Answer #3    Answered On: Dec 12    

How do you think a reboot can be avoided then ????

 
Answer #4    Answered On: Dec 12    

Two possible options that I heard about (just yesterday) is
"VirtualBox" and "VMWare". I have not had a chance to look into either
one as yet but I will ASAP.

 
Answer #5    Answered On: Dec 12    

*You have two options.*


*1) Run linux inside Windows
http://www.andlinux.org/*


andLinux is a complete Ubuntu <http://www.ubuntu.com/> Linux system running
seamlessly in Windows 2000 based systems (2000, XP, 2003, Vista; 32-bit
versions only). This project was started for
Dynamism<http://www.dynamism.com/>for the GP2X community, but its
userbase far exceeds its original design.
andLinux is free and will remain so, but donations are greatly needed.

andLinux uses coLinux <http://www.colinux.org/> as its core which is
confusing for many people. coLinux is a port of the Linux kernel to Windows.
Although this technology is a bit like running Linux in a virtual machine,
coLinux differs itself by being more of a merger of Windows and the Linux
kernel and not an emulated PC, making it more efficient.
Xming<http://www.straightrunning.com/XmingNotes/>is used as X server
and
PulseAudio <http://www.pulseaudio.org/> as sound server.

andLinux is not just for development and runs almost all Linux applications
without modification.

<andlinux.sf.net/screenshots/screenshot.png>
Screenshot (click to enlarge)

To start Linux applications, you may either use the XFCE Panel:


The XFCE Panel

Or, you may choose to use the andLinux Launcher, which ships with andLinux
since Beta 1. It consists of:

- quicklaunch icons (e.g. for the file manager or the terminal)
- a start menu in the system tray (next to the clock) which can be
adapted to your own needs
- so-called Explorer shell extensions, i.e. context menu item, with which
you can open a folder in the file manager / terminal or open a file with the
text editor
- file type associations at your choice (e.g. for KOffice files, .tex /
.dvi / .ps / .pdf files)
- andCmd.exe to run linux commands from Windows scripts


Quicklaunch icons (XFCE version)


Quicklaunch icons (KDE version)


Start menu (XFCE version)


Start menu (KDE version)


Open a folder with Konqueror or Konsole


Open a file with Kate


*1) Run Windows inside Linux
http://www.winehq.org*

Wine is a translation layer (a program loader) capable of running Windows
applications on Linux and other POSIX compatible operating systems. Windows
programs running in Wine act as native programs would, running without the
performance or memory usage penalties of an emulator, with a similar look
and feel to other applications on your desktop.

The Wine project started in 1993 as a way to support running Windows 3.1
programs on Linux. Bob Amstadt was the original coordinator, but turned it
over fairly early on to Alexandre Julliard, who has run it ever since. Over
the years, ports for other Unixes have been added, along with support for
Win32 as Win32 applications became popular.

Wine is still under development, and it is not yet suitable for general use.
Nevertheless, many people find it useful in running a growing number of
Windows programs. Please see the Application
Database<http://appdb.winehq.org/>for success and failure reports for
hundreds of Windows programs, as well as
the Bug Tracking Database <http://bugs.winehq.org/> for a list of known
issues, and the Status <http://www.winehq.org/status> page for a global view
on Wine's implementation progress.

A broad spectrum of Wine developers can be reached in the Wine
forums<http://www.winehq.org/forums>.
Comments about the winehq.org website can be emailed to
web-admin_at_winehq.org. Alexandre Julliard leads the Wine project, and may
be reached by email at julliard_at_winehq.org.

We've also assembled a short list of resources to help you understand the
project:

- Wine's History <http://www.winehq.org/history>
- Why Wine is so important <http://www.winehq.org/why>
- Debunking Wine Myths <http://www.winehq.org/myths>
- Wine's Features <http://www.winehq.org/wine_features>
- Acknowledgements <http://www.winehq.org/acknowledgement>
- World Wine News <http://www.winehq.org/wwn>
- Interviews <http://www.winehq.org/interview>



If youre thinking about something else, you'll have to reboot.

 
Answer #6    Answered On: Dec 12    

I use a KVM switch and with one button boot between Ubuntu, XP and
Vista. KVM switches bare relativity cheap, easy to use and you only need
one monitor, one keyboard and one mouse.

 
Answer #7    Answered On: Dec 12    

This wont do what he wants, he would still have to reboot. I think that
he needs to install some virtual machine program to be able to do what
he wants.

 
Answer #8    Answered On: Dec 12    

I just started using ubuntu this week so I do not have much flight
time but I know there is a program Wine that will permit running
Windows programs under linux. I have not tried yet but maybe this is
an option for you. The site is www.winehq.org.

 
Answer #9    Answered On: Dec 12    

Wine is an acronym that stands for "Wine is not an
emulator" and it permits a great many Windows programs
(most) to run at around native speed under Linux. Not
every program will work or work perfectly but I've
tried quite a few as there are some special applications
I need, and never had a problem getting them to run
in Ubuntu. (Though, I'm still trying to get some
to run on Edubuntu LTSP clients.)

 
Answer #10    Answered On: Dec 12    

There is not just a button that would do that, you have to boot into one
or the other on startup and then do a restart to boot to the other
whether you put the Ubuntu on a second partition of on a second internal
hard disk. It would be better if you got a second, maybe older computer
to install the Ubu on.

 
Answer #11    Answered On: Dec 12    

If you set up Ubuntu, (or almost any other Linux distribution) from the
CD/DVD on a computer with XP already installed it will offer you the
opportunity to make it dual boot with XP. The naming of drives and
partitions is not what you are familiar with so do some research before you
take the plunge. It's easiest if you have a second drive to dedicate to
Ubuntu, but possible if you have 10 GB or so available on the only drive.

Wubi (available on the Ubuntu downloads page) allows you to do this very
easily.

 
Answer #12    Answered On: Dec 12    

if you install Ubuntu using all available harddrive space, then
using Virtualbox make a Win XP virtual setup you can do what you need.
I have been using Virtualbox for my yearly Turbotax use and have had no
problems.
For what your needing it should work.

 
Answer #13    Answered On: Dec 12    

You can run one monitor, keyboard and mouse via a KLM switch to several
computers and one switch moves you to and from the computers.

A KVM switch (with KVM being an abbreviation for Keyboard, Video or
Visual Display Unit, Mouse) is a hardware device that allows a user to
control multiple computers from a single keyboard, video monitor and
mouse. Although multiple computers are connected to the KVM, typically a
smaller number of computers can be controlled at any given time. Modern
devices have also added the ability to share USB devices and speakers
with multiple computers. Some KVM switches can also function in reverse
- that is, a single PC can be connected to multiple monitors, keyboards,
and mice. While not as common as the former, this configuration is
useful when the operator wants to access a single computer from two or
more (usually close) locations - for example, a public kiosk machine
that also has a staff maintenance interface behind the counter, or a
home office computer that doubles as a home theater PC.

 
Answer #14    Answered On: Dec 12    

I have done this and it is fine... a cheap KVM switch is about a £10
but i've got a spare PC - has Bob? I don't now use it for switching
between ubuntu and windoze... rather between my main PC and test
machine.

I still need windoze for an app that i couldn't get to work on wine
and a windoze only scanner [i like it and when i went to buy a new one
it was faulty - so i stay with what i've got!]. I found the best dual
boot arrangement was to have the two OSs on separate hard drives. To
speed up loading windoze why not consider a minimum installation. On
my machine i'm about to junk XP as it takes so long to load and put on
win2k - bit for me it is for non internet connection so i don't bother
about malware/virus protection.

 
Answer #15    Answered On: Dec 12    

Read elsewhere and you see i run there off one KVM switch. Twin HDS is
OK but you have to reboot each time. I don't , I just press one button.

Don't buy the cheapest KVM though because it has to work well all the time.

 
Answer #16    Answered On: Dec 12    

If you install Virtualbox in Ubuntu, do you HAVE to install WinXP within it or
can you just point it at your Win XP installation that you already have if you
have a duo-boot machine? And does the VM for Ubuntu also work with Kubuntu?

 
Answer #17    Answered On: Dec 12    

I would strongly recommend VirtualBox as being the solution to your
problem. You can install Vitualbox on Windows and then install Ubuntu
Linux or the other way round - I run Ubuntu 8.04 with Virtualbox and
XP installed under Virtualbox, but on my wife's machine I have Vista
with Vitrtualbox and Ubuntu 8.10 installed under it.

Once the installation is over, everything runs very seamlessly. XP
runs as an application under Ubuntu and is just a click away. The best
thing (for Windowphobes like me) is that I don't have to load XP
unless I really need it.

The answer to your question - no you have to re-install XP under Linux.

 
Answer #18    Answered On: Dec 12    

The Wubi install is far easier and it is easily delete in the normal
widows way. It comes ready on the 8.10 CD.

 
Answer #19    Answered On: Dec 12    

I've been using Ubuntu and Win XP on my laptop for about 2 years. The
only Windows app I have needed is the Cisco VPN client (the Linux
version doesn't have the statefull firewall my job requires). I have
Win XP installed in Virtual Box to take care of this problem. I can
have Ubuntu and Windows running at the same time - no reboots.
Perfermance of the Windows session depends on the resources you give
it in Virtual Box. Mine is set up as a 10 GB hard drive, 512 MB RAM,
16 MB video RAM. And yes, you will have to install Windows into you
Virtual Box session. Just my 2 cents worth.

 
Answer #20    Answered On: Dec 12    

I would strongly recommend VirtualBox as being the solution to your
problem. You can install Vitualbox on Windows and then install Ubuntu
Linux or the other way round - I run Ubuntu 8.04 with Virtualbox and
XP installed under Virtualbox, but on my wife's machine I have Vista
with Vitrtualbox and Ubuntu 8.10 installed under it.

Once the installation is over, everything runs very seamlessly. XP
runs as an application under Ubuntu and is just a click away. The best
thing (for Windowphobes like me) is that I don't have to load XP
unless I really need it.

I agree that VirtualBox is best as long as he gets the non-free one, PUEL,
rather than OSE. It has more options that he will want, such as usb
connectivity. VirtualBox also allows him to run in Seamless mode which is not
available in the free version of VMServer. This gives him a shared desktop with
his GNOME panel at the top and his Windows panel at the bottom an a shared
desktop.

I have stayed out of this conversation up till now, but am not sure that this is
even what he wants, although it is the best solution. He cannot use his current
Windows installation from VirtualBox or even in Linux. He must re-create it and
that means a separate licence from M$ to be legal and even then technically it
is not allowed by their licensing the last time I looked. Maybe they have
loosened up. I am not sure. Maybe somebody with more Windows knowledge can tell
us the legalities of the Windows EULA. It is physically possible to install from
his current Windows CDs, but it is not legal, as far as I know.

 
Answer #21    Answered On: Dec 12    

Good points - use the non-free one (which is free to individuals). You
download it from the VirtualBox site.

I am afraid that if the OP does not want to re-install Windows, he has
no option but to go to a dual boot situation. I have never found that
satisfactory, but perhaps it will meet his needs.

 
Answer #22    Answered On: Dec 12    

I have only one or two Windows apps I need to run every day.
One is a proprietary program that connects to a financial
website - THEY wrote this "high-security" software and are
unlikely to ever produce a Linux version. I have never had
a problem (so far) running it under Windows.

However, I'd like to get off Windows altogether, and start
using Ubuntu exclusively, particularly for web browsing, email,
etc. The hope is to minimize web-induced viruses, spys, etc.

So it would SEEM at first glance that Virtual Box is the
obvious answer - install V/B on my Vista machine, and do 99%
of my work in the Linux guest window, especially nearly all
the browsing, email, etc. And only use Vista when I MUST
run that proprietary software that links to the financial
company's website.

I'm looking for an opinion here - am I on the right track?
Is V/B the way to go for someone who wants to only use
Windows for apps where it is REQUIRED, and do 99% of web-based
stuff from Linux? Seems like V/B will be much more practical
than dual-boot, simply because you can switch back and forth
quickly, rather than having to go through a boot process on
each change of operating system.

But I'd like the opinion of someone with more experience in
this area than I have - before I invest the time and effort
to get V/B loaded and running.

 
Answer #23    Answered On: Dec 12    

If it was me, I would put Linux on the computer and VB Windows. Linux
won't get the viruses and if Windows does, you just remove it and
re-install it.

 
Answer #24    Answered On: Dec 12    

There are many good reasons to do the opposite, especially if you plan on
doing 95% on Linux.

First, there is security. Linux is the best. It has few viruses, malware and
trojans and most of those are of little threat due to built in security such as
no central registry, modular structure, hierarchical file structure, isolated
root and user areas and password protection for any changes to the system. It
makes sense to run the stronger OS as your host and the weaker one as the guest,
in the VM.

Second, Linux drives do not slow down over time as there is no fragmentation. If
you run a VM in Windows it will slow down as Windows becomes fragmented. If you
run a Windows VM in a Linux host then only the VM will need to be defragmented,
instead of your whole drive, a much faster process.

Third, Linux never needs to be rebooted after an update. You will have to stop
your Linux VM in order to re-boot Windows as it goes through its update process.
If you run a Windows VM in Linux then you only need to re-boot the VM and you
can keep working while that happens.

Fourth, Ext4 is here. It is available in the next Ubuntu release (9.04) and will
be the standard before the year is out. It is much faster than anything Linux
has had before and M$'s file systems are not even close to the current standard.
Ext4 can handle individual file sizes up to16 TBs. It can handle volumes up to 1
exabyte (1 quintillion bytes) or 1 million TBs or 1 billion GBs. File transfer
is smoking fast as it can handle much more data at one time. Not only is it
fully journalled, but it is provides on the fly checksums. It shatters current
standards such as the 32000 subdirecory limit for ext3 in a single folder and it
allows all chararcters except null and / in file names which can be up to 256
characters long. In short, it will revolutionise the way we handle data. There
are even better ones in the works such as btrfs which extends file size to16
EBs!

Fifth, Linux seldom crashes and they are usually isolated to the application or
the session. Lockups will happen but they are rare. Usually you don't have to
re-boot but just press Ctrl-Alt-backspace and login again.

Sixth, choice. Running VirtualBox in seamless mode you can have a GNOME panel at
the top and a Windows panel at the bottom and share the same desktop and you
still have unlimited virtual desktops. You have a choice of desktop environments
and can pretty much do whatever you want.

There are more, but you get the idea.

There is one good reason to do it the other way around. Linux requires a smaller
VM and will run more efficiently in a VM than Vista which is a resource hog to
begin with.

On a more neutral note, VMs can be tailored so that you can set the size and
allocate whatever resources to the VM that you want, which ever way you choose
to run it in the end.

The choice is yours and only you can decide what works for you as you have to
live with the results. Either way you go, we can help you set up the Ubuntu
client in Vista or set up the Vista client in Ubuntu.

 
Didn't find what you were looking for? Find more on Ubuntu and WinXP at the same time Or get search suggestion and latest updates.




Tagged: