Ok, I'm confused now. Are you saying you want to modify the installer? are you trying to do a batch install on a lot of systems?
I wouldn't mess with the install CD. Doing it yourself is easier and cleaner. |
Well... yes I wanted to make a bootable distro based on slack but with grub intead of lilo, and the slack installer is pretty good for my needs, the only problem(not really one) is lilo :-p
|
Since they are both slack packages, I would think it would be a pretty simple fix. Do you have the source for the installer utility?
I imagine all you would have to do is replace the lilo package location with the grub location. |
this is what I was thinking about, but I found every part of the configuration on the script files located on the source of the installer, but i can't find the lilo installation part on the scripts... :-/
|
Quote:
The LILO script asks if you want to install LILO. You should be able to answer no to that script during setup. If you add an installer script to GRUB's package then you should be able to answer yes to that script during setup to install GRUB. That does not require changing the Slackware setup script, only adding a script to the GRUB package. The Slackware setup could be changed to ask which boot loader to install when there is more than one package installed. Then have Slackware setup define an environment variable that the GRUB and LILO scripts (in their packages) check. If the environment variable is set, skip asking the question in the script and either install the boot loader package (or not) based on the environment variable. The environment variable could be set like this in setup.
The setup script can provide choices based on which boot loaders are installed, or ask about all of them and force the package to be installed for the selected boot loader. The setup script does not install the boot loader. It only asks which boot loader should be installed and then makes sure the package has been installed. The script in each boot loader package does the installation of the boot loader. In each boot loader package the environment variable might be used like this.
|
Quote:
@blackv1rus: please re-read my post #7. There is nothing lilo-related in the installer. Let's make a long story short: (during installation): installation of packages, some of them, including lilo, writing configuration scripts in /var/log/setup in the new Slackware system (in the installer): /usr/lib/setup/SeTconfig => "execute all executable scripts found in /var/log/setup in the new Slackware system" (including setup.liloconfig is present) So as Erik told you, just write setup.grub and grubconfig scripts with behavior inspired from setup.liloconfig and liloconfig respectively and have the former written in /var/log/setup during installation of your new grub package. Of course you'll need to have grub installed before SeTconfig is executed for that to work (you'll need to take of that too as packages in /extra are not initially installed in a genuine Slackware). PS you will quickly realize yourself how much work is needed to write grubconfig :cool: |
Quote:
|
Quote:
|
Guys you win :-) I was reading about it the whole day and I got to the conclusion that it is simpler and safer to keep things as is. now the next step is to do a custom installation with cinnamon and get rid of KDE, Games, the Linux FAQs, Emacs and then add some custom packages.
As far as I know I can do this editing the maketag.sh and the setup script... or Am I wrong? |
The first thing you would have to do is to get Gnome 3 running on Slackware, after that you can install Cinnamon, only then I would think about removing packages.
Have fun with that, you might want to have a look at the GSB project for Gnome 3, but when in the future Gnome 3 becomes hard dependent on systemd you will run out of luck anyways, unless you also plan to get that running on Slackware. Seeing all the changes you want to make I would recommend to rethink if Slackware is the base you want to use for your project. |
As this is actually a different topic I'd suggest you devote it a new thread.
|
Quote:
|
maybe LFS would do the job but then I will need a installer... make it bootable... :cry:
|
Or you could make a system to your liking and create a image. Assumed that the target machine are reasonably alike you can create a simpler install script.
|
If you consider LFS as an option, it would be interesting to know why you have chosen Slackware as the base for your project, not something with a fully scriptable installer like Debian.
|
All times are GMT -5. The time now is 04:02 PM. |