SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have dualboot with Slackware 10.0 and Windows 2000 (haven't been used since the install). I want to install Windows XP instead, and then Windows's bootloader will overwrite LILO. How do I repair LILO when I have installed Windows?
It's a very small ISO to make a bootable CDfor installing the bootloader. It's 100% graphical, and simple to use. That way, install Windows and do it's thing.. thenpop in the GAG disc and reboot, it's very self-explainatory and easy to set up.
Of course, once you have that done, if you decide you would rather use good 'ole LILO, than just re-install from inside Slack.
And there's always the "right" way by using a boot-disk which should have been created upon install.. but if you're like me, you probably didn't make one.. so check out GAG.. you'll like it!
Essentially, any CD able to boot and installed linux should do.
What I do is as follows:
1) Boot the installed system with a rescue CD (I use Suse "manual installation" method)
2) Ignore any warning and get to the root shell
3) (Possibly) edit linux.conf
4) Type lilo.
Alternatively, it is possible to use any rescue CD, chroot to the mounted disk and do the same.
If you have installed lilo on your linux partition and not in the MBR (master boot record), than you should be fine and oyu can use the Slackware CDs.
When installing windows xp the installation overwrites the MBR and makes your windows partition bootable. That is why you boot straight into windows without seeing lilo.
So boot from your slackware cd and use what ever kernel you like (just like you were installing slack) ...usually thats bare.i. When everything boots you must login as root. Then just run : cfdisk
Now all you have to do is change the boot flag of your Linux partition and remove boot flag from your windows partition, save changes (write changes to disk) and quit this program.
now pres ctrl + alt + del for your computer to restart and you should see your lilo again
NOTE: this will only work if you have lilo installed on your linux partition and NOT in the MBR.
Just for future reference, nosaku should have said type "bare.i root=/dev/hda3 ro" or rather than bare.i you can type linux or any kernel. The directions are actually printed on the screen right above the boot prompt.
Originally posted by ringwraith Just for future reference, nosaku should have said type "bare.i root=/dev/hda3 ro" or rather than bare.i you can type linux or any kernel. The directions are actually printed on the screen right above the boot prompt.
Thanks for correcting me. In a hurry I forgot to enter bare.i. Thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.