Grub error 22


Recommended Posts

I've just reproduced this with an Ubuntu live CD and it allows me to browse to the user home directory, read and copy the files with the ubuntu default permissions...

hmm...well, i didn't work for me! perhaps wubi is set up different on mine...i don't know!

If it doesn't allow you to read the files you could always run the file browser as root, by running the command:

"gksu nautilus"

Alternatively you can use terminal to copy your files by using the "cp" command. Do "man cp" to get more details on how the command works.

ok...thanks!

I cannot give you more details on how to fix your Wubi install than those that are available in the pages that I've referenced to you before. This issue never happened to me, so I wouldn't know how to go about fixing it. Maybe try to fscheck the other image "usr.disk", checking the boot options from grub, reinstalling grub. Just guesses here...

If I were you I would, after recovering my files, uninstall Wubi from Windows and make a fresh Ubuntu install using the Ubuntu CD.

alright...ok, cool! i'm currently working at getting the problem solved on ubuntu forums...hopefully someone can come up with a fix for the crc error...but if they don't, then i will indeed uninstall Wubi, and probably reinstall Ubuntu the conventional way, i.e. on a different partition, so i wont get the same problem again!

Thanks for all ur help! i really appreciate it!!

Cheers! :D

hmm...well, i didn't work for me! perhaps wubi is set up different on mine...i don't know!

No. Wubi has nothing to do with filesystem permission. Anyway, the solution was provided.

Just a quick question, have you by now managed to recover your files...?

alright...ok, cool! i'm currently working at getting the problem solved on ubuntu forums...hopefully someone can come up with a fix for the crc error...but if they don't, then i will indeed uninstall Wubi, and probably reinstall Ubuntu the conventional way, i.e. on a different partition, so i wont get the same problem again!

Thanks for all ur help! i really appreciate it!!

Good luck in doing that. Also may I ask why you would insist in recover instead of a 15min install of Ubuntu with the CD?

No. Wubi has nothing to do with filesystem permission. Anyway, the solution was provided.

Just a quick question, have you by now managed to recover your files...?

not yet, because i haven't yet tried it!!! :no: i've been doing other stuff on my computer, and so have not yet tried it!

Cheers, though! i WILL!

Good luck in doing that. Also may I ask why you would insist in recover instead of a 15min install of Ubuntu with the CD?

ok...two reasons! the first is simply because i have a feeling that this particular problem might happen again, even after a fresh install, and so i would really like to get a solution to the crc error, not just "uninstall and reinstall wubi", which is the kind of answer i've been getting all over...not just here! the second is, it seems lame to me that no one, it appears, has come up with a REAL solution to the problem, despite the fact that its a VERY common issue on wubi...and so i was hoping to prompt people to work on it, and actually SOLVE it, not just tell the users who it happens to: "just reinstall wubi"!!!

I hope this answers ur question, and if it doesn't, looking forward to hearing from u again...

Coolname007

P.S. i'll let u know whether or not the solution for getting my files out of ubuntu and into Windows works!!! Cheers! :D

and so i was hoping to prompt people to work on it, and actually SOLVE it, not just tell the users who it happens to: "just reinstall wubi"!!!

Well then the best solution for that is for you to make a bug report to the Wubi project, not go about asking people on a forum to fix it. There's limits to what those people can do.

P.S. i'll let u know whether or not the solution for getting my files out of ubuntu and into Windows works!!! Cheers! :D

You've already mounted the image, you just need to know how to copy your files. And that is already explained to you in previous posts.

Well then the best solution for that is for you to make a bug report to the Wubi project, not go about asking people on a forum to fix it. There's limits to what those people can do.

good idea!!! i'll probably do that as well!

You've already mounted the image, you just need to know how to copy your files. And that is already explained to you in previous posts.

uhh...lechio??? i wasn't asking a question when i said that...i was making a statement!!! of course i now know (thanks to u!) how to mount the partition, and also to copy files as root user...i was just simply saying that i would try it, and let u know if it worked or not!!!

which i will now proceed to go do now...

ok, lechio...it WORKED!!! now i have successfully backed up my files into Windows, and can discard wubi, if no one comes up with a fix to the crc error!

Thanks for all ur help!!! i have decided that i'm going to post here as well as other places the COMPLETE process of mounting a failed wubi system, using a LiveCD, and recovering ur files! no need for anyone else that has the same problem to have so much difficulty in mounting their OS, and recovering their files!

Cheers! :)

Ok...so here is the COMPLETE process of mounting ur Windows partition, using a Ubuntu Desktop CD (or any other LiveCD!), and recovering ur files:

sudo mkdir /win
sudo mount /dev/sda3 /win

Note: the “sda3” should be replaced (if not correct) with the correct partition that Windows is installed on! It was “sda3” in my case, and would probably be the same for most Vista users, but the person should check first to see if it is the correct partition. In my case, I had to automount the OS by going to Places>OS, and then opening up a terminal, ran “df” which showed me which partition the OS was on. If anyone wants to verify that I know what I’m talking about, here is the Wubi Guide, in which can be found the same basic instructions, only in it they advise u to use “sda1” (which didn’t work for me, as Windows was on sda3). It also doesn’t describe how to recover ur files…which is why I’m typing this right now!

Ok…time to mount the virtual disk!!!

sudo mkdir /vdisk 
sudo mount -o loop/win/ubuntu/disks/root.disk /vdisk

Now the content of the virtual disk can be viewed by simply opening up a file browser (Places>Computer>) and steering to the folder called “vdisk”, after first, of course, opening up the file system! Now simply (once inside of “vdisk”), go to “Home”, and there u will find all ur important documents and files stored neatly inside of there (that is, of course, if when u had ubuntu working ok, u saved ur work in ur Home folder!).

You can also try running a filesystem check (even though it didn’t fix the problem, in my case…who knows! Maybe you’ll have better luck!):

sudo fsck /win/ubuntu/disks/root.disk

For me, all this did was recovered a “journal”, after which it said that the disk was “clean”…but when I tried booting into ubuntu, I still got the same crc error! But u should still try running it, just to wrap up all loose ends, and to make sure that u did all that u could to fix the error!

Oh, and one more thing! Before u can copy ur files from ur ubuntu disk into Windows, or whatever ur main OS is, u will first have to run the following:

gksu nautilus

This command simply opens up the file browser as a root (administrator) user, so u can read and write the files that r therein! An alternative way to to copy files (using the Terminal) is:

cp

This is simply another method of copying!

Hope all this info helps somebody, and helps them to rescue their important files that r in their failed ubuntu! :)

Edited by Coolname007

Hey, thanks for taking the time to type up the process you went through, and hope this helps the next person that runs into the same problem. (Y)

Thanks, also, to Lechio, who had the perseverance to see this to a successful conclusion.

Hey, thanks for taking the time to type up the process you went through, and hope this helps the next person that runs into the same problem. (Y)

Thanks, also, to Lechio, who had the perseverance to see this to a successful conclusion.

no problem!!! :D

i'll second that thanks to Lechio...even though i think i already thanked him! hahaha (i'm sure it wouldn't hurt to thank him again!)

Thanks, lechio!!! :trout:

Edited by Coolname007
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I'd say the first one failed to be as popular as Apple anticipated, but the easy adjustment here is to make fewer of them next time around. It would only be a "flop" if it isn't possible for Apple to recover the design and factory tooling costs given the number of units sold, which I doubt would be the case. It isn't like no one bought them; it just failed to become the new hot phone of the year.
    • You're right that it does not follow the plain meaning of the word, but in this context, it is a legal term defined in 49 U.S.C. Kind of how "wire fraud" laws apply even if a physical wire was not used. Given that it is codified in law, and it isn't just automotive journalists that don't understand evolving technology, I highly doubt congress would change a well understood term just because technology makes the term slightly less actuate.
    • This is exactly why I keep saying we are not ready for human free self-driving. These little "bugs" are may seem like random one-offs. There was also the Waymo that drove between police with drawn weapons and the suspect they were pointing them at. From a software perspective it is easy to understand how those extremely rare situations may not have been programed for, but that is the point. If AI needs to be told to watch out for every possible contingency, then it can never be successful. There will always be the possibility of a first encounter that the AI needs to understand to avoid.
    • TeraCopy 4.0 Final by Razvan Serea TeraCopy is a compact program designed to copy and move files at the maximum possible speed, also providing you with a lot of features. Copy files faster. TeraCopy uses dynamically adjusted buffers to reduce seek times. Asynchronous copy speeds up file transfer between two physical hard drives. Pause and resume transfers. Pause copy process at any time to free up system resources and continue with a single click. Error recovery. In case of copy error, TeraCopy will try several times and in the worse case just skips the file, not terminating the entire transfer. Interactive file list. TeraCopy shows failed file transfers and lets you fix the problem and recopy only problem files. Shell integration. TeraCopy can completely replace Explorer copy and move functions, allowing you work with files as usual. TeraCopy is free for non-commercial use only. For commercial use you need to buy a license. The paid version of the program includes the following features: Copy/move to your favorite folders. Save reports as HTML and CSV files. Select files with the same extension/folder. Remove the selected files from the copy queue. Download: TeraCopy 4.0 | 14.6MB (Freeware, paid upgrade available) View: TeraCopy Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
    • First Post
      BizSAR earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      586
    2. 2
      +Edouard
      187
    3. 3
      Michael Scrip
      74
    4. 4
      PsYcHoKiLLa
      72
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!