Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ubuntu and Windows

Ubuntu and Windows

Scheduled Pinned Locked Moved The Lounge
linuxquestioncsssysadmindiscussion
60 Posts 32 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Gary Wheeler

    I'm currently dual-booting Win7 and Ubuntu, as I have a contract job that requires Ubuntu. I generally agree with your assessment. Ubuntu is faster and more responsive than Win7, but it has more rough edges than Windows. I wouldn't know about 'safer', other than to surmise that Ubuntu is safer chiefly because it is a far less prominent target. It sounds like Ubuntu is your normal working environment. My preference would be to definitely keep that as a 'native' boot. My suggestion is to buy a second computer, dedicate one to Ubuntu, the other to Windows. I've used enough virtual machines now that I prefer to test natively whenever possible. There always seems to be behavior differences between native boots and virtual machines that cause grief when testing.

    Software Zen: delete this;

    T Offline
    T Offline
    thomas michaud
    wrote on last edited by
    #39

    One note on this...if you go the 2 computer route, check out Synergy (virtual KM switch)

    1 Reply Last reply
    0
    • A Albert Holguin

      Gary Wheeler wrote:

      My suggestion is to buy a second computer, dedicate one to Ubuntu, the other to Windows.

      I second this suggestion... :thumbsup:

      Gary Wheeler wrote:

      There always seems to be behavior differences between native boots and virtual machines that cause grief when testing.

      Yep, sometimes you're not sure whether you're testing the VM software or your bug. Better off eliminating a middle man IMHO.

      R Offline
      R Offline
      richard_k
      wrote on last edited by
      #40

      This depends on how close to the 'metal' you are. I've found VM boots to be quite sufficient for most higher level application type testing. If you are building device drivers, communications drivers, and such, then there is absolutely no substitute for a native booting machine.

      1 Reply Last reply
      0
      • C Collin Biedenkapp

        Hi there guys, This is a question I have been dying to ask. I currently dual boot Ubuntu and Windows, but rebooting is a pain. So, my question is this: Of those of you that have used Windows (or use it still), if you've used Ubuntu, which did you like better and why? I am trying to decide if it is time to install Windows in a VBox from Ubuntu or vice-versa. I need a Linux environment regardless as I am developing a Linux server-side application. I like Ubuntu, and it is faster and safer than Windows, but it is less polished in some ways (IMO) than Windows. I have used Windows 8 and it seems that there are some drastic, less than idea (again, IMO) changes coming along. I am preparing to have to line myself up with another OS. Opinions everyone?

        Collin Biedenkapp

        K Offline
        K Offline
        Kostya Kovalskyy
        wrote on last edited by
        #41

        Definitely Ubuntu. It works much faster then Windows, which has about 1000 programs that start at startup. It looks much better and it is a lot more customizable. Plus, most of the stuff is free. And most of the programs I use work with Wine perfectly, so I only boot Windows when I want to play a brand new game (most of the games before 2008 work perfectly with wine), or I need Visual Studio. Now, even if I work on cross-platform program I rarely boot Windows, because MinGW works nice on Wine too :)

        C 1 Reply Last reply
        0
        • S Scott Serl

          I gave up Windows about 4 years ago at home, but at work I have one Windows box and one Ubuntu box. I share the keyboard and mouse with a kvm switch and each box has a dedicated monitor. I use synergy to allow the mouse and keyboard to be used across both monitors (and copy and paste between the 2 systems). This has been an ideal setup, although you need to make the Windows computer the synergy "server" and the Ubuntu box the client (due to uac). In order to communicate securely over the network between your 2 systems, install cygwin on Windows and use the ssh server, and run autossh on Ubuntu to create an encrypted tunnel between the two. On Windows, set up synergy server. On Ubuntu box run: autossh -fNL localhost:24800::24800 then: synergyc -f localhost It should connect to the windows synergs server right away, so switch the kvm to the Windows computer and your mouse and keyboard should work across both screens. Scott P.S. I used to run Windows in VirtualBox under ubuntu, but you need to give it at least 4GB RAM to be able to reliably run Visual Studio 10.

          K Offline
          K Offline
          Kostya Kovalskyy
          wrote on last edited by
          #42

          That's pretty cool. I will try that :)

          1 Reply Last reply
          0
          • L lewax00

            I suggest Ubuntu VM in a Windows environment, it's always worked well for me.

            T Offline
            T Offline
            TNCaver
            wrote on last edited by
            #43

            The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. Is there a publicly available pre-fab'd Ubuntu (or Redhat) VM for Windows 7 Virtual PC with higher screen resolutions? Or did you use a different VM engine, like VirtualBox or VMWare? I'd prefer to install and run only one VM manager, and let that be the one needed to run XP mode.

            If you think 'goto' is evil, try writing an Assembly program without JMP.

            L M B 3 Replies Last reply
            0
            • T TNCaver

              The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. Is there a publicly available pre-fab'd Ubuntu (or Redhat) VM for Windows 7 Virtual PC with higher screen resolutions? Or did you use a different VM engine, like VirtualBox or VMWare? I'd prefer to install and run only one VM manager, and let that be the one needed to run XP mode.

              If you think 'goto' is evil, try writing an Assembly program without JMP.

              L Offline
              L Offline
              lewax00
              wrote on last edited by
              #44

              I always use VirtualBox for local VMs.

              T 1 Reply Last reply
              0
              • K Kostya Kovalskyy

                Definitely Ubuntu. It works much faster then Windows, which has about 1000 programs that start at startup. It looks much better and it is a lot more customizable. Plus, most of the stuff is free. And most of the programs I use work with Wine perfectly, so I only boot Windows when I want to play a brand new game (most of the games before 2008 work perfectly with wine), or I need Visual Studio. Now, even if I work on cross-platform program I rarely boot Windows, because MinGW works nice on Wine too :)

                C Offline
                C Offline
                Collin Biedenkapp
                wrote on last edited by
                #45

                I am for sure going to leave both on my machine, and I guess I will play around some more. I use my Windows for Flight Simulator, Visual Studio, and games. If I don't plan on using one of those things, I will stay in Ubunu. Otherwise, I'll use Windows. I love some of the discussions though! Windows 8 is growing on me a bit, but I'll wait a while before leaving my perfectly good Windows 7.

                Collin

                1 Reply Last reply
                0
                • W W Balboos GHB

                  Maybe you should reread what I wrote: Windows does not play well with others and my example of windows harming the other application (Ubuntu) clearly imply that I would not trust windows as the base FROM which to launch a VMs that is supposed to suport a non-Windows O/S - if one goes the VM route.

                  "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                  "As far as we know, our computer has never had an undetected error." - Weisert

                  "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                  D Offline
                  D Offline
                  Dominic Amann
                  wrote on last edited by
                  #46

                  My apologies - I read the line "

                  Windows does not play nice with others - and entrusting your Ubuntu to the care of Windows (VM or otherwise) in my opinion, is risky business - and since it is your business at stake, is it a gamble you wish to take?

                  " as meaning the other way round to which you intended. It may be clear to you, but I can (now) see how it could read as either way.

                  1 Reply Last reply
                  0
                  • G Gary Wheeler

                    We haven't tested this recently. Our application does process control in an industrial environment. We've seen differences in multithreading behavior and timing under the VM.

                    Software Zen: delete this;

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #47

                    Gary Wheeler wrote:

                    We've seen differences in multithreading behavior and timing under the VM.

                    Not sure how one would not expect to see that? Given the following scenarios for a single box A. 1. Running only app X. 2. Running app X and app Y. 3. Running two VMS, M and N, with X in M and Y in N. None of the above are going to have the same timing/threading experience. And in general solution 3 is going to be the 'slowest' deployment although whether that is significant or even measurable depends on many things.

                    G 1 Reply Last reply
                    0
                    • J jschell

                      Gary Wheeler wrote:

                      We've seen differences in multithreading behavior and timing under the VM.

                      Not sure how one would not expect to see that? Given the following scenarios for a single box A. 1. Running only app X. 2. Running app X and app Y. 3. Running two VMS, M and N, with X in M and Y in N. None of the above are going to have the same timing/threading experience. And in general solution 3 is going to be the 'slowest' deployment although whether that is significant or even measurable depends on many things.

                      G Offline
                      G Offline
                      Gary Wheeler
                      wrote on last edited by
                      #48

                      We expected it. Unfortunately the differences were significant enough to make testing under a VM less than useful.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • T TNCaver

                        The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. Is there a publicly available pre-fab'd Ubuntu (or Redhat) VM for Windows 7 Virtual PC with higher screen resolutions? Or did you use a different VM engine, like VirtualBox or VMWare? I'd prefer to install and run only one VM manager, and let that be the one needed to run XP mode.

                        If you think 'goto' is evil, try writing an Assembly program without JMP.

                        M Offline
                        M Offline
                        Mike Poz
                        wrote on last edited by
                        #49

                        TNCaver wrote:

                        The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res

                        Did you install the guest additions (for VirtualBox) or VMWare Tools (for VMWare)? You need to install those to get cool functionality like mouse capture and auto-resize of the desktop.

                        Mike Poz

                        T 1 Reply Last reply
                        0
                        • M Mike Poz

                          TNCaver wrote:

                          The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res

                          Did you install the guest additions (for VirtualBox) or VMWare Tools (for VMWare)? You need to install those to get cool functionality like mouse capture and auto-resize of the desktop.

                          Mike Poz

                          T Offline
                          T Offline
                          TNCaver
                          wrote on last edited by
                          #50

                          No, as I wrote, I was using Win7 Virtual PC so that I'd only have one VM engine installed.

                          If you think 'goto' is evil, try writing an Assembly program without JMP.

                          M 1 Reply Last reply
                          0
                          • L lewax00

                            I always use VirtualBox for local VMs.

                            T Offline
                            T Offline
                            TNCaver
                            wrote on last edited by
                            #51

                            Thanks. I may have to give VirtualBox a try.

                            If you think 'goto' is evil, try writing an Assembly program without JMP.

                            1 Reply Last reply
                            0
                            • T TNCaver

                              No, as I wrote, I was using Win7 Virtual PC so that I'd only have one VM engine installed.

                              If you think 'goto' is evil, try writing an Assembly program without JMP.

                              M Offline
                              M Offline
                              Mike Poz
                              wrote on last edited by
                              #52

                              Your first sentence in your first comment says this: "The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. " I didn't realize you hijacked the thread to be an XP Mode on Virtual PC specific question. I thought you were trying to do what the original thread writer is asking about (using a virtual system for Linux/Windows and which to make the host/guest). That said: I gave up on Virtual PC a long time ago as, while it does have tight integration for XP mode support, it's darned near useless for anything else.

                              Mike Poz

                              T 1 Reply Last reply
                              0
                              • M Mike Poz

                                Your first sentence in your first comment says this: "The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. " I didn't realize you hijacked the thread to be an XP Mode on Virtual PC specific question. I thought you were trying to do what the original thread writer is asking about (using a virtual system for Linux/Windows and which to make the host/guest). That said: I gave up on Virtual PC a long time ago as, while it does have tight integration for XP mode support, it's darned near useless for anything else.

                                Mike Poz

                                T Offline
                                T Offline
                                TNCaver
                                wrote on last edited by
                                #53

                                I didn't hijack the thread, my reply had nothing to do with XP mode except as the reason to get Ubunto to work in Win7 Virtual PC rather than another VM. I was talking about running Ubuntu on Win7 in a VM in a reply to someone else on the thread who said he was doing that. But yes, I'm coming to the same conclusion about the limited usefullness of Virtual PC.

                                If you think 'goto' is evil, try writing an Assembly program without JMP.

                                R 1 Reply Last reply
                                0
                                • M M dHatter

                                  ubuntu os, windows xp virtual box vm <--- been using it for years without reinstall and no crash

                                  01101111 01100010 01101010 01100101 01100011 01110100 01110011 00100000 01101001 01101110 00100000 01101101 01101001 01110010 01110010 01101111 01110010 00100000 01100001 01110010 01100101 00100000 01100011 01101100 01101111 01110011 01100101 01110010 00100000 01110100 01101000 01100001 01101110 00100000 01110100 01101000 01100101 01111001 00100000 01100001 01110000 01110000 01100101 01100001 01110010

                                  U Offline
                                  U Offline
                                  User 3715706
                                  wrote on last edited by
                                  #54

                                  Same configuration, works like a charm.

                                  1 Reply Last reply
                                  0
                                  • L lewax00

                                    I suggest Ubuntu VM in a Windows environment, it's always worked well for me.

                                    M Offline
                                    M Offline
                                    myxlplyx
                                    wrote on last edited by
                                    #55

                                    Virtualbox is good. Lately I got a few 32 gig Sandisk thumb drives for $18, and installed Ubuntu 386 with Gnome on that and 64bit. Seems to run faster then Virtual machines and is persistent as opposed to LiveDVD's. Also, I can take it with me and boot any computer hardware to Linux that has USB boot option enabled..computer on a stick. Windows can then be still installed by default, and the running Linux easily accesses the native drive. Also, you can boot the linux..even if the native hard drive goes on you. I like windows 7 and C# alot, I also like Linux with Gnome and C# ALOT.

                                    1 Reply Last reply
                                    0
                                    • T TNCaver

                                      The few times I've tried this I couldn't reliably or consistently get more than an 800x600 screen res. I managed to get a higher res once, but I couldn't get it to come back on reboot of the VM. Is there a publicly available pre-fab'd Ubuntu (or Redhat) VM for Windows 7 Virtual PC with higher screen resolutions? Or did you use a different VM engine, like VirtualBox or VMWare? I'd prefer to install and run only one VM manager, and let that be the one needed to run XP mode.

                                      If you think 'goto' is evil, try writing an Assembly program without JMP.

                                      B Offline
                                      B Offline
                                      bobc4012
                                      wrote on last edited by
                                      #56

                                      I use VirtualBox on a Windows 7 machine. I have Linux Mint 12 (Ubuntu derivative) as one (using different desktop - XFCE is close to Ubuntu 10.04/10.10), Ubuntu 10.04, Ubuntu 12.04 (Unity, which I do not like), ZorinOS Core 5.2 (provides Gnome 2 desktop (even though Ubuntu 11.04 based) and also XP and Windows 7 GUI look and feel and, finally, ReactOS (an XP freeware version). I know my browsers run faster on these OSes running in a VM than they do native on Windows 7 - I use Firefox, Google Chrome and Opera. The occasional glitch I get is when switching OSes under VirtualBox, it seems to lose it being plugged in. Not sure if it is a Windows 7 problem or VirtualBox. I do know that Windows 7 does not always play nice with my non-MS browsers. I did try to install the first two versions (Developer and Consumer Preview) of Windows 8 and could not get through the install process in spite of allocating sufficient RAM and virtual HD space for the virtual machines. I have not tried the latest Win. 8 Release Preview yet. If the USB flash drive continues to be a problem, I might try VMWare.

                                      1 Reply Last reply
                                      0
                                      • Richard Andrew x64R Richard Andrew x64

                                        I went to the Hiren BootCD website, but there is no download link for the CD. Do you know where to get it from?

                                        The difficult we do right away... ...the impossible takes slightly longer.

                                        B Offline
                                        B Offline
                                        bobc4012
                                        wrote on last edited by
                                        #57

                                        You need to go to the bottom of the page. It is a ZIP file. See: http://www.hirensbootcd.org/download/ - (www.hirensbootcd.org/download). You should see: Filename: Hirens.BootCD.15.1.zip Filesize: 498.36 MB (522565534 bytes) ISO MD5: B5DE7A10DD1586D47535372EA1AD9BED ZIP MD5: 5B8E9240AE8CF74939B60AD872CBBABA It contains the ISO and other files.

                                        1 Reply Last reply
                                        0
                                        • C Collin Biedenkapp

                                          Hmm. I have heard all different opinions here, and I have several machines available that I could use. That seems like it may be the best option. Also, by safer all I meant was that viruses are less of a concern due to Windows being the target of most. I will probably stick with Windows 7 on my desktop for normal operations and Ubuntu on my laptop or a VM. The server environment I'm developing is entirely self contained, and I have several remote cloud servers I can test it on, so the scariness of a VM for me isn't as big of a factor. At the same time, I just plane like Ubuntu. There isn't a perfect solution I don't think. The bottom line is this for me: Ubuntu, although it should be (IMO), isn't as popular or mainstream as Windows, and is doesn't run everything Windows can. I find myself rebooting several times in a day due to different things (I have two projects currently, one using .Net/C++ and one for Linux).

                                          Collin Biedenkapp

                                          B Offline
                                          B Offline
                                          bobc4012
                                          wrote on last edited by
                                          #58

                                          BTW, have you tried WINE, DOSBox and DOS Emulator? Between the three, I find I can run a lot of Windows (and older DOS) programs. There is also a pay version like WINE, (dream something or other) that supports more Windows apps from what I understand.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups