iEntry 10th Anniversary LinuxHaxor WH MH

Graduate From A Wubi Install To A Dedicated Partition


So you took my advice and installed Ubuntu with help from the best thing since LiveCD (Hint: Wubi), and now that you are happy with your experience with a “safe” install of Ubuntu, the next logical step would be to have a dedicated install on a separate partition or even better move your existing wubi install to a full fledged install of Ubuntu. (The third logical step would be to remove windows altogether and only have Linux installed in your computer, but we will take one step at a time to de-toxify years of windows usage). Purely performance wise you won’t see much difference when you move from a wubi install to a dedicated install - considering that you have a fairly fast hard drive and that your windows partition is not heavily fragmented. However, moving to a dedicated install does give a better safety net in case of hard-reboots or upgrading to a newer version of Ubuntu (I never had problems with upgrading, but some users did).

Transferring a wubi installation is possible with the help of LVPM (Loopmounted Virtual Partition Manager). It is advised that you create two new partitions prior to using LVPM to transfer your Wubi settings. One partition for your actual Ubuntu install and second one for swap, to avoid accidently writing over your root partition.


 

Step 1: Download and install LVPM, after you have created two partitions and booted to your wubi installation.

 

Step 2: Choose to transfer.

 

Step 3: Select the newly created partition. Know your drives. DO NOT select root partition unless you want to get rid of windows completely (which is fine by me).

 

Step 4: Wait for LVPM to do its work, as it formats the partition - copies your wubi installation - installs GRUB and reboots to your new dedicated Ubuntu install.

Pat yourself in the back; you just took one giant step towards total freedom. :)

 


  • Vadim P.No Gravatar

    December 6th, 2008 17:23

    Thanks! First good guide I see on this topic.

  • xyzNo Gravatar

    December 7th, 2008 05:18

    Is there any EASY way to install Konsole on Ubuntu (without downloading lot of apps and dependencies) ?

  • Vadim P.No Gravatar

    December 7th, 2008 09:12

    @xyz: it comes pre-installed on Kubuntu. But it’s a KDE app so it needs all of the kde stuff…

  • Kimme UtsiNo Gravatar

    December 7th, 2008 09:15

    You should tell them to add an separate partition for /home already here and they will not be searching again on the web on how to move their /home to an separate partition.

  • MikkoNo Gravatar

    December 20th, 2008 16:04

    A separete partition for /home is certainly practical to have. But one can always format the windows partition later and use it as /home :-)

  • BenNo Gravatar

    December 29th, 2008 13:41

    Ok, I followed the instructions exactly. Now when I startup my computer and grub opens I select the first thing which is Ubuntu and an error pops up that reads: Error 17: Cannot mount selected partition. Is there a way to fix this, obviously the bootloader is messed up. Can I alter it to make it boot the correct partition? The partition that I moved everything to with LVPM is /dev/sda4. Please respond! This was the only way I found to accomplish the same thing without reinstalling the OS. Now I might have to anyway if I can’t find a fix :(

  • BenNo Gravatar

    December 29th, 2008 14:32

    Ok, I was able to find the answer to my problem and the answer is incredibly important. After the process in the tutorial is completed when you open up grub and boot into ubuntu it will still be booting into the wubi install because grub was installed with the previous boot instructions. What you must do before uninstalling the wubi install in windows is the following: when you are in grub select the normal ubuntu install and press “e” twice on the keyboard. Erase all the way until the first parenthesis. Then type the following: (hd0,X). The X stands for the drive number. The way to know your drive number is what ever the number was at the end of the partition you saved to in the third step but one less. So if it was /dev/sda4 then you must write (hd0,3). Same for the rest, if it was /dev/sda1 then you must write (hd0,0). After doing this you must do it for the rest of the Ubuntu boot options (recovery, memtest, etc.). Then you will be booting from your newly transfered ubuntu partition. After all this is completed you can boot into vista and uninstall the Wubi Ubuntu install from inside windows. Now you have made the full transformation from a Wubi install to a separate partitioned OS.

    (The reason I had an issue is because I unistalled the Wubi install before making this fix so grub couldn’t find the files)

  • BenNo Gravatar

    December 29th, 2008 15:24

    Ugg, sorry still not done. The instructions above are only temporary. They will get you into ubuntu but you would have to repeat it every time. To make these changes permanent so you can just select Ubuntu and press enter do the following:

    In Ubuntu Open the Terminal. Type: sudo gedit /boot/grub/menu.lst . Enter your password and you will see a text document open. Scroll down almost to the bottom. Stop after you see: ## ## End Default Options ##. There you will see the three options for the normal, recovery, and memtest. Under the titles for all these OS’s you will see root and then the same thing you saw when you changed the root in the bootloader. Change it the same way as above but in the text document. After you have finished it should look like this (except the titles because I changed them and the number after the comma because that will depend on the partition Ubuntu is on but you get the idea):

    title Ubuntu 8.10 Intrepid Ibex
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=721c200f-d1f6-4f72-b755-72adb11598ce ro ROOTFLAGS=syncio quiet splash
    initrd /boot/initrd.img-2.6.27-9-generic
    quiet

    title Ubuntu 8.10 Intrepid Ibex (Recovery)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=721c200f-d1f6-4f72-b755-72adb11598ce ro ROOTFLAGS=syncio single
    initrd /boot/initrd.img-2.6.27-9-generic

    title Ubuntu 8.10 Intrepid Ibex (memtest)
    root (hd0,3)
    kernel /boot/memtest86+.bin
    quiet

    Click Save and Exit and Reboot. When GRUB opens you can just select Ubuntu and click enter and it will work every time. Hope I helped!

  • GuilleNo Gravatar

    February 9th, 2009 13:52

    It works! it works!

  • fagNo Gravatar

    March 21st, 2009 01:42

    hello,I have (X)ubuntu 8.10 installed it with wubi 8.10.0.515,
    then I downloaded lvpm_96_all.deb, but when I klick the file in Ubuntu comes the error :
    ::: dependency is not satisfying… OS proper :::

    what should I do ??? help me pls
    and thx 4 all thet great tipps for grub

Trackbacks

  1. Graduate From A Wubi Install To A Dedicated Partition | LinuxHaxor.net
  2. nerdd.net | news and opinion
  3. Jason’s Development Blog » Wubi - Ubuntu Installer for Windows

Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.