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.
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 IYes, but to be on the safe side, rename it rather than removing it. GRUB
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.
will look in either /boot/grub or /boot/grub2, from your setup it looks
like it goes for grub2 first.
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??
On 04/12/2021 15:53, Dale wrote:
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??
I don't think I've ever updated what's in the mbr. It doesn't really
matter in that it just hands over to the real linux and root. I think
it would be rather hard to compromise, and anyway if anything has got
so far as to tamper with your boot, I think the game is over anyway.
Most changes of any consequence will be to the user-space code anyway,
not the actual boot stuff.
Cheers,
Wol
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 82:55:33 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,520 |
Posted today: | 1 |