How To Install Ubuntu Linux Under Windows Vista / XP With Wubi

You can install latest Ubuntu Linux 8.04 under Windows Vista / XP without creating a new parition with a new tool called Wubi. It is a Ubuntu installer for Windows users that will bring you into the Linux world with a single click. Wubi allows you to install and uninstall Ubuntu easily. This blog post covers basic installation:

With the latest release of the popular Linux-based operating system, Ubuntu Hardy Heron, the installation process just got easier for Windows users who wish to try out an alternative to Vista or XP. Even .NET developers who are looking out on trying the Mono project (the .NET platform for Linux-based operating systems) can benefit from it. All this is possible thanks to a little Windows utility called Wubi, which is an installer for Ubuntu.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 23 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
23 comments… add one
  • Stanley Ojadovwa Jan 24, 2009 @ 14:12

    I will try that out. Instead of partitioning my harddisk it would be better runing both OS

  • al kazmir May 26, 2009 @ 16:35

    when running wubi to install ubuntu under windows, I get the error
    “password does not match” when entering the initial password’
    what is wrong here????

  • mimarms Aug 10, 2009 @ 12:42

    installing ubuntu heron in my laptop toshiba Satellite L310 produces a very distorted graphics when ubuntu starts to boot after the selection between vista ultimate and ubuntu

  • Shash Nov 23, 2009 @ 1:41

    @ Al kashmir – It is simply asking to you to select a password for ubuntu. I got the same error while installing Ubuntu on Wndows Vista. I simply went on to select a password and it worked likea charm!!! Hope this helps.

    • KutWrite Apr 6, 2011 @ 1:14

      No. I got the error too. There is only one password window, not two as there would be with a new password.

      The password I used to start my account within Vista doesn’t work, though it assumed and inserted the same user name as I use in Windows.

      I try a new user name & password but of course that doesn’t work. As I said, there is only one blank to enter the password. But I wanted to try it anyway.

      Stumped before even installing.

      Does it matter that I used a memory stick with Wubi and the ISO?

      I’m using the 32 bit i386 iso to install onto a Toshiba A665 Satellite.

  • George Nasr Nov 26, 2009 @ 11:22

    Thanks for the info.
    I recently installed Ubuntu from inside windows, it works perfectly as dual boot system. the problem is that now I want to format windows, so my question is that; will linux still work??


  • Ashlee Dec 28, 2009 @ 1:13

    Hey this thing isnt working for me.. telling me its having permission issues? Can anyone help me with that. I mean i tried about 5 times and it gets frustrating..

    Well thanks you

  • Lahi Feb 7, 2011 @ 6:34

    Hi, I have a computer, with installed Windows Vista, and my hard disk divide to two partition. D: is almost full. But now I want to install ubuntu too… Can I install the ubuntu, without formatting Windows Vista???

  • Linux User Feb 7, 2011 @ 7:42

    @ Lahi – Yes you can install ubuntu while running Windows Vista from the same hard drive. And no – you don’t need to format your hard drive to do so.

    • Lahi Feb 9, 2011 @ 4:10

      Thanks for the info, Linux

  • peter bay jespersen Apr 1, 2011 @ 23:34

    (Looking at Linux under Vista, to help self-learn vi & C. Tried Cygwin that came with “C Programming for the Absolute Beginner” (Michael Vine) but it doesn’t seem to know even basic vi commands).

    The blog link in top para appears broken, returns 404 error.

  • JaneDoe Jun 14, 2011 @ 11:59


    Got the same password issue. My windows password isn’t working. What can I do?

  • ROHIT Jul 16, 2011 @ 13:57

    I installed ubuntu 10.10 desktop -i386 inside windows vista in another drive. I m able to see to see two options windows vista and ubuntu on restarting computer but when i clicks ubuntu, ubuntu screen comes and then a small screen comes saying ‘verifing the installation’ and a screen comes saying ‘no root system is defined’. Can u help about this.

  • JaneDoe Jul 17, 2011 @ 14:46

    @ROHIT: Have you booted and installed it from stick/cd?

    • ROHIT Jul 18, 2011 @ 18:11

      I tried both from cd and a transcend 4 GB pendrive. I hav 3 partitions on my hard drive(C, D and E). I also tried directly install from USB and CD but it didn’t recognise the partition and for partition it gives two options 1) Erase whole drive and install ubuntu and 2) Manually create partition for ubuntu.

      • JaneDoe Jul 19, 2011 @ 6:01

        Perhaps that is a redundant question, but before trying to boot from USB have you enabled it so it can boot from the USB? For you first need a certain program to enable the stick..

        • JaneDoe Jul 19, 2011 @ 6:09

          Additionally – perhaps redundant as well – you need to take care of the bios menu and hit “boot from USB”. And if your USB stick is already enabled to boot then that must work just fine..

          • ROHIT Jul 20, 2011 @ 19:20

            I m able 2 run setup from usb. but after chossing the drive and clicking install button it says ‘No root file system is defined please correct it from partition menu’.

            • JaneDoe Jul 21, 2011 @ 17:03

              OK, well Iam pretty new to linux, though I went through it, so I just really wanna help and under

  • JaneDoe Jul 21, 2011 @ 17:08

    Ok, I gotta say that I am pretty new to linux, but I went through that. I just really wanna help you, so just for the protocol: did you use that program for enabling your USB stick to boot from it?

  • ROHIT Jul 23, 2011 @ 8:22

    Thanx JaneDoe. i jst deleted one partition and merge it witn another. Now i m able to install ubuntu in this drive.

    • JaneDoe Jul 25, 2011 @ 17:55

      Well, you’re welcome even though I didn’t actually do anything.. 😉 I am happy that you made it though. Have fun with it! 🙂

  • Bala Jan 16, 2013 @ 16:41

    Hi, I downloaded Ubuntu desktop 11.10. I tried installing it using Wubi. I’m unable to install it without internet. Then I connected to internet and it got installed as Ubuntu 12.10. I need 11.10. But I’m unable to install it directly without internet. Moreover when I try to login into my 12.10 account. I get an error that username and password invalid, even if i type the correct user name and password that I gave during Wubi installation.

    Pls help me out…

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum