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

    • Get 1-year and $60 of Sam's Club value for just $15 with Auto-renew by Steven Parker Become a Sam's Club Member Now! Shop Premium-Quality Products and Enjoy Incredible Perks, and Savings. Today's highlighted deal comes via our Gift Cards section of the Neowin Deals store, where for only a limited time, you can save 75% off a Sam's Club 1 Year Membership with Auto-Renew. Sam’s Club is a membership warehouse club, a limited-item business model that offers members quality products at an exceptional value unmatched by traditional retail. From groceries and kitchen supplies to electronics and furniture, Sam's Club has great deals on the items you want! By redeeming and signing up as a member, you'll be paying just $20 for a 1 year Sam's Club membership (normally $50.) You'll receive a complimentary household card for more savings from already low-priced items. Sign up now and save money on all your food and decor. Find great deals on groceries, kitchen supplies, electronic, furniture & more Get discounts on hotels, rental car, live events, attractions, movies, & more Save up to 60% on hotel accommodations around the world Get a complimentary household card for more savings from already low-priced items Although it was published quite some time ago, Sam's Club members can enjoy discounts like this. Important Details For a physical membership card after online membership registration, present your phone number or email along with a valid ID at Sam’s Club Membership Services in any US Sam's Club location to have your membership card printed. This membership offer is only available to new Sam's Club members in the USA. It is not valid for membership renewals, for those with a current membership, or those who were Sam’s Club members less than 6 months prior to the current date. To check your renewal date, please check your billing statement or your online account, or chat with an associate. Promotion code is non-transferable Offer valid for new Sam’s Club members only; not valid for membership renewals, for those with a current membership, or those who were Sam’s Club members less than 6 months prior to the current date. Auto Renew: By accepting this offer, you authorize annual recurring charges to any card on file for your Sam's Club membership fee(s) plus any applicable taxes at then-current rate every year until you cancel. Current rates, which may change, are $50 for Club level and $110 for Plus level. Visit SamsClub.com or a club or call 1-888-746-7726 for full terms or to cancel auto-renewal. Valid at over 597 U.S. Sam’s Club locations. Find a location near you. Redemption deadline: redeem your code within 30 days of purchase Access options: desktop & mobile Membership MUST be activated within 30 days Membership expires 1 YEAR from the date the Sam's Club membership is activated Limit 1 per person, may buy 1 additional as gift This Sam's Club 1 Year Membership normally costs $60, but can now be yours for just $15, for a limited time, that's a saving of $45 (70%) off! For specifications, and terms, please click the link below. Get 1-year of Sam's Club with Auto-renew for just $15 (was $60) This deal is only available to U.S. residents. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • Microsoft, why can't I just turn off Copilot on my MS account (in order to stop OneDrive from wanting to summarize everything, ahem) in a way that doesn't break OneNote instead?
    • If we can't agree on a baseline of reality then there is no point in talking. Its a waste of time.
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • 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
  • Popular Contributors

    1. 1
      +primortal
      589
    2. 2
      +Edouard
      190
    3. 3
      PsYcHoKiLLa
      80
    4. 4
      Michael Scrip
      77
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!