Page 5 of 12 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 114

Thread: HOWTO: Resize the WUBI virtual disk

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

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by allen.kempe View Post
    I have an eMachines with Ubuntu - wubi installed. I tried post #2 but it failed at step 3. I have a usb drive mounted that I used to backup the root.disk.
    /media/win/ubuntu/disks/root.disk no such file or directory.I have a usb drive mounted that I used to backup the root.disk. usb_700_ext4 which is mounted with the name "/media/_usb_700_ext4_"

    Here is the procedure that worked for me:

    In place Resize of root.disk

    1. You have to boot from a live CD/USB. This won't work while running Wubi.

    2. Backup the root.disk
    cp /media/eMachines/ubuntu/disks/root.disk /media/usb_700_ext4_

    3. Check the size of the root.disk (not required)
    Code:
    du -h --apparent-size /media/eMachines/ubuntu/disks/root.disk
    4. Run fsck on the root.disk
    Code:
    fsck -f /media/eMachines/ubuntu/disks/root.disk
    5. Resize - specify the desired final size (this example resizes to 10 GB)
    Code:
    resize2fs /media/eMachines/ubuntu/disks/root.disk 10G
    6. Reboot back into Wubi Ubuntu

    Great! I am glad it worked and thanks for the feedback.

    The instructions in the post were for a specific mountpoint (step 3 from the original post):
    Quote Originally Posted by bcbc View Post
    3. Mount the NTFS partition that your root.disk is on (this example assumes it's /dev/sda1):
    Code:
    sudo mkdir -p /media/win
    sudo mount /dev/sda1 /media/win
    If you already have it mounted, then you need to use your own mountpoint in the rest of the instructions. I'll review the thread to make sure it's clear enough.
    Thanks

  2. #42
    Join Date
    Jun 2010
    Beans
    1

    Re: HOWTO: Resize the WUBI virtual disk

    The manual resize from a live CD worked a treat for me. I had to run e2fsck though.

    Thanks!

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

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by mrsleeepy View Post
    The manual resize from a live CD worked a treat for me. I had to run e2fsck though.

    Thanks!
    Do you mean after running or before the resize? If you mean before, using fsck should be equivalent to e2fsck (if you had issues, let me know what they were). If you needed to run afterwards, let me know as well (I haven't required this in my own usage, but if you did I'd like to know about it).

    Thanks for the feedback.

  4. #44
    Join Date
    Sep 2011
    Beans
    1

    Re: HOWTO: Resize the WUBI virtual disk

    Had this error :

    lib/modules/2.6.38-8-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
    rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
    rsync: write failed on "/tmp/wubi-resize/lib/modules/2.6.38-8-generic/kernel/drivers/gpu/drm/radeon/radeon.ko": No space left on device (28)
    rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.7]
    rsync: connection unexpectedly closed (265019 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
    wubi-resize_1.3b.sh: Copying files failed or was canceled
    wubi-resize_1.3b.sh: Please wait - cleaning up...
    wubi-resize_1.3b.sh: Operation aborted

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

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by jqlio18 View Post
    Had this error :

    lib/modules/2.6.38-8-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
    rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
    rsync: write failed on "/tmp/wubi-resize/lib/modules/2.6.38-8-generic/kernel/drivers/gpu/drm/radeon/radeon.ko": No space left on device (28)
    rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.7]
    rsync: connection unexpectedly closed (265019 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
    wubi-resize_1.3b.sh: Copying files failed or was canceled
    wubi-resize_1.3b.sh: Please wait - cleaning up...
    wubi-resize_1.3b.sh: Operation aborted
    Please can you post the output of:
    Code:
    mount
    Thanks

  6. #46
    Join Date
    Sep 2011
    Beans
    2

    Re: HOWTO: Resize the WUBI virtual disk

    Hi
    I am trying to resize my disk from 15 GB to 30 GB (I was running out of space)
    I download the wubi-resize_1.3b.sh script and run:
    "sudo bash wubi-resize_1.3b.sh 30 -v"

    It start running, at until now, there has been no error message but I am not sure if the script is running, the last line I got was
    dev/shm/pulse-shm-1622839104
    And its been like this for almost two hours

    Shall I stop the script (Ctrl+C) and run again the script? It wont cause any problems to my computer if I do this? Or is it normal that the script runs for so much time? (Almost three hours now)

    Thank you in advance

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

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by Jelision2 View Post
    Hi
    I am trying to resize my disk from 15 GB to 30 GB (I was running out of space)
    I download the wubi-resize_1.3b.sh script and run:
    "sudo bash wubi-resize_1.3b.sh 30 -v"

    It start running, at until now, there has been no error message but I am not sure if the script is running, the last line I got was
    dev/shm/pulse-shm-1622839104
    And its been like this for almost two hours

    Shall I stop the script (Ctrl+C) and run again the script? It wont cause any problems to my computer if I do this? Or is it normal that the script runs for so much time? (Almost three hours now)

    Thank you in advance
    Yes Ctrl+C. It shouldn't take that long and if it's in verbose mode it will show you all the files being copied etc. What was the last output from the script? (it would have been prefixed with "wubi-resize_1.3b.sh:")

    Also, check whether it created a new virtual disk:
    Code:
    ls -l /host/ubuntu/disks/new.disk

  8. #48
    Join Date
    Sep 2011
    Beans
    2

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by bcbc View Post
    Yes Ctrl+C. It shouldn't take that long and if it's in verbose mode it will show you all the files being copied etc. What was the last output from the script? (it would have been prefixed with "wubi-resize_1.3b.sh:")

    Also, check whether it created a new virtual disk:
    Code:
    ls -l /host/ubuntu/disks/new.disk
    Thank you very much for replying
    I think it was a problem with my disk
    After I stopped the script I tried to delete /host/ubuntu/disks/new.disk before running again the script. But the file never got deleted and my computer froze. So I had to restart my computer.
    Then I was able to delete the new.disk file and run again the script. After maybe 30 minutes the script finished and now I running Ubuntu in the new 30 GB disk.

    Thank you

  9. #49
    Join Date
    Jul 2011
    Beans
    19

    Re: HOWTO: Resize the WUBI virtual disk

    On trying to use method 1 and using your advice to find the download in my download folder I get the message this is not a loopmounted install


    What does this mean and what can I do about it?

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

    Re: HOWTO: Resize the WUBI virtual disk

    Quote Originally Posted by hengis View Post
    On trying to use method 1 and using your advice to find the download in my download folder I get the message this is not a loopmounted install


    What does this mean and what can I do about it?
    This resize is only for Wubi installs (you installed using the windows-installer). If you have a normal install, you can resize using e.g. gparted.

    Just to make sure, post the result of:
    Code:
    df -h
    cat /etc/fstab

Page 5 of 12 FirstFirst ... 34567 ... 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
  •