LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost boot menu after restore (https://www.linuxquestions.org/questions/linux-newbie-8/lost-boot-menu-after-restore-418772/)

carlindenver 02-23-2006 11:06 AM

Lost boot menu after restore
 
Hello,
I had to restore Windows XP and it must have rewitten the MBR, I no longer have the boot menu to access my linux partition (Mandrake 10.1).

How can I restore the menu?

Please help.....Thanks in advance

Carl

lord-fu 02-23-2006 11:27 AM

Did you make a rescue disk within mandrake? You could reinstall lilo or grub.

carlindenver 02-23-2006 11:33 AM

No, must I reinstall mandrake?

octinum 02-23-2006 11:34 AM

I don't know exactly how stuff works on Mandrake/Mandriva, but some generic ideas would work. I am building my ideas on a Slackware notebook.
1) a- Get a Linux installation CD, or any bootable one, and boot into your system by giving a parameter, for example, "root=/dev/hda3".
b- Boot into a live linux CD and mount your root partition, then chroot there.

In short, boot into your system somehow. It is not that hard, and includes things every linux user should know (IMHO). Read gentoo's handbook anyway, it will help you in the rest of your life.

2) a- If you have lilo, then say "lilo". If grub, then "grub-install /dev/hdx" should work(replace x with what applies to your disk).

carlindenver 02-23-2006 11:39 AM

I'm gonna try a live CD.........thanks

carlindenver 02-23-2006 12:08 PM

End this thread - I was able to restore the boot loader.

Thanks again.


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