How to edit lilo in frugal install.


Forum: DSL Tips and Tricks
Topic: How to edit lilo in frugal install.
started by: pirata

Posted by pirata on May 24 2006,22:05
How to edit lilo in frugal install.

This was originally part of another post I made, but it goes better here, as a tip. It's about how you can edit lilo.conf and make it functional with next reboot in a frugal install. It seems that many users have had problems with this, like myself. Many posters seem to believe it's not possible, but it is! Here's the proof:

This is for a frugal installation. Let's assume you installed the boot image to hda1, otherwise replace "hda1" below with your chosen partition.

Run emelfm as root: EITHER open Aterminal, type "sudo emelfm", OR in the desktop menu, find Apps->Tools->emelFM->emelFM as super-user.

In emelfm, open /mnt, right-click on hda1/ (or wherever you installed your boot image), and click on Mount. Now open /mnt/hda1/boot and "view" lilo.conf in Beaver or whatever texteditor.

Make changes to your lilo.conf. Save.

Then execute these three command lines:
Code Sample
chmod 644 /mnt/hda1/boot/lilo.conf
ln -sf /mnt/hda1/boot /
lilo -C /mnt/hda1/boot/lilo.conf

You can run them in the command line in emelfm, while you're still there as root (or run them from a little shell script).
You should get an "Added DSL *" in return.

Now reboot. At startup, check that your changes went through by observing the messages.

That's it!

Posted by tedmoore99 on June 16 2006,17:38
I didn't see your post before I entered mine.  
I tried your solution for modifying lilo.conf.
1.  My version is in: /cdrom/boot/lilo.conf  (I am using frugal install)
2.  Edited it just fine.
3.  Ran: lilo -C /cdrom/boot/lilo.conf
4.  Get error: Fatal Creat /boot/map~ read-only file system

Now what?
--Ted

Posted by ZoOp on June 16 2006,18:30
tedmoore99: are you sure that your have a frugal install? because when you install dsl frugal from the live-CD, I guess you only have the possibility to install it on hdax, not on cdrom/. In this case, your lilo.conf is in /mnt/hdax/boot/...
yours
z

Posted by pirata on June 23 2006,17:51
tedmoore99:
Quote
1.  My version is in: /cdrom/boot/lilo.conf  (I am using frugal install)

That's right, but you can't edit that (not really). You have to go to /mnt/hdax/boot/lilo.conf  which is the same, only editable  and it sticks ....
Quote
3.  Ran: lilo -C /cdrom/boot/lilo.conf
4.  Get error: Fatal Creat /boot/map~ read-only file system

Use the instructions in the original post. I stole it from the install script, and it does a trick with a symbolic link and above all it works!

Good luck!

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