LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02:36 AM   #1
zomane
Member
 
Registered: Sep 2005
Location: Austria
Distribution: Debian, CentOS, OpenBSD, FreeBSD
Posts: 52

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 02:37 AM.
 
Old 04-05-2008, 02:49 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
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, 04:19 AM   #3
zomane
Member
 
Registered: Sep 2005
Location: Austria
Distribution: Debian, CentOS, OpenBSD, FreeBSD
Posts: 52

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


Reply



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 02:15 PM
Replacing GRUB with LILO? Score Linux - Software 2 07-03-2007 01:30 AM
Replacing LILO with GRUB pilot1 Linux - General 3 12-15-2002 07:28 AM
replacing grub with lilo mcontatore Linux - General 0 12-13-2002 03:35 PM
Replacing LILO with GRUB tomplate Linux - Newbie 4 02-23-2002 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:14 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
Open Source Consulting | Domain Registration