clanlaw at googlemail.com
Tue Apr 2 11:06:22 UTC 2013
On 2 April 2013 11:04, Basil Chupin <blchupin at iinet.net.au> wrote:
> On 02/04/13 02:29, Nils Kassube wrote:
>> Basil Chupin wrote:
>>> To be very honest I don't know much about Mint (except that I did try
>>> it some 3 or so years ago) and don't know if it uses grub (legacy) or
>>> grub2 but the use of "update-grub" indicates to me that it is using
>>> grub (legacy) and that grub-update only recreated the grub.cfg in
>>> Mint's /boot/grub/grub.cfg.
>>> And doing "grub-update" would, naturally, also have picked up that you
>>> have another/other distros installed and included them in the grub
>>> boot menu (when you boot your computer).
>>> Re where "grub2-mkconfig" comes in. As far as I am aware the use of
>>> "grub-update" is no longer used in distros which use *grub2*.
>>> "grub-update" has been replaced with "grub2-mkconfig -o
>>> /boot/grub2/grub.cfg" - which is why I mentioned it thinking that you
>>> were dealing with grub2.
>> Basil, I suppose you are mixing up suse / fedora / whatever with the way
>> Ubuntu handles grub. The script run on both grub-legacy and grub2 is
>> "update-grub". There is no grub2-mkconfig in *Ubuntu 12.04. And as Mint
>> is based on Ubuntu as far as I know, the script is also "update-grub"
>> for Mint.
> Thanks Nils.
> Nothing like uniformity between distros :-( .
> Had my first look "inside" Ubuntu several minutes ago and adjusted grub.cfg
> because there were 2 versions of the kernel in /boot (I deleted the older
> one). Carried this thru to my main, controlling, bootloader. Keeps one on
> one's toes when you have to work with "grub..." and "grub2...." :-) .
I thought one was not supposed to edit /boot/grug/grub.cfg, I thought
one should edit /etc/default/grub and run update-grub.
More information about the ubuntu-users