LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-31-2009, 04:00 AM   #1
natefp
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Exclamation GRUB Error 22 - dual boot, my bad.


Alright, so after doing a bit of research I realized that just because I wanted to uninstall linux (mint) from my HD, deleting the entire partition was not the way to go. My bad. However, I would still like to use my computer seeing as it's a rather inconvenient paperweight. (although the mouse isn't so bad)

As of now I am downloading the Knoppix v xxxxxCD.iso to my mac, and I am going to burn it to a DVD, load it into my HP, and boot from that. Now after reading several posts concerning Error 22, I'm still a bit confused. I am only trying to repair my windoze (vista x64) for the moment, and after I know I haven't destroyed my computer, I'll re-install linux. I'm not sure which commands to enter to simply fix windoze and not do anything with my big blank partition (which is unspecified, not free) until I can stop thinking "oh my god, I've killed it, oh my god" over and over again.

Thanks for any help

PS: I'm mostly a newb when it comes to computers, however if for some reason it's easier to fill that unspecified partition with knoppix, let me know. I've got my homework saved on my computer. Due tomorrow. My professor already hates me.

Last edited by natefp; 08-31-2009 at 04:03 AM. Reason: wanted to add an icon. I'm nerdy like that.
 
Old 08-31-2009, 04:59 AM   #2
natefp
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Oh, and I don't have access to the vista boot cd. I'm assuming that it came with the computer, but it is most likely at my parents house.
 
Old 08-31-2009, 05:11 AM   #3
and235100
LQ Newbie
 
Registered: Feb 2007
Distribution: SuSE 11.1/11.0, Fedora, RHEL
Posts: 24

Rep: Reputation: 16
The general rule of thumb with dual boot systems is to delete the linux partition(s) last - always remove grub (or lilo, or whatever bootloader you are using) first.

What you really need to do is run fixmbr from recovery console off of a windows XP CD. But - this would stop Vista from booting. The real solution in your current situation would be to get hold of a Vista DVD, and run the startup repair option. (boot from the DVD, and select the appropriate option).
As you say that you cannot get hold of a Vista DVD, then I would suggest purchasing a OEM copy of Vista from Amazon, and using that to repair your installation. Other boot CD options, such as WinPE or the Ultimate Boot CD are based on XP, so are unlikely to be any help to you.

Last edited by and235100; 08-31-2009 at 05:13 AM.
 
Old 08-31-2009, 05:26 AM   #4
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
You could reinstall Linux which would give you a new grub so that you can boot Windows Vista. Then you can use the info from microsoft on how to restore what is needed to boot into Windows. That will leave you with Linux on the computer which you can later remove with your Knoppix CD.

Here is the bit on restoring the MBR for Vista from the command line in Vista.

http://support.microsoft.com/kb/919529
 
Old 08-31-2009, 05:41 AM   #5
natefp
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
alright, the knoppix liveCD didn't work for some reason. It would go through the starting screen, load without any problems, but when the desktop should have come up, it just stayed black. So now I'm giving the Ubuntu x64 .iso a try..... so now I'm at the ubuntu splash screen - will I be able to repair it while running as a liveCD, or should I just go ahead and install it and work from there?

thanks for the help so far
 
Old 08-31-2009, 05:44 AM   #6
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Meanwhile, about the homework: If it is in a document format, you can get at it with Knoppix. Boot in Knoppix and mount the Windows partition. You can then copy the document to an external drive of some kind like a thumb drive an hopefully use it on your mac. If you need to print it, you might be able to do that from Knoppix. Or if you can get online with Knoppix, maybe you can send it somewhere and pick it up on another computer.

If Knoppix doesn't automount the Windows partition for you, you can do that with:

mount -t ntfs /dev/sda1 /mnt

Then you can search around /mnt for where your document is and copy it from there. In XP it was in something like Document Settings\username...
 
Old 08-31-2009, 05:45 AM   #7
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Quote:
Originally Posted by natefp View Post
alright, the knoppix liveCD didn't work for some reason. It would go through the starting screen, load without any problems, but when the desktop should have come up, it just stayed black. So now I'm giving the Ubuntu x64 .iso a try..... so now I'm at the ubuntu splash screen - will I be able to repair it while running as a liveCD, or should I just go ahead and install it and work from there?

thanks for the help so far
You cannot repair it with Linux. You should install and then boot Vista and run what microsoft says from Vista. Good luck

Edit: Or better yet, just leave Linux on there. :-) It will grow on you.
 
Old 08-31-2009, 05:51 AM   #8
natefp
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hmmm.... I'm getting a black screen with ubuntu as well. I clicked install, and it loads, then goes into this riveting black screen. Could it have to do with my video card? I updated the driver yesterday. nvidia geforce 9600 GT running 2 monitors.

Thanks for the homework idea, but unfortunately it was a .psd file. Maybe I could rip it out anyways and just email it to myself. But, need to get rid of this black screen first.

EDIT: ran as liveCD in graphic safe mode and it works. I'll try the same for the install.

Last edited by natefp; 08-31-2009 at 05:56 AM. Reason: EDIT
 
  


Reply

Tags
boot, dual, error, grub, knoppix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Error 21 Dual Boot. Urglor Linux - General 1 05-15-2009 10:34 PM
Ubuntu Drive Bad, Can't get XP to boot (Grub Error) mikef77z Ubuntu 9 04-20-2009 08:07 PM
Grub Error 21 trying to dual boot THEembodyment Ubuntu 3 08-04-2007 09:00 PM
Grub error 18 on dual boot SpartacusJones Ubuntu 9 06-28-2007 09:56 PM
GRUB dual boot Error 13 Steve Riley Fedora 4 01-25-2007 02:23 PM


All times are GMT -5. The time now is 10:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration