LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   grub on the slackware installer (https://www.linuxquestions.org/questions/slackware-14/grub-on-the-slackware-installer-4175455070/)

blackv1rus 03-25-2013 09:41 PM

Quote:

Originally Posted by TobiSGD (Post 4918803)
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.

Many reasons:

1- my favorite distro

2- It is not a superficial distro, it is still a solid Linux, yet very simple.

3- Debian is good for sure, specially their repositories are more than awesome, but is very dependent of apt-get, not for me.

4- Almost every second distro is Debian/Ubuntu...

5- Slackware may scares at the first look, but is a very well maintained system. And now it proves again to be very well updated.

6- On Slackware you have more control of the system than in many other distribution.

I'm also thinking of Gentoo, it is quite good too.

The problem is: I am not strong in programming yet, in my career life, I'm facing more and more Windows :cry:, it is hard for me to accomplish some tasks at the moment, but I want to move forward, I learned a lot lately and I really want to keep going with Linux, I used it before red hat 5.5, my first contact with Linux then I got Slackware 10 and loved it, i tried Ubuntu and SUSE, but always came back to Slackware... I feel comfortable with it, I got used to compile stuffs.

Now I'm thinking of a Distro but I have poor idea where to start.

Didier Spaier 03-26-2013 02:04 AM

Quote:

Originally Posted by blackv1rus (Post 4918866)
I have poor idea where to start.

That depends what you actually want to achieve (the Cheshire Cat).

Ref.: the original.

brianL 03-26-2013 05:26 AM

We've had several grub vs lilo threads before in this forum, and I think I'm right in saying most Slackers are happy with lilo.

whizje 03-26-2013 06:40 AM

With GPT-partitions and raid grub2 has attractive benefits. Also booting from a iso on disk is a nice feature.

whizje 03-26-2013 06:45 AM

But outside the lilo grub discussion, it could be a fun project creating a setup.grubconfig.

gnashley 03-26-2013 11:27 AM

The installer script 'setuo' simply calls the liloconfig script which is part of the lilo package. The grub package which comes with slackware already includes the grubconfig script which someone adapted from liloconfig. SO, you can save that (yes, rather large) work. You'd only need to create the setup.grubconfig script which should be very easy. And, you need to add the grub program and files into the installer initrd. As far as the call to liloconfig in 'setup', that shouldn't be hard to find and change.

Didier Spaier 03-26-2013 11:44 AM

Quote:

Originally Posted by gnashley (Post 4919285)
The grub package which comes with slackware already includes the grubconfig script which someone adapted from liloconfig.

Thanks for the heads-up, gnashley, how come I didn't notice that myself :confused:

PS Someone == Kent Robotti.

gnashley 03-26-2013 02:50 PM

Yes, I just remembered the 'Kent Robotti' name as I looked here. I say it was a lot of work to change to use grub -the altered version seems to go much further than liloconifg (support for BSD 'slices',etc). I once wante to hack on it a bit and found it nearly un-readable or at least harder to understand than liloconfig. *And* I never got grubconfig to work for me: I have nearly always used a separate /boot partition and grubconfig always complains that it is either mounted or unmounted and exits -whether it is mounted or not. So, YMMV. I do use grub (legacy), though and nearly always have. I use a somewhat-patched version. If you want really exotic functionality, then grub4dos is great at that and is still compatible with grub-legacy menu.lst files. I sure enjoy using grub and find lilo tedious...

blackv1rus 03-30-2013 09:07 AM

Quote:

Originally Posted by gnashley (Post 4919395)
Yes, I just remembered the 'Kent Robotti' name as I looked here. I say it was a lot of work to change to use grub -the altered version seems to go much further than liloconifg (support for BSD 'slices',etc). I once wante to hack on it a bit and found it nearly un-readable or at least harder to understand than liloconfig. *And* I never got grubconfig to work for me: I have nearly always used a separate /boot partition and grubconfig always complains that it is either mounted or unmounted and exits -whether it is mounted or not. So, YMMV. I do use grub (legacy), though and nearly always have. I use a somewhat-patched version. If you want really exotic functionality, then grub4dos is great at that and is still compatible with grub-legacy menu.lst files. I sure enjoy using grub and find lilo tedious...

I dont think grub is THAT complex.

Of course grub offers a lot more features than lilo, but a simple grub.cfg file can look like this(using grub2):

Code:

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd0,1)

menuentry "Slackware 64 Current, Linux 3.8.4" {
        linux  /boot/vmlinuz-3.8.4 root=/dev/sda1 ro
}

Always worked for me ;)


All times are GMT -5. The time now is 02:19 AM.