LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2003, 04:05 PM   #1
Netrack
Member
 
Registered: Dec 2002
Posts: 57

Rep: Reputation: 15
oopsie


well windows desided to die, and i reinstalled it without thinking, well now i lost GRUB how can i get back into linux, and i dont have a startup disk... im using rh8

thx
 
Old 05-18-2003, 04:09 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Put CD1 in the drive. At the boot: prompt type "linux rescue". once booted into rescue mode type:
/sbin/grub-install /dev/hda

This is assuming you want grub installed on the MBR of hda.
 
Old 05-18-2003, 04:25 PM   #3
Netrack
Member
 
Registered: Dec 2002
Posts: 57

Original Poster
Rep: Reputation: 15
when i type linux restore, it goes through all the stuff and says it finds my OS and then saves it some where, when it finishes, i type in what you told me to and it says it cant find the file
 
Old 05-18-2003, 04:48 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Did your really type 'linux restore'? Did you specify the whole path to grub-install?(i.e. /sbin/grub-install)
 
Old 05-18-2003, 04:54 PM   #5
Netrack
Member
 
Registered: Dec 2002
Posts: 57

Original Poster
Rep: Reputation: 15
do you have to use " around linux restore?
 
Old 05-18-2003, 05:08 PM   #6
Netrack
Member
 
Registered: Dec 2002
Posts: 57

Original Poster
Rep: Reputation: 15
ok i tried again this is whats happening,

i type linux restore

i selceted US and english

then it runs through and sends me out to i think shell

and says this

"Your system is mounte /mnt/sysimage

After you exit your system will reboot

-/bin/sh-2.05b#/"

is that where i type /sbin.....
 
Old 05-18-2003, 05:12 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
/mnt/sysimage/sbin/...

That's the full path.

Cool
 
Old 05-18-2003, 06:09 PM   #8
Netrack
Member
 
Registered: Dec 2002
Posts: 57

Original Poster
Rep: Reputation: 15
ok i got into linux, via boot disk " i found it " how do i re install grub
 
Old 05-18-2003, 07:20 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
Originally posted by david_ross
At the boot: prompt type "linux rescue".
Its "linux rescue" not "linux restore" and no you do not use the quotation marks.
 
Old 05-18-2003, 09:07 PM   #10
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
What I used to do is after you system gets mounted under /mnt/sysimage do a 'chroot /mnt/sysimage' then do '/sbin/grub-install /dev/hda' as you were instructed in the first post.....

reboot, and you should be golden.

If you don't want to chroot then you have to cd to /mnt/sysimage then do ./sbin/grub-install yadda yadda

Another thought...sometimes grub-install is in /usr/sbin

Last edited by bulliver; 05-18-2003 at 09:09 PM.
 
  


Reply


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




All times are GMT -5. The time now is 11:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration