Results 1 to 7 of 7

Thread: wubi-resize

  1. #1
    Join Date
    Jan 2012
    Beans
    31

    wubi-resize

    I installed Kubuntu with Wubi on 10 gigabyte virtual disk
    I try resize that virtual disk with 'wubi-resize-1.6' but I get some error. I need help

    Code:
    kuapps@ubuntu:~$ cd ~/Templates/wubi-resize-1.6
    kuapps@ubuntu:~/Templates/wubi-resize-1.6$ sudo bash wubi-resize.sh 13
    wubi-resize.sh:  A new virtual disk of 13 GB will be created. Continue? (Y/N)
    y
    wubi-resize.sh: Creating new virtual disk (new.disk)...
    wubi-resize.sh: Formatting new virtual disk as ext4.
    wubi-resize.sh: Copying files - this will take some time.
    wubi-resize.sh: Please be patient...
    wubi-resize.sh: Copying from root (/)
    rsync: read errors mapping "/lost+found/#148185": Input/output error (5)
    rsync: read errors mapping "/lost+found/#148185": Input/output error (5)
    ERROR: lost+found/#148185 failed verification -- update discarded.
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
    wubi-resize.sh: Copying files failed or was canceled. Return code: 23
    wubi-resize.sh: Correct errors and rerun with --resume option
    wubi-resize.sh: Please wait - cleaning up...
    wubi-resize.sh: Operation aborted

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

    Re: wubi-resize

    Not a Wubi expert -- as I don't use it -- but since it is installed inside an NTFS partition, I would do a CHKDSK from inside Windows. To do that, you have to select Computer, right-click on the "drive" (what Windows calls partitions), select properties, and select the option to check for errors.

    After that run, you can try again.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Jan 2012
    Beans
    31

    Re: wubi-resize

    thanks
    I've done it manually (not 'wubi-resize.sh' ) then succeed

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

    Re: wubi-resize

    If rsync is finding errors there's likely ext4 corruption. You could run fsck to correct.

    How did you do it manually without rsync (or did you just ignore errors - which is probably okay if it's just your lost & found kicking out errors). But sometimes you could be missing real data if you ignore errors.

    (The script doesn't make any judgement calls for obvious reasons. If there are errors it just displays them and exits.)

  5. #5
    Join Date
    Jan 2012
    Beans
    31

    Re: wubi-resize

    The intruction's here

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

    Re: wubi-resize

    Those manual instructions use the same rsync command so it's a little strange it didn't give you the same errors.

    PS... From release 12.10, Ubuntu uses an ACL (access control list) on the /media/<username> directory, which is used as a mountpoint. The ACL won't have been copied over based on the rsync options in either the script or the manual instructions.

    I will get around to updating that soon, but if you find that when you mount a USB you don't have access (only root does) then the easiest fix is to remove the /media/<username> directory and let it get recreated automatically.

    Code:
    sudo rmdir /media/<username>
    PS that won't work if something is mounted. Don't try an rm -rf instead. Just run it when nothing is mounted.

    Reference (this relates to the wubi migration which has been fixed already, but the same problem will be present on the resize): http://askubuntu.com/q/245586/14916

  7. #7
    Join Date
    Jan 2012
    Beans
    31

    Re: wubi-resize

    thanks for the suggestion

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
  •