How to Run Linux on a Windows Computer
Total Page:16
File Type:pdf, Size:1020Kb
How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ H ow to Install Linux on your W indows Computer Summary: Are you a Windows user who is curious to test-drive Linux (Ubuntu in particular) but without disturbing your existing Windows setup? Here are five easy ways to help you run Linux on Windows. By Amit Agarwal. Are you a Windows user who is curious to try Linux (Ubuntu in particular) because you have heard so many good things about the OS from your geek friends? There are two ways to use Linux on a Windows computer. You can either install the full Linux OS alongside Windows, or if you are just starting with Linux for the first time, the other easy option is that you run Linux virtually with making any change to your existing Windows setup. The former option will offer the best performance because all your system resources will be available to Linux but the latter option is absolutely risk-free and therefore recommended for novice users. You’ll be able to test drive Linux but without changing a single file on your Windows computer. Running Linux with W indows – Your Options Let’s look at some of the easiest ways to use Linux on a Windows computer. Linux is available in multiple flavors (your friends may call them Linux distros (http:/ / www.labnol.org/ software/ best-linux-distros/ 12757/ ) ) but here, let’s focus on the desktop edition of Ubuntu, perhaps the most popular and actively developed Linux distribution. A: Test-Drive Linux Online as a W eb App Perhaps the easiest way to try Linux on your Windows Desktop is inside your web browser. Go to edubuntu.org (http:/ / www.edubuntu.org/ vmmanager) , fill that simple form and within a minute, you’ll have the full version of Ubuntu Linux running on 1 of 6 8/21/2013 8:54 AM How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ your desktop inside a Java applet. There’s absolutely no need to download or install anything on your computer and a single session can last up to two hours. You get access to all the features that are available in the standard desktop edition of Ubuntu Linux including the ability to download and install new packages from the Linux repository. B: Run Linux fr om a USB Stick or a CD The most popular option to test-drive Linux on Windows is a LiveCD. Though it says “CD,” you can also use a USB Flash Drive as a LiveCD (without having to burn a CD). To get started, download the latest version of Ubuntu (http:/ / releases.ubuntu.com / 11.04/ ) to your desktop. This is an ISO file (also known as a CD image) that is around 650 MB in size. If you don’t have a great Internet connection, you can always borrow the Ubuntu CD from a friend (yes, its perfectly legal) or order a readymade live CD from OSDisc.com (http:/ / www.osdisc.com/ cgi-bin/ view.cgi/ products/ livecd / ubuntu) . Once you have Ubuntu ISO image file, grab an empty USB disk and use UNetbootin (http:/ / unetbootin.sourceforge.net/ ) to quickly turn that USB drive into a bootable Ubuntu disk for Ubuntu without having to burn a CD. Insert the bootable USB flash drive into your Windows computer and reboot. If this doesn’t work, go to the BIOS boot menu and change the boot sequence. You should see an option at the boot menu that says “Try Ubuntu without any change to your computer” – choose that and you are good to go. Once inside Linux, 2 of 6 8/21/2013 8:54 AM How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ you can install new programs, create files and everything else that you normally do at a computer though your changes won’t be written to the disk. The Ubuntu portal (https:// help.ubuntu.com/ community/ LiveCD) has more details on creating and troubleshooting a LiveCD. C: Run Linux in a Virtual M achine The term virtualization may sound very geeky but in simple English, all it means is that you can another OS over an existing OS. For instance, you can run Windows on a Mac or you may install Linux on a Windows 7 machine using virtualization software (http:/ / www.labnol.org/ software/ free-virtualization-software-comparison / 10968/ ) . To get started, download and install the free VMware Player (http:/ / www.vmware.com/ download/ player/ ) on your Windows desktop. Then download the VMware image (http:/ / www.trendsigma.net/ vmware/ ubuntu1104.html) for Ubuntu and extract the zip file (I use PeaZip (http:/ / www.labnol.org/ software / winzip-alternative/ 19550/ ) ). Now double-click the Ubuntu.vmx file that you just extracted and the Linux virtual machine will load inside the VMWare Player. Simple! 3 of 6 8/21/2013 8:54 AM How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ Technically, Linux will be the “guest” operating system while “Windows” will be considered the host OS. And other than VMware, you may also VirtualBox to run Linux inside windows. The VirtualBox installer and the Ubuntu Linux images for VirtualBox for can be downloaded for free from oracle.com (http:/ / www.oracle.com / technetwork/ server-storage/ virtualbox/ downloads/ index.html#vbox) . D: Install Linux like a W indows Software Wouldn’t it be nice if you could install Linux like a native Windows app – something like Microsoft Office? For instance, if you have Office running on Windows, you can always uninstall the software later without affecting any other Windows programs or system settings. Meet Wubi (http:/ / www.ubuntu.com/ download/ ubuntu/ windows-installer) – short for Windows-based UBuntu Installer - a tiny utility that will help you install Ubuntu Linux alongside any other Windows application. Run the installer, choose a password for your Linux environment and the software does the rest. It will download the necessary Linux ISO from the Internet and will install it on your machine. Alternatively, if you have previously download the ISO, you can just place the .iso file in the same folder as Wubi and it will pick it up. 4 of 6 8/21/2013 8:54 AM How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ Now the next time you restart / reboot your computer, it will offer you a choice of Linux (Ubuntu) and Windows. This is a real Linux installation and thus the overall performance should be good as well. If you ever want to uninstall Linux, simple boot into Windows, go to the Add-Remove problems and uninstall Wubi. E: Run Linux inside the W eb Browser If you are just starting to learn Linux and are looking for an easy way to practice the various Linux commands (http:/ / www.labnol.org/ software/ linux-commands/ 19028/ ) , check out the very-impressive JSLinux (http:/ / bellard.org/ jslinux/ index.html) project. This is an emulator that lets you use Linux inside your web browser. You may write shells scripts using Sed and Awk, master regular expressions, play around with popular text editors like Vi and Emacs, look up man pages of various Linux command and much more – all inside your browser. Written by Amit Agarwal (http:/ / www.labnol.org/ about/ ) , personal technology columnist and founder of Digital Inspiration. You can follow him 5 of 6 8/21/2013 8:54 AM How to Run Linux on a Windows Computer http://www.labnol.org/software/run-linux-with-windows/19746/ (http:/ / www.labnol.org/ follow/ ) on the social web or sign up for the email newsletter (http:/ / www.labnol.org/ newsletter/ ) for your daily dose of how-to guides (http:/ / www.labnol.org/ tag/ guide/ ) and video tutorials (http:/ / www.youtube.com / user/ labnol) . 1. Parallels Workstation for Windows & Linux – Free Download (http:/ / www.labnol.org/ software/ download-parallels-workstation-free/ 6297/ ) 2. How to Create a Virtual Machine of your Windows Computer (http:/ / www.labnol.org/ software/ create-virtual-machine-of-existing-computer / 10510/ ) 3. How to Get Free Ubuntu CDs and DVDs in India (http:/ / www.labnol.org/ internet / ubuntu-in-india-get-free-ubuntu-cds-and-dvds/ 630/ ) 4. Should I Install 32 or 64-bit Version of Windows? (http:/ / www.labnol.org / tech/ install-32-64-bit-windows/ 14098/ ) 5. How to Run Windows Software on Apple Mac (http:/ / www.labnol.org/ software / run-windows-software-on-mac-virtual-machine/ 4187/ ) 6. Which is the Best Linux Distribution for your Desktop? (http:/ / www.labnol.org / software/ best-linux-distros/ 12757/ ) 7. Get a Linux DVD Set from Oracle – Free Shipping Worldwide (http:/ / www.labnol.org/ software/ download/ order-free-linux-dvd-kits-oracle- shipping-worldwide/ 3454/ ) 8. How to Download and Install Windows XP SP3 Service Pack 3 (http:/ / www.labnol.org/ software/ download/ how-to-download-and-install-windows- xp-sp3-service-pack-3/ 2668/ ) 9. How to Install Windows 8 Alongside Windows 7 (Dual-boot) (http:/ / www.labnol.org/ software/ install-windows-8-dual-boot/ 20939/ ) 10. Why Windows Users Buy Laptops Preloaded with Free DOS? (http:/ / www.labnol.org/ gadgets/ freedos-on-windows-laptop/ 20214/ ) This story was originally published at Digital I nspiration (www.labnol.org) by Amit Agarwal ([email protected]). This printer-friendly version is made available for your personal and non-commercial use only. 6 of 6 8/21/2013 8:54 AM.