PDA

View Full Version : [wubi] resurrecting a wubi installation



glennharm
October 29th, 2010, 04:46 AM
Hi,

I had ubuntu running in wubi just fine for several weeks.

I had to do some system reconfiguration which forced me to re-initialize the whole drive that wubi was installed in.

I saved the whole \ubuntu directory thinking I could just re-install wubi, rename the new ubuntu directory, copy in the old ubuntu directory in it's place and life would be good.

Not so.

I found an article which seemed to cover this sort of scenario so I tried the following:
- Installed wubi
- Made sure it booted
- Didn't complete the installation--rebooted to windows
- Replaced just the root.disk file from the old installation, overwriting the newly created root.disk file.
- Booted wubi
- I get the grub menu, then after that I get the following error message:



error: no such device: 3d2ad2c672a636db.
error: file not found.
ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell!

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
enter 'help' for a list of built-in commands.
(initramfs)




Any thoughts on how I can resurrect my existing wubi installation?


Thanks!

bcbc
October 29th, 2010, 06:45 AM
when you see the grub menu, hit 'e'. Delete the line with the search command - it refers to a uuid on the old partition. Then hit CTRL+X to boot.

As long as the ubuntu folder is on the same partition, it should boot. If you changed the partition when you reformatted, then you'll need to figure out which one and change it (i.e. references to (hd0,2) or (hd0,msdos2) and /dev/sda2).

I've moved Ubuntu the root.disk around a lot - you can boot it direct from a grub prompt provided you know where it is (which partition). So it's likely just a little effort to get it to work. Once booted, run "sudo update-grub" to regenerate the grub menu.

glennharm
October 29th, 2010, 03:16 PM
Thanks much, bcbc!

Worked like a champ!

I did notice one oddity that I don't believe I saw before and that is about a 3-4 second lag between when I hit enter on the boot entry and when I can actually see ubuntu starting.

megatronous
December 14th, 2010, 12:55 PM
alll thought the above problem solved my issue now ....when i booted my pc again after this solution......my screen had gone blank ....and i am not even able to see bios page....in the start ...the monitior just stays blank..................i have even tried disconnectiong my hard disk but still not able to get the display......solution required ....urgently.....

oldfred
December 14th, 2010, 10:04 PM
Did you install grub to the MBR. You still need to boot windows with wubi as it uses windows to boot first then loads grub.

how to fix those Wubi installation breakages without going crazy Rubi1200 Dec 2010
http://ubuntuforums.org/showthread.php?t=1639198

megatronous
December 15th, 2010, 07:06 AM
thanks for the reply.......neways but i found tht my monitor is blown......pc is working on other monitor..