LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-19-2008, 03:46 PM   #1
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Rep: Reputation: 0
Unhappy Grub prompt help required


hi all

am a newbie in linux
i hav 2 hdds (1 is IDE with Win XP loaded; other is SATA on which i am trying to install RHEL4.0)
I AM NOT ABLE TO EVEN BOOT MY WINXP NOW!!!
whenever i boot frm either HDs it is the same annoying grub prompt.

I had made manual partitions of Linux on SATA HD as:
/ (root)=6gb
/boot=500mb
swap= twice ram

i chose to install grub on 1st sector of SATA but same error
then i chose to install grub on MBR(which it was SADLY by default XP's MBR)--> same error

but after final reboot, it is giving me a grub prompt
ALL I WANT i just my XP back;
i tried reparing XP (which had workd earlier) but no use now
i tried giving Fixmbr cmd at recovery console but it said it will render my remaining drives in-accessible

can anyone also throw more light on how to use Live CD to cure this problem?

GOOGLED A LOTTTTTTTTTT but helpless

PLEASE PLEASE HELP ME!!! I M A NEWCOMER IN LINUX

thanks
 
Old 03-19-2008, 04:50 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Change the BIOS so that the XP disk is the first disk in the boot sequence.
Reboot from the XP CD and run the fixmbr - ignore the messages, they are rubbish.
Reboot and check XP is still ok.

Now to install RHEL;
Change the BIOS so that the S-ATA disk is the first disk in the boot sequence.
Reboot from the RHEL CD and redo the install - install grub to the MBR. This time it should go to the MBR of the S-ATA, and leave the IDE disk alone.
Reboot and check the Linux install. You should also be able to get to XP from grub, but Redhat have a poor record of implementing that when different disks are involved.
If it doesn't work post back here - it's easy to fix.
 
Old 03-22-2008, 08:40 AM   #3
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Question SuperGrub CD booting results!!!!

hi

when i burnd the iso image of Supergrub CD i downloaded & booted frm this CD, it showd me following options:

Menu
GRUB=>MBR & !LINUX! (1) AUTO ))
GRUB=>MBR & !LINUX! (>=2) MANUAL )))
!LINUX! (1) AUTO
!LINUX! (>=2) MANUAL
!WIN! (
WIN=>MBR & !WIN! (((((

when i select the Win option to boot, IT STARTS THE Win XP SETUP!!!!
IT DOES NOT TAKE ME TO MY ORIGINAL WINXP!!!!!
IN gRUB HELP it was written that it might fix the MBR (an equivalent of fixmbr command)
SO DOES THAT MEAN IT WILL FORMAT MY OLD WINXP? & I'LL LOSE MY PREVIOUS DATA & HAVE TO RE-INSTAL ALL APPLICATIONS AGAIN?

actually i freshly installed WIN2003 SRVR ON MY SATA HD & when i boot through Supergrub CD, & select the Win option, it TAKES ME STRAIGHT TO WIN2003 OS...............HOWZZ THAT????

BUT FOR XP IT TAKES TO THE SETUP....NOT MY PREV WORKING XP OS- HOWZZ THAT??
I HAD CREATED A RESTORE POINT FOR MY XP OS AS WELL AS USED THE WIN BACKUP WIZARD & TOOK A BACKUP OF EVERYTHING ON MY PC

BUT STILL I AM TRULY SCARED!!!!!
PLS HELP ME

THANKS AGAIN
 
Old 03-22-2008, 08:47 AM   #4
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Mbr For Rhel

now as i hav freshly loaded win2003 on my prim partition (20GB) of my sata hd,
DOES IT MEAN THAT MY BOOTLOADER FOR WIN2K3 IS ON MBR?
STILL THERE IS 17GB FREE SPACE ON MY 2K3 PRIM PARTITION,

THEN HOW ABOUT INSTALLING RHEL ON THE SAME PARTITION?
WHERE WILL ITS GRUB GET INSTALLD? ON THE SAME MBR???

COULD U EXPLAIN CLEARLY?
 
Old 03-22-2008, 10:57 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I will make a suggestion, if you are planning on running two different versions of windows and then different versions of linux and boot them individully you need to read this article. In this he explains a way to boot multiple windows OSes and linux and the reason he does it that way. You may also consider using a 'Virtual Machine' which I understand slows things down some. Anyway check this out and see if it answers your questions and if not ask again and I will try and help.

http://www.justlinux.com/forum/showt...hreadid=147959
 
Old 03-23-2008, 07:55 AM   #6
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Question unable to start XP at all

hi

when i booted from Supergrub CD yesterday, it prompted me to insert WinXP CD where it took me directly to the setup screen.
WHAT I THOUGHT
THAT MY XP WAS BEING FORMATTED/FRESHLY INSTALLD (INSTEAD OF BEING REPAIRED) SO I QUIT THE PROCESS (3 times)


1.Now Neither i can resume setup
THE MSG SAYS "SETUP IS BEING RESTARTED" (since i had quitted it ystrday)
& THEN THERE IS A BLACK SCREEN WITH A MOUSE POINTER--> FREEZE!!!


2.nor there is any result of FIXBOOT C:
IT SAYS THAT MY BOOT SECTOR WAS SUCCESSFULLY WRITTEN
BUT AFTER REBOOT AGAIN A BLACK SCREEN AFTER BOOTING FRM MY IDE HD

3.nor there is any result of FIXMBR
AFTER REBOOT A BLACK SCREEN AFTER BOOTING FRM MY IDE HD

4. XP IS NOT GOING IN SAFE MODE

I THINK I SHUD HAVE GONE AHEAD WITH SUPERGRUB CD PROCESS........

ITS NOT WORKING WITH SUPERGRUB CD/XP CD
WILL LIVE CD OR THE 5TH EXTRA DISK (the one we get with 4 Red Hat instln CDs) HELP?

pls guide me with the procedure..

thnks
 
Old 03-23-2008, 08:22 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
It sounds like you quit on your windows disk after it had started with a new install. If you have a live "linux" cd, boot it up and as root open terminal and enter 'fdisk -ls' and post the results here. Even if your windows is damaged you may be able to save alot of your files. Some of the later live distros are able to read ntfs files.

First you need to go into bios and make sure the 'cd drive' is first in the boot sequence.
 
Old 03-25-2008, 04:50 AM   #8
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
winxp not booting; nor do i see grub prompt

hi

i installd XP again but it said:
THERE IS ANOTHER INSTANCE OF THIS OS INSTALLD; CHOOSE ANOTHER FOLDER OR CONTINUE INSTALLN IN SAME FOLDER (C:\WINDOWS)

so i chose another folder; namd it WINXP.

i know my old xp is still alive, but i hav messed up a lot, not able to recover it.

however there is no grub prompt as well (since on my sata hd i installd fresh win2k3 from where i am writing to u.

i spent 1 whole day downloading iso image of a LiveCD through BitTorrent. (name:Userful LiveCD; which later i realised was not the correct one)
when i booted my pc thro' it, it showd some screens & then froze...blank screen
this happnd many times

i booted thro' supergrub cd & did the following:

grub>rootnoverify
grub>makeactive
grub>chainloader +1
grub>boot

but same msg after booting "Setup is being restarted...." black screen

i tried but couldnt edit /boot/grub/menu.lst


then i chose the menu, Un-instal Grub ; still no effect

pls tel me how do i get to edit grub.conf after booting thro' Supergrub/LiveCD?

Now i am downloading Freespire LiveCD which wil take 8 more hrs.

wil let u know

thnks

Last edited by swisschock; 03-25-2008 at 04:59 AM. Reason: additions
 
Old 03-25-2008, 05:04 AM   #9
swisschock
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry, i did

grub>rootnoverify hd(0,0)grub>makeactive
grub>chainloader +1
grub>boot
 
Old 03-25-2008, 08:01 AM   #10
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If there is a folder there it should give you the option to repair, if so choose this and at the option choose 'command prompt' and type 'FIXMBR' without the ' marks. You may be able to save the information you have on your windows partition. If that does not work try and install windows again and when it asks if you want to install in the same folder (the files will be overwritten) choose 'yes' or 'ok'. This will let the windows XP format the partition. This should get you back to where we can have windows then start working on getting linux installed.

Last edited by Larry Webb; 03-25-2008 at 08:03 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
correct grub.conf, reboot and cannot get grub prompt... sportivo888 Linux - Newbie 1 12-10-2007 11:47 PM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - Newbie 3 12-11-2005 08:26 PM
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 01:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 AM.

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