i didn't find "grub.cfg" file on /boot/grub/
Hello,
i am using Slackware 14.1 64 bit.i can't find my "grub.cfg" file on Code:
/boot/grub |
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?
|
Quote:
Code:
grub-install /dev/sda |
Code:
grub-mkconfig -o /boot/grub/grub.cfg |
I never used grub myself but I see in the documentation:
Quote:
EDIT Slow typer... |
Quote:
Thanks for your help the "grub.cfg" file is created.let me know why i don't have "grub" directory under "/boot"? |
Quote:
|
Quote:
|
Quote:
|
Quote:
As Didier Spaier said,By default Slackware didn't create the "grub" directory under "/boot".if we want that directory we create with the command Code:
mkdir |
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. |
Quote:
In this specific case:
|
Quote:
Thanks for your explanation.if i have a two distros on one pc but different partition then i can add them using Code:
liloconfig |
Quote:
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. |
Quote:
|
All times are GMT -5. The time now is 08:11 AM. |