LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't boot linux.. (https://www.linuxquestions.org/questions/linux-software-2/cant-boot-linux-71888/)

ody1 07-11-2003 12:01 PM

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

fancypiper 07-11-2003 12:35 PM

Boot rescue and try this command:

grub-install

ody1 07-11-2003 12:49 PM

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.

fancypiper 07-11-2003 12:57 PM

What is your distribution and release?

Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO

ody1 07-11-2003 12:59 PM

it's red hat 8.0 , the first release

fancypiper 07-11-2003 01:20 PM

: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

Micah 07-11-2003 03:00 PM

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.