LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   oopsie (https://www.linuxquestions.org/questions/linux-newbie-8/oopsie-60510/)

Netrack 05-18-2003 03:05 PM

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

david_ross 05-18-2003 03:09 PM

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.

Netrack 05-18-2003 03:25 PM

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

Crashed_Again 05-18-2003 03:48 PM

Did your really type 'linux restore'? Did you specify the whole path to grub-install?(i.e. /sbin/grub-install)

Netrack 05-18-2003 03:54 PM

do you have to use " around linux restore?

Netrack 05-18-2003 04:08 PM

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.....

MasterC 05-18-2003 04:12 PM

/mnt/sysimage/sbin/...

That's the full path.

Cool

Netrack 05-18-2003 05:09 PM

ok i got into linux, via boot disk " i found it " how do i re install grub

Crashed_Again 05-18-2003 06:20 PM

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.

bulliver 05-18-2003 08:07 PM

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


All times are GMT -5. The time now is 06:15 AM.