bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #39154] Generated grub.cfg contains kernels that lack modules direc


From: Alessio Ababilov
Subject: [bug #39154] Generated grub.cfg contains kernels that lack modules directory
Date: Mon, 03 Jun 2013 16:58:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.29 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39154>

                 Summary: Generated grub.cfg contains kernels that lack
modules directory
                 Project: GNU GRUB
            Submitted by: aababilov
            Submitted on: Mon 03 Jun 2013 04:58:49 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: aababilov
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Consider a computer with several GNU/Linux distros. It has one boot partition
that contains all kernels and initrds and one partition for each distro.

grub2-mkconfig generates a config that allows _every_ available kernel to boot
with the main distro. This is usually undesired since different kernels belong
to different distros.

A simple check whether this kernel belongs to a distro can be verifying its
/lib/modules/$version directory.

Example. We run Debian (vmlinuz-3.2.0-4-amd64) and Gentoo
(vmlinuz-3.8.13-gentoo-05.23). If Gentoo is the main distro, grub2-mkconfig
will allow it to boot with vmlinuz-3.2.0-4-amd64. This boot will fail since
vmlinuz-3.2.0-4-amd64 requires a lot of kernel modules.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 03 Jun 2013 04:58:49 PM GMT  Name: ensure-kernel-modules.patch 
Size: 1kB   By: aababilov
A proposed patch
<http://savannah.gnu.org/bugs/download.php?file_id=28243>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39154>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]