Results 1 to 10 of 23

Thread: Resizing the wubi partition in lucid

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Question Resizing the wubi partition in lucid

    Hi,

    Is it possible to increase the size of an ubuntu partition installed via wubi? A friend of mine installed ubuntu this way but she needs more space. The method in the ubuntu wiki apparently doesn't work for 10.04. Is there an alternative?

    Thanks!

  2. #2
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,259
    Distro
    Ubuntu Mate Development Release

    Re: Resizing the wubi partition in lucid

    See the instructions below, section 8.9:

    https://wiki.ubuntu.com/WubiGuide
    Ubuntu 17.04 Mate, Mint 18.1 Mate; MS Win 8.1, MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: Resizing the wubi partition in lucid

    Yeah, that method doesn't work in 10.04.

  4. #4
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,259
    Distro
    Ubuntu Mate Development Release

    Re: Resizing the wubi partition in lucid

    Quote Originally Posted by durand View Post
    Yeah, that method doesn't work in 10.04.
    Sorry ... not a fan of Wubi; don't use it. Only trying to help.

    Perhaps, if you (and other Wubi users) found a way to contact the Wubi providers, they would update their sadly-out-of-date documentation.
    Ubuntu 17.04 Mate, Mint 18.1 Mate; MS Win 8.1, MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  5. #5
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: Resizing the wubi partition in lucid

    Thats ok, I appreciate it. I don't use wubi either but I might have to install it to see what works.

    Thanks.

  6. #6
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: Resizing the wubi partition in lucid

    Quote Originally Posted by durand View Post
    Thats ok, I appreciate it. I don't use wubi either but I might have to install it to see what works.

    Thanks.
    You can resize the root.disk. It's not strictly speaking a resize - you have to create a new bigger one and copy the data across (i.e. to make a 5GB disk 7GB, you need 7GB free space, not 2GB). It might be better to split the /home into a new virtual disk.

    The problem with lvpm is that it requires grub-legacy due to the way the transfer to partition part works (or doesn't work anymore, to be precise). The resize part is fairly simple. I've just run a test on it and it works (I made my new.disk 5GB):

    Code:
    sudo -i
    cd /host/ubuntu/disks
    dd if=/dev/zero of=new.disk bs=1M count=5000
    mkfs.ext4 -F new.disk  # use ext4 with new installs on 9.10 or later
    mkdir /media/extra
    mount -o loop,sync /host/ubuntu/disks/new.disk /media/extra
    rsync -av --exclude '/sys/*' --exclude '/proc/*' --exclude '/host/*' --exclude '/mnt/*' --exclude '/media/*/*' --exclude '/tmp/*' --exclude '/home/*/.gvfs' --exclude '/root/.gvfs' / /media/extra
    umount /media/extra
    rmdir /media/extra
    exit
    #reboot to windows, rename root.disk to root.disk.old and new.disk to root.disk
    Caution should be used getting someone to run commands as root or using dd and mkfs - but you could easily put it in a shell script.
    Last edited by bcbc; September 9th, 2010 at 04:43 AM. Reason: remove extra "s from count param

Tags for this Thread

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
  •