Friday, January 30, 2009

WUBI - Ubuntu won't boot; missing root.disk

Did this ever happen to you? It sucks right? You simply wished 'you should have installed natively (the old way)'.

So your Ubuntu won't boot because root.disk is missing, then you check out c:\ubuntu\disks, it's not there. (And probably, disks directory is not even accessible or is missing too.) o_O

So what happened? Your NTFS filesytem got corrupted because on many reasons -- primarily, you might had a power interruption.

Is it lost then? I'm not sure but let's hope it didn't. You can try to recover root.disk by following this steps:
1. Run command prompt as Administrator -- needless to say, 'Enter your password'.

2. Run Check Disk by typing: chkdsk c: /f (change C: to your local disk drive)
NOTE: There's a big change that a message will show.
Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
Just type Y and restart you PC immediately.

3. After it finished checking (and possibly, repairing) your disk, make sure to show your hidden files.

4. Look for your (onced missing) root.disk under c:\found.000 directory and put it back to c:\ubuntu\disks\.
NOTE: Your swap.disk could also be inside found.000.

Now, try to reboot your Windows and choose Ubuntu then hope that the recovered file is intact and not corrupted. ;)

7 comments:

Brad said...

I realize this post is WAY over a year old, but thank you!

I've been trying to rescue some data off an old laptop's missing root.disk for some time now and this did the trick.

I managed to get at the data with a mount -o loop root.disk /vdisk and now all is well.

So thanks again, I couldn't be more thrilled.

creek23 said...

@bosco87: glad to have helped.

gerardg said...

Thanks for your solution. I posted this problem on a special Ubuntu forum and got the wrong answers. Yours put me in the exact direction. See https://answers.launchpad.net/ubuntu/+source/grub2/+question/164926

Anonymous said...

Thank you so much! Worked like a charm ! :)

creek23 said...

This post is more than 2 years and it still helps people. Cool. :)

Anonymous said...

You saved my life my friend.

I did have trouble copying from found.000 under Vista 7 due to permissions and the fact that specifically root.disk was "write protected" and would not copy to c:/ubuntu/disks so what I did was I simply renamed found.000 to ubuntu and the other dir to disks and it woulrked.

Thanks again.

creek23 said...

You're welcome.

Your comment is informative as well. Hope you don't mind if I update the article with your tip. ;)