Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-04-2007, 09:18 PM   #1
Baseband Member
 
Join Date: Aug 2007
Posts: 28
Default Linux and GRUB

ok so i loaded linux ubuntu. so after trying it out, restarting, using GRUB to boot windows vista, i screwed with the partitions a little bit, not knowing what i was doing. once i was done that, i restarted my computer, and a black screen comes up saying


GRUB loading, please wait...
Error 22


and now i cant boot anything off my computer (well yea i can still boot from a cd, but that wont do me much good). it just sits at this black screen. what happened and how do i fix it? (im using my other computer now)
__________________

kjosel13 is offline   Reply With Quote
Old 11-04-2007, 09:23 PM   #2
Daemon Poster
 
Istonian's Avatar
 
Join Date: Jan 2007
Posts: 1,469
Send a message via AIM to Istonian Send a message via MSN to Istonian
Default Re: Linux and GRUB

You might have to reinstall either windows or ubuntu to fix that. Since you have messed with the partitions it may not be able to boot.
__________________

__________________
Linux > Windows
Istonian is offline   Reply With Quote
Old 11-04-2007, 09:29 PM   #3
Baseband Member
 
Join Date: Aug 2007
Posts: 28
Default Re: Linux and GRUB

well i bought my computer from circuit city so i dont have a windows vista disc. are there any other options besides buying windows vista or getting it by... other means ?
kjosel13 is offline   Reply With Quote
Old 11-04-2007, 09:29 PM   #4
Fully Optimized
 
cavemangrinder's Avatar
 
Join Date: Oct 2007
Location: USA
Posts: 1,540
Default Re: Linux and GRUB

I had the same problem when I tried uninstalling ubuntu and reinstall windows 98. I didn't have much luck, but I just went ahead and reinstalled linux again and it worked fine. I know it doesn't help much with your problem but I thought I'd throw in my 2 cents.
cavemangrinder is offline   Reply With Quote
Old 11-04-2007, 09:33 PM   #5
Baseband Member
 
Join Date: Aug 2007
Posts: 28
Default Re: Linux and GRUB

but the thing is i didnt touch the main partition, which is the C: drive (the one with vista on it) so shouldnt i be able to boot from that and then jus get rid of linux?
kjosel13 is offline   Reply With Quote
Old 11-04-2007, 10:01 PM   #6
Fully Optimized
 
cavemangrinder's Avatar
 
Join Date: Oct 2007
Location: USA
Posts: 1,540
Default Re: Linux and GRUB

I got the exact same error message, but the only difference is that I installed ubuntu to the entire hard drive. I even deleted all partitions and tried installing windows 98 on the hdd multiple times but the message kept coming up.

I think it has something to do with the linux partitions, they are different then windows (C:/ or D:/). I havent figured a solution yet but I will let you know if I get it fixed.
cavemangrinder is offline   Reply With Quote
Old 11-04-2007, 11:33 PM   #7
88
Fully Optimized
 
88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to 88
Default Re: Linux and GRUB

I don't know if it's the same for Vista but for XP to fix that error, boot off your windows disc and go to the command line prompt (Repair).

then you need to type CD .. to get to the C:/ directory

then type fixboot C:

then bootcfg /rebuild

then exit and restart the computer as normal (without the boot CD)
__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lsung!
88 is offline   Reply With Quote
Old 11-05-2007, 01:52 AM   #8
Golden Master
 
mammikoura's Avatar
 
Join Date: Jul 2005
Posts: 7,459
Send a message via MSN to mammikoura
Default Re: Linux and GRUB

^^ that should work.
What you probably did was that you screwed up grub and most likely the whole linux partition. But vista should be fine if you didn't touch that partition, the reason why you can't boot is because grub overwrites MBR and since grub is broken you can't use it to boot.

And if D88's instructions don't work you could just reinstall grub.
__________________
0_o
mammikoura is offline   Reply With Quote
Old 11-05-2007, 03:47 AM   #9
BSOD
 
Join Date: Apr 2005
Posts: 6,556
Send a message via MSN to Rudster816
Default Re: Linux and GRUB

what D88 said will work, i had that problem because i installed GRUB on the later half of 123gb and my BIOS doesnt support large HDD's so i had to do that. booted straight into XP and i formatted all my linux partitons and i was done.

now im dual boothing vista and xp, havent had to boot into xp since installing vista though, no issues what so ever. although i havent tried to OC my video card yet, i think i may have problems there
Rudster816 is offline   Reply With Quote
Old 11-05-2007, 03:51 AM   #10
Site Team
 
Lowndsey's Avatar
 
Join Date: Sep 2007
Posts: 3,607
Default Re: Linux and GRUB

the fixmbr command has always to worked for me
__________________

Lowndsey is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:51 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0