I tried to move my WUBI installation according to this: Move WUBI installation of Ubuntu to a different partition in Windows. But when I boot Ubuntu, it can't find the root.disk file. Is there any way to restore it? I have Ubuntu 12.10. Please help.
Do you have a copy of the original root.disk in a safe place? If not restore the original file from Windows backup and keep in a safe place.
- Uninstall Ubuntu from control panel.
- Reinstall using WUBI using exactly the same specifications as the original.
- Reboot to Ubuntu and check that Ubuntu boots correctly.
- Reboot to Windows and copy the original from the safe place to the
boot location, such as
- Reboot to Ubuntu.
One more step
See https://askubuntu.com/a/55029/14916 for details (Thanks to bcbc for pointing out this part.) The following is taken from that answer:
Assuming Ubuntu is being moved from
C: and if
/dev/sda1, then you'd hit 'e' on the first entry of the grub menu and change:
set root=(hd0,2) becomes
Delete the line -
search --no-floppy xxx (as this overrides the previous set root command using the old UUID)
linux /boot/vmlinuz-xxxx root=/dev/sda2 ... becomes
linux /boot/vmlinuz-xxx root=/dev/sda1 ...
This is a one-time override - hit Ctrl+X to boot, and make sure you run
sudo update-grub after booting to fix the grub.cfg menu so it works the next time.
PS: There may be some variations.
(hd0,2) could be
(hd0, msdos2) or
(/dev/sda, msdos2) depending on the version of Grub. Also
root=/dev/sda2 may be
Hope this helps