Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have set up a dual-boot system with lilo; mandrake 9.2/windows 2k. I just installed everything, and both systems are working fine. Now, I would like to wipe off 2K and install XP. I know that if I do this, the MBR will simply boot up windows and ignore linux. I would like to keep lilo as the boot-loader and simply add XP (and erase 2K) as an option after install. Does anyone have any experience with this?
It ought to be as simple as modifying your /etc/lilo.conf and re-running LILO after you get XP installed. As long as you have a Linux boot CD, you should be able to mount your Linux drives to get access to everything you need (namely, /etc, /boot, and /sbin/lilo). You could also use a Linux rescue disk to boot your Linux install normally (I think by passing 'root=/dev/hdaX', with hdaX being the root partition of your Linux install), and then run LILO from there.
I think that a slightly simpler way would be to just install the XP over the top of 2K, the XP install will overwrite your bootloader, but to get round that, you then just boot with the mandrake disc's (well the first one) and then when the option window opens to "enter for install, F1 (I think) for more options", then hit F1 and at the prompt type rescue, and follow the options to re-install LILO.
You can always modify the lilo.conf in the boot section of the mandrake control centre later i.e. make windows default if you want, change the label, etc etc
well I hope it is that simple, but my understanding is that lilo is currently on the MBR (at least that is what I set when I installed linux), and XP will wipe it off MBR. In that case, editing (if it is even possible at that point) lilo.conf is like washing your car to make it run better.
Originally posted by fitzov well I hope it is that simple, but my understanding is that lilo is currently on the MBR (at least that is what I set when I installed linux), and XP will wipe it off MBR. In that case, editing (if it is even possible at that point) lilo.conf is like washing your car to make it run better.
Well, lilo.conf is only used when you actually run 'lilo'; it tells lilo where to find the boot images it needs, so it can properly situate itself in the MBR. After installing XP, the MBR will be overwritten as you know, but you will still have your Linux partition with lilo.conf and everything; all you have to do is get into it (using a boot or rescue disk) to run lilo again. The procedure that bigjohn suggests should work also; it just automates the procedure I suggested