Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Installation Support => Topic started by: kyttycat on April 11, 2004, 12:07:31 AM

Title: can't log in into linux, dual boot system disappeared
Post by: kyttycat on April 11, 2004, 12:07:31 AM
I have windows NT in my PC.
I installed linux 9 afterwards.
Because of viruses I had to reinstall windows again.
Now the dual boot system option doesn't appear anymore when I start my computer.
It goes directly into windows.
How can I recover it so I have the option to log into linux again?

Thanks
Title: can't log in into linux, dual boot system disappeared
Post by: Ricky on April 11, 2004, 05:48:09 AM
What do you mean by linux 9 ? is that Redhat 9 OK
well.. boot your computer from redhat cd.. then type
Code: [Select]
linux rescue when it shows options.. the very first screen.
then follow steps for linux rescue and mount your system under /mnt/sysimage then . follow the instruction it is all there. Now execute following command..
Code: [Select]
/sbin/grub-install /dev/hda it should show now dual boot menu or reboot.
Title: can't log in into linux, dual boot system disappeared
Post by: kyttycat on April 12, 2004, 10:00:54 PM
Yes, I meant Red Hat 9.
I'll try what you suggested, thanks!!
Title: can't log in into linux, dual boot system disappeared
Post by: kyttycat on April 12, 2004, 10:46:41 PM
I tried what you said.
The linux rescue section went fine.
Everything was mounted under /mnt/sysimage.
Back in the command shell I put the command /sbin/grub-install   /dev/hda it said that the isn't a directory /sbin/grub-install.  I looked under /sbin and grub-install is there.

I don't understand.

What could be the problem?

Thanks again.
Title: can't log in into linux, dual boot system disappeared
Post by: Ricky on April 13, 2004, 07:46:35 AM
did u do
Code: [Select]
chroot /mnt/sysimage before runnnig /sbin/grub-install /dev/hda ?
Title: can't log in into linux, dual boot system disappeared
Post by: neo on April 16, 2004, 04:42:20 AM
This question is already answered here:
http://www.linuxsolved.com/forums/viewtopic.php?t=143
http://www.linuxsolved.com/forums/viewtopic.php?t=8