PDA

View Full Version : Lilo


Ironheart
21-05-2001, 05:07
Hmm, I changed the Default line in my lilo.conf (as root) because I wanted to change the default OS from Linux to Windows, and it did absolutely nothing :(

I know you can change it by moving the Windows stanza to the first OS list in lilo.conf, but I was also told you could do it simply by changing the Default tag. Not sure why it's even included if it doesn't work...

If the installer had installed Grub and not Lilo I wouldn't have to mess with it at all. Ah well.

ybw
21-05-2001, 09:13
On slackware, once I have edited /etc/lilo.conf file, I then need to run /sbin/lilo to set the changes somewhere :)

Maybe give that a try, or wait for AEF ;)

Andy

aef
21-05-2001, 09:57
Oh god, I'm getting a reputation... ;)

Yep - you need to run lilo (/sbin/lilo) after editing /etc/lilo.conf, that will read lilo.conf and write the LILO boot loader to (usually) the MBR.

So, set the default= line of lilo.conf to the label you've chosen for Windows (Win, Windows, dos, whatever), and run /sbin/lilo. In fact, most lilo.confs I've seen have notices in them (near the top) telling you to run lilo - you may wish to add your own comment for future reference.

AEF

Ironheart
21-05-2001, 10:07
Cheers again :)

I looked at a couple of help sites to find out how to mess with the lilo.conf and neither of them say anything about doing that command (it's not commented in my lilo.conf either) so I guess I was supposed to find out by divine intervention or telepathy perhaps :)

aef
21-05-2001, 11:22
Originally posted by Ironheart
I guess I was supposed to find out by divine intervention

Well, I told you, didn't I? ;)

Actually, you were supposed to find out by reading the documentation - the man page for lilo.conf refers to lilo in the first few lines. There's also a mini-HOWTO on LILO for a more tutorial-like introduction. This isn't a criticism - you obviously didn't know where to look - but knowing how to find this sort of information is an important Unix skill.

AEF

Jiveman
21-05-2001, 17:18
I will do that tonight I think, can't remember if I have grub or lilo though :P

Ah well.

Ironheart
21-05-2001, 19:09
I'll need to look harder next time obviously :)

I installed all the Mandrake documentation, but it runs like an absolute dog on this PC :( I click Documentation and about 40 seconds later a window appears with some of it in. I've also noticed it's not sorted in a particularly good way, making it harder to find what you want.

aef
21-05-2001, 19:56
Yeah, I know that the new documentation system (texinfo or whatever) is supposed to be better, but I always stick with man pages - they simply seem more usable.

AEF