LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-03-2004, 08:03 PM   #1
pushku
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
GRUB help


Hello

I have a laptop that came with WinXP Pro. I recently formatted 2 partitions which contained RedHat Linux, and the SWAPSPACE. Normally the boot-up screen would go to GRUB and have the option to choose from booting Red Hat or DOS (WinXP).

Now that I have formatted those 2 partitions, it does not boot up WindowsXP automatically. It only goes to the GRUB prompt? It goes to

GRUB>

There are command lines which I'm really confused with.
What should I do? I'm worried that I lost all my information in WINXP.

Thank you


Please help
 
Old 03-03-2004, 08:11 PM   #2
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
What did you use to format?
MS fdisk, Linux fdisk, redhat setup disk druid?
If you need your WinXP back ASAP, try booting to a recovery console with the XP cd and then running fixmbr. That will reset the boot loader to ntldr.
If your partition is screwed, don't fear, it's easy to recover with the right software - unless you did a full format and installed Linux over the Windows partition.
I had a "GRUB>" problem before and it turned out to be a problem with my RAID IDE controller and a hard drive. Incompatible hardware may be the problem.

Good Luck
 
Old 03-03-2004, 09:57 PM   #3
pushku
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I used Partition Magic , I forgot from which company. It runs on WinXP. So what is it exactly that I should get? A WinXP Bootable CD? I tried that, and it tries to install a new WinXP. I didnt continue from the initial screen because I was scared that will already format. I also cannot use a boot disk because my laptop doesnt have a disk drive.

I dont think I put Linux over my windows or vice-versa, because i had those two on different partitions to begin with. My linux worked before, i just wanted to get rid of it and put Mandrake Linux instead of RedHat.

What should I do?

Thanks a lot
 
Old 03-03-2004, 10:30 PM   #4
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
let the winxp installation disk boot up, right before you install it (but after the user license agreement) it should give you an option "Press R for Recovery Console" or something similar to that. Then you'll have to log in to the windows installation with the admin password and run fixmbr.
 
Old 03-04-2004, 11:48 AM   #5
pushku
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I got into the recovery console for Windows and I ran fixmbr. But I didn't choose to continue on fixmbr because it said it might damage the partitions, do you want to continue? I choose no. Should I choose yes?

Sorry, I'm just very scared because I dont know whats going on.


Thanks a lot
 
Old 03-04-2004, 12:25 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you can get to the grub prompt try typing in
Code:
root (hd0,0)
and it should answer
Filesystem type unknown, partition type 0x7
then type
Code:
chainloader +1
boot
That should get you into Windows and you should be able to fix your bootloader. I don't know how to do that and I've no intention of learning. Good luck
 
Old 03-04-2004, 01:40 PM   #7
pushku
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
When I typed in

root (hd0.0)

it came out : Filesystem type unknown, partition type 0x12


Then I typed in

chainloader +1
boot

I think then it went to try to boot to Windows , but I ended up getting a Hard Drive error Blue screen.


Should I just use the "fixmbr" from before ?

Thanks
 
Old 03-04-2004, 01:44 PM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Yea... Use the recovery console from the Xp disk.... It won't or rather shouldn't screw up your partition tables.
 
Old 03-04-2004, 11:30 PM   #9
pushku
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, it works normal now.

I'm thinking of installing Linux onto Microsoft Virtual PC. Has anyone ever tried that?

I've tried installing different type of Linux on new partitions and they always seem to get stuck booting up. So I want to try if this will work.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration