can't boot linux..
Hi guys,
I'd like your help in this... I had both windowsxp and linux installed on my computer, in different disk drives. windowsxp was under hda1 and linux under hdb1. I was switching between them by using grub. One day my windowsxp crashed... and had to install again. this unfortunately formatted my mbr and now i have no access to my linux partition. (I hadn't created a boot disk...!damn) Do you have any ideas how may i set grub or lilo up again, without changing my linux partition? Can I do anything from rescue mode (by booting from the installation cd)? Thanks in advance |
Boot rescue and try this command:
grub-install |
i tried grub-install /dev/hda
but i got the bash: /sbin/grub not found I checked sbin and it contained a few files for rescue mode. no grub or lilo. |
What is your distribution and release?
Installing a bootloader Multiboot with GRUB Mini-HOWTO Linux+Win9x+Grub HOWTO |
it's red hat 8.0 , the first release
|
:confused: I need to know everything you did. I don't know if you mounted anything or not.
Red Hat 8.0 Rescue Mode Installing Grub |
I don't know if this is useful, but in Slackware when you boot off the CD you can say:
linux root=/dev/hdb1 (at the first boot prompt) It will then Boot using the CD Kernel, but Boot you into YOUR linux partition and then you can do all your fun fixing stuff =) Micah |
All times are GMT -5. The time now is 08:00 PM. |