Lilo Conf Edit


Forum: HD Install
Topic: Lilo Conf Edit
started by: Thanatos

Posted by Thanatos on Sep. 25 2004,13:21
???  I've got dsl installed on my HD (hda5), I read how to edit /ect/lilo.conf to set Windows (hda1) to default. I went into dsl as root & tried to edit file. It won't do a thing. How do I edit the lilo.conf?? I know how to label it for boot, just can't edit it. Also, is there any format to use that is easy to access from win & linux?? Thanks. :D
Posted by ico2 on Sep. 28 2004,19:08
in xterm go sudo scite /etc/lilo.conf
edit to ur hearts content and save.
then in xterm type lilo, everything will work, if you forget to go lilo then your system might never boot again.

Posted by Thanatos on Sep. 28 2004,19:41
:D I forgot about this post. I went: sudo su, emelfm. opened /etc/ & opened it with beaver. I've got it working good now. Just trying to figure how to save my muted CD volume setting. My CD is screwed up & makes my mouse sound like fingernails on a chalkboard. Irritating as HECK!! Thanks for the help.  :cool:
Posted by lostcity on Sep. 29 2004,02:25
Quote (ico2 @ Sep. 28 2004,15:08)
in xterm go sudo scite /etc/lilo.conf
edit to ur hearts content and save.
then in xterm type lilo, everything will work, if you forget to go lilo then your system might never boot again.

If you are doing it the other way around from RedHat, what do you need to add to make DSL load?

Thanks

Posted by lostcity on Oct. 06 2004,02:51
Installed  DSL 0.7.3 to hda2 with RH8 on hda1.  I have set RH to boot with lilo.  When I edit /ect/lilo.conf and run /sbin/lilo I get an error message which says it cannot recognize the boot signature for hda2  (dsl)  Can I fix this if so how.

Thanks

Posted by tjm4fun on Oct. 17 2004,10:24
In order to add another linux boot to lilo, you first have to have that hda mounted to your redhat system.
Say you create a mnt point like /mnt/dsl
then you would add the stanza:

image = /mnt/dsl/boot/vmlinuz
 root = /dev/hda2
 label = DSL
 initrd = /mnt/dsl/boot/initrd
 read-only

you may not need the initrd line.
By default I create mount points for all my distro's read only, with fstab entries also, in case I want to compare scripts etc.
Lilo needs to know where to look for the boot files to build the record it writes to mbr.
It can get complicated, I have 4 os's on one laptop, and have to go thru that everytime I add a distro.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.