Please use this thread for discussion regarding
https://help.ubuntu.com/community/Re...licateWubiDisk
Support threads should be posted in normal forums.
Thank you.
Please use this thread for discussion regarding
https://help.ubuntu.com/community/Re...licateWubiDisk
Support threads should be posted in normal forums.
Thank you.
I prefer following version:
(Assuming target size is 10GiB=2621440x4KiB)
Neither dd nor resize2fs, alone, changes the size of the image , so the concatenation part is mandatory.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
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.
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 mersync -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
Why do I have to switch the disk names? if they're copied then they should be identical, right?
Grub boots by searching for a file on any partition named /ubuntu/disks/root.disk. It loads the boot menu directly from inside this file (/boot/grub/grub.cfg), and this boot menu also directly refers to it by name (and partition). By switching the disk names it will naturally start using the new copy. If you don't, it will just keep booting the old one.
Bookmarks