Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to edit lilo in frugal install., and make it functional!< Next Oldest | Next Newest >
pirata Offline





Group: Members
Posts: 12
Joined: May 2006
Posted: May 24 2006,22:05 QUOTE

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/
Back to top
Profile PM WEB 
tedmoore99 Offline





Group: Members
Posts: 67
Joined: Mar. 2006
Posted: June 16 2006,17:38 QUOTE

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
Back to top
Profile PM 
ZoOp Offline





Group: Members
Posts: 218
Joined: Sep. 2005
Posted: June 16 2006,18:30 QUOTE

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
Back to top
Profile PM 
pirata Offline





Group: Members
Posts: 12
Joined: May 2006
Posted: June 23 2006,17:51 QUOTE

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!


--------------
Radio Pirata, running Shoutcast server on DSL: http://pirata.tk/
Back to top
Profile PM WEB 
3 replies since May 24 2006,22:05 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to edit lilo in frugal install.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code