[SOLVED] i didn't find "grub.cfg" file on /boot/grub/
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.
This file is not shipped in Slackware's grub package, so it can exist only if you ran some command(s) to create it or manually created it. What did you do exactly?
This file is not shipped in Slackware's grub package, so it can exist only if you ran some command(s) to create it or manually created it. What did you do exactly?
yes i can't find grub directory in "/boot" so i run
Code:
grub-install /dev/sda
then "grub" directory is created under "/boot" but i can't find "grub.cfg" file.i only find few directories and one file that are "fonts,1386-pc,locale,gurbenv file".
That is one way. The grub-install command will also create that directory for you; in fact, you wrote that it did in your second posting of this thread. That would be another way.
Slackware doesn't have /boot/grub available immediately after installation since grub is not the default bootloader for Slackware.
i don't know that is it necessary to create the directory every Slackware user? else the system didn't created it automatically right?
Generally speaking Slackware doesn't hold its users hands so yes, the user is expected to create/populate/edit the files and directories needed to run a specific software.
In this specific case:
The installer creates the /boot directory and put in it what's needed to boot using LiLo, because that's its default bootloader.
Slackware provides GRUB, but leave to the user all tasks needed to install, configure and use it, including creation of sub directories.
Last edited by Didier Spaier; 11-16-2014 at 08:51 AM.
Reason: grammatical correction
Generally speaking Slackware don't holds its users hands so yes, the user is expected to create/populate/edit the files and directories needed to run a specific software.
In this specific case:
The installer creates the /boot directory and put in it what's needed to boot using LiLo, because that's its default bootloader.
Provides GRUB, but leave to the user all tasks needed to install, configure and use it, including creation of sub directories.
Hello again,
Thanks for your explanation.if i have a two distros on one pc but different partition then i can add them using
Thanks for your explanation.if i have a two distros on one pc but different partition then i can add them using
Code:
liloconfig
command right?
Yes, but only if you run that command from Slackware as it is a Slackware script.
You can also do that using grub as explained here.
Moreover, I suggest that you read the docs that concern the software you use, and maybe stick to one Linux distribution until you be at ease with such topics.
Yes, but only if you run that command from Slackware as it is a Slackware script.
You can also do that using grub as explained here.
Moreover, I suggest that you read the docs that concern the software you use, and maybe stick to one Linux distribution until you be at ease with such topics.
Looking great and nice explanation thanks Didier Spaier,Richard Cranium,Teufel for gives me great suggestions.my problem was solved and i marked this thread as solved.please if you have any idea please have a look on http://www.linuxquestions.org/questi...on-4175525555/Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.