LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-13-2004, 01:43 AM   #1
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Rep: Reputation: 15
Emergency Help Needed Please!


ok guys heres the deal. i have a dual boot xp rh9 laptop. it uses grub to do the switch. when i boot the machine, the grub gui doesnt appear, it just shows a black screen with the text GRUB in the corner with a blinking cursor and does nothing else. no key strokes do anything.

i have my rh9 discs here. can someone tell me how to reinstall grub? I have 3 unix assignments on this machine that are due on tuesday! i need to get this machine back going. please help.
 
Old 09-13-2004, 01:56 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
to get into xp

rootnoverify (hd<tab>,<tab>)

The tabs will give you a list of hd0, hd1, etc... select the appropriate harddisk
the second tab after the comma will give you a list of partitions
select the one where xp resides
next give the command

chainloader +1
boot

To get into your linux

root (hd<tab>,<tab>)

select the appropriate disk and partition where your /boot resides
kernel /vmlinuz-<tab> root=LABEL=/ ro
initrd /initrd<tab>
boot

by now I am sure you know how to use tab ... select the most appropriate kernel and initrd files and boot.
 
Old 09-13-2004, 02:05 AM   #3
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Original Poster
Rep: Reputation: 15
wish i had some idea of what you were talking about. i have to admit im rather new. first unix class is only 2 weeks old at this point. i had put redhat on this machine during the summer to try it out , but cant say i got as advanced as you assume.
 
Old 09-13-2004, 02:42 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
when you are presented with the

grub>

prompt, you can type in the comands in the previous post.

If you want to get into rescue mode, insert CD1 from the RH9 distribution. At the boot: prompt, type linux rescue
follow the instructions till you reach the command prompt #

here, type chroot /mnt/sysimage

this will get you into your original linux installation.

from here, you can type the command

grub-install /dev/hdx where hdx can be hda or hdb

Once grub-install exits, you can type exit and reboot.

Last edited by ppuru; 09-13-2004 at 02:46 AM.
 
Old 09-13-2004, 03:03 AM   #5
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Original Poster
Rep: Reputation: 15
something must really be screwed. when i get the GRUB followed by a cursor, i cant type anything. nothing there works.

i can get into the rescue. it did the first half you were talking about on its own. i tried the command grub-install /dev/hda but got the error: /sbin/grub: Not Found.

felt close this time. thanks for the advice
 
Old 09-13-2004, 03:39 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
while in rescue mode, can you check whether the grub rpm exists

rpm -q grub

if you are able to run grub-install, the grub rpm should be installed... wonder why it does not find grub...

try to run grub from the rescue mode.

Last edited by ppuru; 09-13-2004 at 03:44 AM.
 
Old 09-13-2004, 12:20 PM   #7
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Original Poster
Rep: Reputation: 15
i was able to run grub from rescue. i do recall learning a bit about tabs so i tried to get into either os last night and it wasnt happening quickly so i bailed out for some sleep. ill play around some more right now.
 
  


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
Emergency !! Hampster Mandriva 4 10-31-2005 02:35 PM
Emergency help k1ll3r_x Linux - General 2 04-17-2005 07:32 PM
Emergency! Help needed... askjeffro General 4 05-31-2004 02:45 PM
Emergency Help Needed Rubicone Linux - Newbie 5 03-31-2002 01:56 AM
Emergency mikeyt_3333 Linux - General 4 08-26-2001 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:34 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