LinuxQuestions.org
Visit Jeremy's Blog.
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 02-20-2004, 03:19 PM   #1
laclac01
Member
 
Registered: Feb 2004
Posts: 36

Rep: Reputation: 15
GRUB help


Trying to play around with grub and i guess i messed some stuff up. Can someone help me?
At start up i get:

GRUB loading stage2...

And it just sits there. It used to load, its RH7.3 the version of grub was 0.91 i think. It was a dual boot machine, the other os was XP. This is a small sony picture book so there is no floppy so i could not make a bootable floppy.

How can i get back to the way i was?

thanks
 
Old 02-20-2004, 04:41 PM   #2
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
hello, mate

IMPORTANT:
1)im assuming ur /boot directory is on hda6
2)try to get xosl and install it...its good to have an OS-independent bootloader




do this: pop in your redhat cdrom (disk 1), and boot off it (you have it, dont you :-o)..then, at the boot: prompt, type linux rescue

next, when all the processing is over, it will ask u whether u want the sysimage to be mounted..yes, of course you do..

next, when it drops you at the shell prompt, type mount /mnt/sysimage (or whatever the installation program told u to type to get to the mounted
image)

(IMPORTANT: ensure you have read the note at the beginning of this answer)

next, type:

grub

when grub boots up, type:

root (hd0,5)

next, type

setup (hd0,0) //NOTE: this will setup GRUB in the MBR!
...alternative: if u type setup (hd0,5), brub will go to the first sector of ur boot partition. then u can use Xosl or something to access this partion.

next, type
quit

and reboot
and pray

:-)
 
  


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 09:04 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