Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Expand Virtual Drive Size - After Install

  1. #1
    Join Date
    May 2007
    Beans
    12

    Expand Virtual Drive Size - After Install

    Hello,
    I've got a quality install of Ubuntu on my machine, and Wubi has worked without a hitch for me thus far (thanks!!!), but my virtual drive is showing only about 4GB of total space, with 1.6 free and 1.4 available. I had only a bit more than 4GB available on my HDD when I installed Ubuntu, so my question is, will my Virtual Drive's size expand if I free up space on the host drive, or will is remain fixed to the free space I had when I installed with Wubi?
    Thanks in advance!

  2. #2
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Expand Virtual Drive Size - After Install

    It will remain the same, but see the wubiguide for a way to add more space: https://wiki.ubuntu.com/WubiGuide

  3. #3
    Join Date
    May 2007
    Beans
    12

    Re: Expand Virtual Drive Size - After Install

    Thanks for the quick reply. For anyone else, here's the specific text from the wiki:
    Quote Originally Posted by [url=https://wiki.ubuntu.com/WubiGuide]WubiGuide Wiki[/url]
    How do I resize the virtual disks?

    Use Toporesize, available at [WWW] http://csemler.com/cs.html and resize system.virtual.disk (for /) or home.virtual.disk (for /home) or swap.virtual.disk (for swap) in C:\wubi\disks
    http://csemler.com/cs.html says:
    Quote Originally Posted by Chris Semler
    Download toporesize (www)
    A tcl/tk front end for e2fsprogs. mainly used with Topologilinux and coLinux for creating and resizing ext2 and ext3 filesystem images. This uses the cygwin1.dll and may conflict with other programs compiled under cygwin so you may need to make sure you have no other cygwin based programs running when using toporesize. Toporesize is packed as a Starkit.
    Toporesize is a Windows program.

  4. #4
    Join Date
    Nov 2005
    Location
    Hungary
    Beans
    27
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Expand Virtual Drive Size - After Install

    I tried this yesterday, e2fsck complained that the FS had some features it did not support and that I should get a newer version of e2fsck, so the method in the Wiki didn't exactly work. And then I dabbled around with tfile.exe and messed up my system image and it all went to hell, but that's another story.

  5. #5
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Expand Virtual Drive Size - After Install

    Good old way:

    1. Create the file extra.virtual.disk of the desired size and place it under C:\wubi\disks.

    2. Boot into Ubuntu and run the following code (you can cut and paste it into a terminal):

    sudo mkfs.ext3 /dev/loop4
    sudo mount /dev/loop4 /media/extra
    sudo rsync -avx --exclude '/sys/*' --exclude '/proc/*' / /media/extra

    Boot into windows and rename extra.virtual.disk to system.virtual.disk.

    To resize home.virtual.disk the procedure is similar to the above but you have to use: sudo rsync -avx /home/ /media/extra

  6. #6
    Join Date
    Feb 2007
    Beans
    251

    Re: Expand Virtual Drive Size - After Install

    Anyone has success with it ?
    http://csemler.com/toporesize-0.7.zip
    It is a gui for ef2resize written in tcl-tk. It smells very good but ef2resize included version (1.35) asks me to use a better version with the wubi.virtual.disks.
    Maybe someone has found some more recent binaries. e2fsprogs homepage only has sources.
    http://prdownloads.sourceforge.net/e...gs-1.39.tar.gz

    If there is any cygwin expert here, I am trying to compile e2fsprogs.1.39.
    I got gettext package installed in cygwin then

    ./configure --disable-nls (has stated in toporesize doc)
    make


    compiles all the binaries but fails on resize !!!

  7. #7
    Join Date
    May 2007
    Beans
    195

    Re: Expand Virtual Drive Size - After Install

    anyone got a reliable safe easy solution?

  8. #8
    Join Date
    May 2007
    Beans
    48

    Re: Expand Virtual Drive Size - After Install

    Quote Originally Posted by ago View Post
    Good old way:

    1. Create the file extra.virtual.disk of the desired size and place it under C:\wubi\disks.

    2. Boot into Ubuntu and run the following code (you can cut and paste it into a terminal):

    sudo mkfs.ext3 /dev/loop4
    sudo mount /dev/loop4 /media/extra
    sudo rsync -avx --exclude '/sys/*' --exclude '/proc/*' / /media/extra

    Boot into windows and rename extra.virtual.disk to system.virtual.disk.

    To resize home.virtual.disk the procedure is similar to the above but you have to use: sudo rsync -avx /home/ /media/extra
    This method is a problem for me since I have 3.68GB left on the drive and the installation itself is 3.9gb....

    UNLESS you mean that you should create extra.virtual.disk of the desired size to ADD to your existing virtual disk, then I could just create a 3gig file and add it to the existing 3.9gb file to create a file of 6.9 gb. That would work.

    I tried the previous method of using tfile to resize the file, which didn't work. Strangely though if you resize the file to 700 megabytes then it will allow you to resize it back up to 7000mb... very strange.

  9. #9
    Join Date
    May 2007
    Beans
    114
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Expand Virtual Drive Size - After Install

    Help - I want to resize my virtual disks (have loads space) but this guide etc is way way way to complicated for my brain to handle

    Is there anyone who could help me do it step by step in SIMPLE terms please

    I had to lower the virtual disk sizes to even get it to install but I have it up and running well now - just need to resize them

  10. #10
    Join Date
    May 2007
    Beans
    6

    Angry Re: Expand Virtual Drive Size - After Install

    I have the same problem as blackjackel... and the same doubt! If this new file Adds space to the existing, great, but, if it doesnt, so it will ruin everything up here. So please, anybody, help us... and black, if you discovered a safe way, please, let me know. thanks. im new on the forum, so i dont know how to use it well , send any news to my e-mail felipeahura at gmail.
    Last edited by ecology2007; May 29th, 2007 at 07:51 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •