Neil Bothwick wrote:
> On Fri, 3 Dec 2021 23:26:29 -0600, Dale wrote:
>
>> I was cleaning out my /boot directory.  It's on its own partition and I
>> remove outdated kernels and configs etc every once in a while. I was
>> noticing that I have two grub directories.  Based on time stamps, I
>> think I can delete the plain grub directory and I'm pretty much certain
>> grub2 is the current and active grub directory.  Is it safe to remove
>> the old grub directory?  Nothing in it has been touched that the time
>> stamps show in a long while.  The grub2 directory was when I did my last
>> kernel update. 
>>
>> I just want to be certain before I remove the directory.  More info
>> below.
> Yes, but to be on the safe side, rename it rather than removing it. GRUB
> will look in either /boot/grub or /boot/grub2, from your setup it looks
> like it goes for grub2 first.
>
>


That's a good idea.  I used equery f grub to see what grub installed
where but it showed nothing at all for /boot.  I figure grub-install
puts all the needed files in /boot but I wasn't sure how to get it to
list where it put them.  The file isn't a script so I can't just peek
into the file and see what it does. 

While I'm at it.  When the grub package upgrades, should I reinstall
with grub-install to update what is on the drive or is it safe to just
leave it as is?  I seem to recall a upgrade to grub a while back.  It
just dawned on me that while the package is updated, what is installed
on the hard drive boot part with grub-install is still the original from
ages ago when I first built this rig.  Thoughts??

Dale

:-)  :-) 

Reply via email to