[SOLVED] How to Install extras/source/grub properly
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I copied the extras/source/grub folder to my home folder.
I did: ./grub.SlackBuild as su.
The install went on for a long time and I saw warnings etc flash by.
I don't know if it has installed properly. I tried it before and it destroyed my grub menu. I managed to recover grub through LMDE and now, I am back for more!
Is there any way to tell if this app is installed properly before I run grubconfig?
Just running the SlackBuild script creates the package, but doesn't install it. You should have seen a message at the end saying the package was created. Really, though, the package should have been in the extra directory anyway, so you shouldn't have had to run the SlackBuild script. You install packages with "installpkg filename", where filename is the filename of the package you want to install (ending in e.g. .txz).
Just running the SlackBuild script creates the package, but doesn't install it. You should have seen a message at the end saying the package was created. Really, though, the package should have been in the extra directory anyway, so you shouldn't have had to run the SlackBuild script. You install packages with "installpkg filename", where filename is the filename of the package you want to install (ending in e.g. .txz).
I forgot to say that I cd to /tmp and use pkgtool to install, only after that did I do a grub-install.
From that directory, you'd use none, those are sources not created packages, the one you'll be using with installpkg should be in /media/SlackDVD/extra/grub/grub-{version}.txz (i.e: installpkg /media/SlackDVD/extra/grub/grub-0.97-i486-8.txz)
From that directory, you'd use none, those are sources not created packages, the one you'll be using with installpkg should be in /media/SlackDVD/extra/grub/grub-{version}.txz (i.e: installpkg /media/SlackDVD/extra/grub/grub-0.97-i486-8.txz)
Yikes!!!
Thanks Acron, it is amazing how screwed-up I can get!
If I remember correctly, there is a "read-only" flag in lilo.conf related to the kernel you're booting that you can comment to avoid that message.
EDIT:
Ups, my bad, didn't read exactly "/dev/sda" and I found another post of yours where you had that error as well.
Where is this error happening exactly? I mean, at what point of using grubconfig, remember that in some point you'll be asked where to save the grub files which by definition is the partition where you have /boot. If you have slackware installed in /dev/sda1 and you have /boot in the same partition as the root partition (/dev/sda1 for instance), then in grubconfig "/dev/sda1" would be the place to save the grub files.
If I remember correctly, there is a "read-only" flag in lilo.conf related to the kernel you're booting that you can comment to avoid that message.
EDIT:
Ups, my bad, didn't read exactly "/dev/sda" and I found another post of yours where you had that error as well.
Where is this error happening exactly? I mean, at what point of using grubconfig, remember that in some point you'll be asked where to save the grub files which by definition is the partition where you have /boot. If you have slackware installed in /dev/sda1 and you have /boot in the same partition as the root partition (/dev/sda1 for instance), then in grubconfig "/dev/sda1" would be the place to save the grub files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.