Results 1 to 7 of 7

Thread: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

  1. #1
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    Please use this thread for discussion regarding

    https://help.ubuntu.com/community/Re...licateWubiDisk

    Support threads should be posted in normal forums.

    Thank you.

  2. #2
    Join Date
    Aug 2012
    Beans
    1

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    I prefer following version:
    (Assuming target size is 10GiB=2621440x4KiB)
    Code:
    cat /host/ubuntu/disks/root.disk /dev/zero | dd iflag=fullblock bs=4K count=2621440 of=/host/ubuntu/disks/newroot.disk
    fsck -y -f /host/ubuntu/disks/newroot.disk
    resize2fs /host/ubuntu/disks/newroot.disk 10G
    Neither dd nor resize2fs, alone, changes the size of the image , so the concatenation part is mandatory.

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

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    I've updated the wiki for release 1.6 of the script.

    There are no specific changes required to support Ubuntu 12.10, but I've added support for grub-legacy users (original install on Ubuntu 9.04 or earlier), and there's some minor cleanup.

    I've also added signed checksums of the scripts so that users can verify them before using.

  4. #4
    Join Date
    Sep 2011
    Beans
    2

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    For the step 5 of manual resize, there's a missing quote(') at the rsync command(at the end of exclude /home)

    rsync -av --exclude '/sys/*' --exclude '/proc/*' --exclude '/host/*' --exclude '/mnt/*' --exclude '/media/*/*' --exclude '/tmp/*' --exclude '/home/*/.gvfs' --exclude '/home/*/.cache/gvfs' --exclude '/root/.gvfs' --exclude '/var/lib/lightdm/.gvfs' / /media/newdisk
    It didn't worked for me then only I noticed that there's a missing quote and now the rsync works for me

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

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    Quote Originally Posted by wcypierre View Post
    For the step 5 of manual resize, there's a missing quote(') at the rsync command(at the end of exclude /home)



    It didn't worked for me then only I noticed that there's a missing quote and now the rsync works for me
    Thanks for pointing that out. I'll fix it!

  6. #6
    Join Date
    Sep 2011
    Beans
    2

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    Quote Originally Posted by bcbc View Post
    Thanks for pointing that out. I'll fix it!
    you're welcome . I was relatively surprised that it wasn't working until I found the missing quote then only I get what it doesn't works

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

    Re: Discussion - https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

    Quote Originally Posted by wcypierre View Post
    you're welcome . I was relatively surprised that it wasn't working until I found the missing quote then only I get what it doesn't works
    Thankfully most people take my advice and use the script which I test on an ongoing basis.

    But I should have rerun the manual commands after each edit so my apologies for that.

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
  •