 The Answer Guy
	The Answer Guy
	 
 Fixing a lilo.conf After the Fact
Fixing a lilo.conf After the FactFrom Don Benesch on Fri, 07 Jan 2000
Answerguy,
Can you tell me how to switch operating systems on LiLo?
When I installed Redhat Linux I was not given the chance of selecting 
the startup OS and it defaults to Linux. I share this computer, and need 
it to start up in windows.  I can Fdisk /mbr, but I thought that 
there might be a quicker way to switch the * to the Windows OS.
Also, If I do /mbr, how do I put Lilo back on without going thru 
the whole install?
Thanks
Don (New to Linux)
Go back and read some of my articles on LILO. Just go the the Linux Gazette web site and use their search engine.
You'll find a number of sample configurations files (/etc/lilo.conf) and many long-winded explanations of how to use the /sbin/lilo utility to write, re-write, and remove the LILO boot loader code from your MBR, your superblocks, etc.
Basically you want to add an "other" stanza to your /etc/lilo.conf and run the /sbin/lilo command. That's all there is to it. Understanding how that works and what to put in that stanza and what your other alternatives might be is why you need to do all that homework.
| ![[ Answer Guy Current Index ]](../../gx/dennis/answernew.gif)  | ![[ Index of Past Answers ]](../../gx/dennis/answertoc.gif) |  | 1 | 2 | 3 | 5 | ||
| 5 | 6 | 7 | 8 | 9 | ||||
| 10 | 11 | 13 | 14 | 15 | 16 | 17 | ||
| 18 | 19 | 20 | 21 | 22 | 23 | 24 | ||
| 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | |
| 34 | 36 | 37 | 38 | 39 | 42 | 41 | ||
| 42 | 43 | 44 | 45 | 46 | 47 | 48 | ||