copied wubi root.disk to another drive what changes should I do in grub
Tapas Mishra
mightydreams at gmail.com
Mon Oct 24 03:09:32 UTC 2011
On Mon, Oct 24, 2011 at 12:15 AM, Ioannis Vranos
<ioannis.vranos at gmail.com> wrote:
> On Sun, Oct 23, 2011 at 11:23 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
>> Ok I did some hit and trial and then bootinfo script gave following
>> http://paste.ubuntu.com/716700/
>> Above is result of bootinfo script.
>>
>> I had copied my ubuntu folder from /dev/sda2 to /dev/sda5 so I made
>> corresponding change in grub.cfg
>>
>> replaced uuid
>>
>> E4ACAFF5ACAFC082
>> by
>> 8E9E86339E86143D
>> but still upon reboot I got the following error
>>
>> file:\ubuntu\winboot\wubildr.mbr
>> Status: 0xc000000f
>> Selected entry could not be located because the application is missing
>> or corrupt
>>
>>
>> I digged further and found
>> and bcdedit command shows
>>
>> C:\Windows\system32>bcdedit
>>
>>
>> Real-mode Boot Sector
>> ---------------------
>> identifier {913c60b1-d90e-11e0-9e01-869473ab8036}
>> device partition=C:
>> path \ubuntu\winboot\wubildr.mbr
>> description Ubuntu
>>
>> Above is wrong as when I copied every thing from C: to D: so here
>> also the entries should change.
>> What possibly more do I need to do now? Apart from changing grub.cfg?
>
>
> Since wubi is about testing Ubuntu to just see how it looks like, I
> think it is time for you to move to a normal, dual boot (it means
> keeping windows installed), installation.
>
>
> --
Ok I have been able to fix this.Here are a few helpful links.
http://askubuntu.com/questions/70783/move-a-wubi-installation-to-another-partition
http://askubuntu.com/questions/56726/can-i-copy-my-wubi-install-between-machines
It is not as straight forward as I thought.
Create a folder C:\ubuntu\winboot and place wubildr.mbr in it and then
fix the bcd entry using easybcd.As shown here.
http://www.howtogeek.com/howto/20340/how-to-restore-the-wubi-ubuntu-bootloader/
Since I had copied my entire C:\ubuntu folder to D:\ubuntu so winboot
folder also had moved away and that was what was creating problem on
stage 1.
So in case some one wants to move Wubi install to a different machine
or a partition
1)Use bootinfo.sh and find out new location of root then edit grub
2) Windows boot loader can be edited by easybcd but the
C:\ubuntu\winboot folder must be present for windows boot loader to
give you access to grub2 and then
corresponding Ubuntu finding the identifier string for bcdedit is why
you need easybcd so suppose you want to have
D:\ubuntu\winboot and then boot from there then what is the identifier
string for D: drive that you will know only via easybcd otherwise just
keep corresponding winboot in C:\ubuntu only
More information about the ubuntu-users
mailing list