First off, thanks for your reply! Really appreciate the help.
Originally Posted by
bcbc
You'll need to migrate using a live CD/USB i.e. boot from an Ubuntu CD/USB, select "Try Ubuntu" and then download the script and use the --root-disk= option.
I didnt understand. Download what script?
Originally Posted by
bcbc
Since you'll be overwriting (and formatting) the partition that contains your current Wubi install, you won't be able to keep it as well as test the migrated install. You'll need to uninstall Wubi prior to migrating. So you must make sure you copy the virtual disk (root.disk) before uninstalling. Note: in some cases there may be other virtual disks - to be safe, copy the entire \ubuntu\disks directory to a safe place either your C: drive, or an external drive. Call it e.g. C:\wubidisks\ or something different than \ubuntu because Wubi (when it boots) looks specifically for this named folder.
So, if I uninstall wubi, would I still be able to boot to windows? I know this might be a silly question. Since wubi installs with its bootloader, and when I uninstall wubi, the bootloader will also get uninstalled; so, is there a chance that there is no bootloader after uninstalling wubi?
Originally Posted by
bcbc
So... here are some example steps (assuming your C: partition is /dev/sda2 and your target partition is /dev/sda5):
1. Copy \ubuntu\disks\ to C:\wubidisks (make sure all the .disk files are copied)
2. Uninstall Wubi
3. Boot from a live CD
4. Format your target partition to 'ext4' using GParted. Prepare a swap partition if required
5. Mount the C: partition (e.g. if it's /dev/sda2)
Code:
sudo mount /dev/sda2 /mnt
I know this does not need to be asked, but I'm just curious; why do I need to mount C drive?
Originally Posted by
bcbc
5. Download the script and run:
Code:
sudo bash wubi-move-2.1.sh --root-disk=/mnt/wubidisks/root.disk /dev/sda5
So... not entirely simple, but probably a lot less work than reinstalling from scratch.
I didn't mention backups, but whenever you partition you should make sure you have up to date backups, and also you should make sure important data on the root.disk is backed up always.
I made up some partitions for the examples above - if you need instructions for specific partitions, let me know. Also, the root.disk migration is not for grub-legacy (this only applies to those people who installed Wubi prior to release 9.10 and upgraded).
The partition on which I want to install ubuntu is /sda2. And, I am planning to make another partition /sda3 for swap memory. For that, would I need to mount the swap partition using GParted before making it the swap partition?
Ok, so here are the steps I am going to do. Please correct if required:
1.Copy the /ubuntu/disks folder to C:\wubidisks\
2.Uninstall wubi
3.Download ubuntu and boot from USB(because I am using netbook, and it does not have CD drive) by following the instructions here.
4. Format /sda2 to 'ext4' using GParted. Prepare a swap partition /sda3. (Should I do the second part in windows itself? Using disk management?)
5. Mount the /sda1 (C:\, where windows is installed, right?) partition
Code:
sudo mount /dev/sda1 /mnt
6. Download the (what?) script and run:
Code:
sudo bash wubi-move-2.1.sh --root-disk=/mnt/wubidisks/root.disk /dev/sda2 /dev/sda3 (for swap partition)
7.Shut Down and remove USB.
8.Start the computer, and hopefully it wil have dual boot with windows and ubuntu, !
Thanks again!
Please reply "yes" if all steps are right.
Bookmarks