March 28, 2024, 10:30:15 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: can't log in into linux, dual boot system disappeared  (Read 7231 times)

Offline kyttycat

  • New Member
  • Posts: 3
can't log in into linux, dual boot system disappeared
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can't log in into linux, dual boot system disappeared
« Reply #1 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.

Offline kyttycat

  • New Member
  • Posts: 3
can't log in into linux, dual boot system disappeared
« Reply #2 on: April 12, 2004, 10:00:54 PM »
Yes, I meant Red Hat 9.
I'll try what you suggested, thanks!!

Offline kyttycat

  • New Member
  • Posts: 3
can't log in into linux, dual boot system disappeared
« Reply #3 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.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can't log in into linux, dual boot system disappeared
« Reply #4 on: April 13, 2004, 07:46:35 AM »
did u do
Code: [Select]
chroot /mnt/sysimage before runnnig /sbin/grub-install /dev/hda ?

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
can't log in into linux, dual boot system disappeared
« Reply #5 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