boot menu

Istimsak Abdulbasir saqman2060 at gmail.com
Mon Apr 1 07:11:57 UTC 2013


Fedora is an rpm based distro supported by redhat.
On Mar 31, 2013 2:30 PM, "Robert Holtzman" <holtzm at cox.net> wrote:

> On Sun, Mar 31, 2013 at 05:23:36PM +1100, Basil Chupin wrote:
> > On 31/03/13 16:06, Robert Holtzman wrote:
> > >On Sat, Mar 30, 2013 at 08:02:25PM -0400, Tom H wrote:
> > >>On Sat, Mar 30, 2013 at 7:56 PM, Robert Holtzman <holtzm at cox.net>
> wrote:
> > >>>Running Ubuntu 12.04 among other distros. I had kernels all the way
> back
> > >>>to 3.2.0-23 in /boot. Ran "apt-get remove --purge" on all but the
> > >>>current and the previous two kernels. I watched grub.cfg being created
> > >>>and it showed the three correct kernels and the other distros. When I
> > >>>rebooted the menu showed all the kernels I had just removed.
> Update-grub
> > >>>showed the correct number of kernels.
> > >>Another distro must be controlling grub.
> > >Possibly but if so how come grub.conf was (supposedly) created that
> > >showed the correct info?
> >
> > Sorry, but this is a "no brainer".
> > The grub.cfg (and not grub/conf which you state)
>
> Sorry. I was typing this from memory late at night.
>
> > was created by the
> > version of the oS you *just* installed.
>
> This occurred to me when I was in bed last night. I felt like opening a
> vein in embarrassment.
>
> >
> > But the grub.cfg of the oS which is *in* *control* of the boot menu
> > from which you select which oS you want booted has *NOT* been
> > changed to take into account the changes you made to the list of
> > kernels.
> >
> > I don't know which oS has the control but what you need to do is to
> > go into *that* oS and run (assuming that it is a Linux distro and
> > using grub2)-
> >
> > sudo grub2-mkconfig -o /boot/grub2/grib.cfg
>
> First thing this morning I booted the controlling OS (Mint)
> and ran sudo update-grub which took care of the problem.
>
> My only question is since update-grub worked, where did your
> grub2-mkconfig command come from? The only time I ran into that was when
> I tried out Fedora 17. Is that peculiar to RPM based distros?
>
> > which will then pickup the info in *this*, the controlling oS, and
> > also then pickup the info in the altered grub.cfg in 12.04 (which
> > now doesn't have all the redundant kernels listed).
>
> Thanks for the reply.
>
> --
> Bob Holtzman
> If you think you're getting free lunch,
> check the price of the beer.
> Key ID: 8D549279
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAlFYgHYACgkQv5BYD41UknldZACgmQ7YKew8aXQO6wxilQgpIljW
> KxcAoLbJ1KT0EokPjdzgmVKXEo2iZAa8
> =85oa
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130401/f06cb835/attachment.html>


More information about the ubuntu-users mailing list