1

So, I bought this computer recently, and immediately dual-booted Ubuntu 12.04 LTS with it. The other day, unfortunately, I ran out of the mere 20 or so gigs alloted to me (out of about 700). I'd like to repartition more space, but I'm running into a bit of trouble. I found this instruction:

How do I remove windows but keep Ubuntu?

but ran into problems when it came to booting from the flash. It's just not recognizing the flash in my boot menu. I know that the flash works, I should add, because my girlfriend just used it twice for both of her machines. I'm sure that it's now obvious that I am sorely ignorant of this system admin stuff, so I'm not even sure if this is the best way to go about it. Can anyone help me out? Thanks!

Dodgie
  • 261
  • 1
    First of all, how did you install Ubuntu? Did you use Wubi or did you install on a separate partition? If it is the second, how did you install in the first place? – To Do Nov 25 '12 at 21:16
  • I used Wubi to install. Bad move? – Dodgie Nov 25 '12 at 21:54
  • Ah, so what do you suggest? Why would it not see the liveUSB? – Dodgie Nov 25 '12 at 21:57
  • It seems you need a liveUSB after all. Sorry. Did you try booting from your liveUSB by pressing F12 while powering on? – To Do Nov 25 '12 at 21:59
  • Otherwise try this: https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk – To Do Nov 25 '12 at 22:00
  • No, I only tried escape! Oops. Let me get back to you, good sir. – Dodgie Nov 25 '12 at 22:01
  • No, F12 didn't work. And how is this resizing helpful, exactly? – Dodgie Nov 25 '12 at 22:09
  • Isn't that what you want? More Space? – To Do Nov 25 '12 at 22:13
  • Hah, I didn't mean to suggest that you weren't being helpful, just that I don't understand how this Wubi virtual disc resizing works. – Dodgie Nov 25 '12 at 22:36
  • Very cool, thanks for your answers. I'll try this later this evening. – Dodgie Nov 26 '12 at 22:47
  • Everything worked wonderfully and much more simply than expected. Thank you for your answers.

    I should add for anyone else having trouble: The process can take quite a bit of time. I changed my allotment from 20 gigs or so to 400, and after over three hours without progress updates, fell asleep. With the process being finished in the morning, I was able to following the rest of the steps and confirm that it worked before breakfast. Thanks again.

    – Dodgie Nov 27 '12 at 16:38
  • Since it worked, why don't you accept the answer below as the right one to help others? – To Do Nov 27 '12 at 16:40
  • I tried, but I apparently don't meet the requirements. EDIT: fixed. – Dodgie Nov 27 '12 at 16:40

1 Answers1

0

If you cannot boot from a liveUSB you can follow a different procedure which actually creates a bigger virtual disk, copies all that is in the current disk in the new one and finally rename the old disk to replace the old one.

  1. Boot Ubuntu and download wubi-resize
  2. Open a terminal (Ctrl + Alt + T) and type sudo bash wubi-resize.sh 40. Replace the 40 with the size you wish for the new Wubi disk.
  3. Be patient until it finishes.
  4. Reboot into Windows and go to the C:\Ubuntu\disks folder and rename the root.disk file OLDroot.disk
  5. Rename the new.disk file root.disk
  6. Reboot your PC into Ubuntu. If everything works you may delete the OLDroot.disk the next time you boot into Windows.

Source: https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

To Do
  • 15,502