pirata
Group: Members
Posts: 12
Joined: May 2006 |
|
Posted: 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!
-------------- Radio Pirata, running Shoutcast server on DSL: http://pirata.tk/
|