LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing winXP on other partition wipes my MBR....i want my lilo back!! (https://www.linuxquestions.org/questions/slackware-14/installing-winxp-on-other-partition-wipes-my-mbr-i-want-my-lilo-back-233768/)

theMonkeY 09-22-2004 05:51 AM

Installing winXP on other partition wipes my MBR....i want my lilo back!!
 
Subject pretty much says it all....

I need to reinstall my windows XP on my hda1, my linux is on my hda2. I know that if i re-install it, it'll wipe lilo off the MBR and the computer will always boot straight into windows. How can i prevent this from happening?

-- alternatively how can i boot into my linux partition again after installing winXP? (if i can do that i can just run lilo again from command line as root which will write to the MBR).

AAnarchYY 09-22-2004 05:54 AM

this may help you

gbonvehi 09-22-2004 06:30 AM

The easiest way is to install LILO after XP, then boot with a livecd (can be Slack's cd 2) mount you harddisk partition, chroot to it, and install lilo by issuing: lilo


All times are GMT -5. The time now is 10:21 PM.