[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how does grub2 locate grub.cfg
From: |
Gregg Levine |
Subject: |
Re: how does grub2 locate grub.cfg |
Date: |
Tue, 14 Jan 2014 21:42:42 -0500 |
Hello!
How did you install Slackware? And which release number did you
choose? Ideally that should tell you something. I, myself, run
Slackware, and the early releases do give the user a chance on how to
construct the partitions. In fact 14.0 which I ran in a VM did that.
I've not had a chance to try 14.1 but I imagine it might also do
that....
Also please switch to plain-text mode as its easier to work with.
-----
Gregg C Levine address@hidden
"This signature fought the Time Wars, time and again."
On Tue, Jan 14, 2014 at 9:04 PM, Avinash Sridharan
<address@hidden> wrote:
>
>
> I have a slackware installation. I have 7 partitions on my hard disk where
> /dev/sda1 is the boot partition and /dev/sda7 is the root partition (on which
> slackware is installed). During installation, I didn't realize, but /boot was
> not a separate mount point. That is /boot is sitting on /dev/sda7.
>
> After installing slackware, I installed grub2 on /dev/sda1, and created the
> /boot/grub/gurb.cfg using grub-mkconfig. After hitting reboot, it hit me that
> grub.cfg is not on the boot partition, but on /dev/sda7 and I thought grub
> might not be able to find it. But low and behold, grub found it perfectly.
>
> I was wondering if I am missing something here, or there has been a little
> bit of magic added to grub2 to actually have the grub.cfg on a different
> location than the boot partition??
>