LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-05-2008, 03:36 AM   #1
zomane
Member
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian, CentOS
Posts: 46

Rep: Reputation: 16
Modifying Slackware 12 installer, replacing lilo with grub


Hello
I trying to make some modification of installer. I read this , but in usr/lib/setup I cant find any script that invokes liloconfig. Somehow "CONFIGURE" from main menu of the installer invokes liloconfig, can someone tell me how it happens ?
Only two things for lilo I find in usr/lib/setup - first is in one dialog box and second is for lilo.conf .These two are in SeTconfig script.
Thanks in advance.

Last edited by zomane; 04-05-2008 at 03:37 AM.
 
Old 04-05-2008, 03:49 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 178

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by zomane View Post
Hello
I trying to make some modification of installer. I read this , but in usr/lib/setup I cant find any script that invokes liloconfig. Somehow "CONFIGURE" from main menu of the installer invokes liloconfig, can someone tell me how it happens ?
Only two things for lilo I find in usr/lib/setup - first is in one dialog box and second is for lilo.conf .These two are in SeTconfig script.
Thanks in advance.
Packages have an install/doinst.sh script that is invoked immediately after package installation (either during the installer or using installpkg once the OS is booted), and
/var/log/setup/<pkgname>.setup

In lilo's case, the lilo package has:
/var/log/setup/setup.liloconfig

At the end of the installation, The installer cycles through the contents of /var/log/setup and executes all of the scripts in /var/log/setup.

That's why you don't find a specific reference to the lilo config in the installer scripts.
 
Old 04-05-2008, 05:19 AM   #3
zomane
Member
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian, CentOS
Posts: 46

Original Poster
Rep: Reputation: 16
Many thanks, drmozes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing LILO w/ GRUB microsoft/linux Debian 13 01-18-2012 03:15 PM
Replacing GRUB with LILO? Score Linux - Software 2 07-03-2007 02:30 AM
Replacing LILO with GRUB pilot1 Linux - General 3 12-15-2002 08:28 AM
replacing grub with lilo mcontatore Linux - General 0 12-13-2002 04:35 PM
Replacing LILO with GRUB tomplate Linux - Newbie 4 02-23-2002 08:25 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration