LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with Duel Boot, gotta do with lilo. (https://www.linuxquestions.org/questions/linux-software-2/problem-with-duel-boot-gotta-do-with-lilo-321725/)

skoby 05-09-2005 02:35 PM

Problem with Duel Boot, gotta do with lilo.
 
Hey there,

Wanting to Duel Boot XP and Mandriva, installed xp first, partitioned with partition magic and then i installed Mandriva. On the install menu i installed LILO, but then when i went to reboot, lilo didn't come up, instead XP booted up.

Does anyone have any ideas on how i can get LILO installed and work?

rose_bud4201 05-09-2005 03:15 PM

Get a linux boot disk (I like tomsrtbt, but there are others).
1) Boot up with it
1a) login as root (it tells you how when it asks you to login)
2) Create a directory - mkdir stuff
3) Mount your root linux partition to that directory - mount /dev/hdb1 stuff (adjust the partition as necessary)
4) Chroot to that partition - chroot /stuff
5) Edit lilo.conf - vi /etc/lilo.conf
6) Make sure that it says what you want it to say, and that it has sections for both WinXP and Mandriva
7) :wq to save & exit
8) Run lilo to write the configuration to your mbr - /sbin/lilo
9) Assuming that there were no errors, reboot, and you should be all set!
9a) If there were errors...fix them, and repeat ^.^


Hope that helps! If you've got questions, we'll certainly try to answer them (less tersely :) ). This is a pretty straightforward step-by-step, though.

skoby 05-09-2005 07:21 PM

thanks, sorted it out! :)

rose_bud4201 05-10-2005 11:21 AM

Great! Glad it all worked out for ya :)


All times are GMT -5. The time now is 04:00 PM.