Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Resizing the wubi partition in lucid

  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
    Beans
    12,500

    Re: Resizing the wubi partition in lucid

    See the instructions below, section 8.9:

    https://wiki.ubuntu.com/WubiGuide
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    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
    Beans
    12,500

    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 14.04, Mint 17; MS Win 8.1.
    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 12.04 Precise Pangolin

    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

  7. #7
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Resizing the wubi partition in lucid

    For the effort it takes to resize a wubi installation I suggest you go ahead and perform a standard installation, it is much easier to maintain and IMO wubi is for trial only.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  8. #8
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Resizing the wubi partition in lucid

    Quote Originally Posted by bodhi.zazen View Post
    For the effort it takes to resize a wubi installation I suggest you go ahead and perform a standard installation, it is much easier to maintain and IMO wubi is for trial only.
    The user can decide what they want to do. I don't think it's a large effort - maybe because it's not in a program or script, but it's a lot less 'real' effort (and risk) than resizing partitions.

  9. #9
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Resizing the wubi partition in lucid

    Quote Originally Posted by bcbc View Post
    The user can decide what they want to do. I don't think it's a large effort - maybe because it's not in a program or script, but it's a lot less 'real' effort (and risk) than resizing partitions.
    You are of course welcome to do as you wish. I think we will have to agree to disagree on this topic.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #10
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Resizing the wubi partition in lucid

    Quote Originally Posted by bodhi.zazen View Post
    You are of course welcome to do as you wish. I think we will have to agree to disagree on this topic.
    I can do that

    The way I see it, people chose wubi for a reason. They deserve help if they need it, the same as any other forum user. When they're ready, they can move on to a real install. I don't think that we need to force their hand whenever they have a problem - but sure it's a good idea to suggest it, especially if its simpler than the fix.

Page 1 of 3 123 LastLast

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
  •