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

                 Summary: [patch] 10_linux uses wrong path when /boot is a
separate partition
                 Project: GNU GRUB
            Submitted by: yaslama
            Submitted on: Sat 28 Nov 2009 08:48:12 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Yaacov Akiba Slama
        Originator Email: y...@slamail.org
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

10_linux calls make_system_path_relative_to_its_root with the directory of
the vmlinuz file (dirname) instead of the filename itself.

The problem is that grub-mkrelpath (which is called by
make_system_path_relative_to_its_root to do the real work) doesn't work with
the boot directory itself (and my system doesn't boot without the fix):

#/usr/bin/grub-mkrelpath /boot
/boot

but

#/usr/bin/grub-mkrelpath /boot/vmlinuz-2.6.31-1-amd64
/vmlinuz-2.6.31-1-amd64

So 10-linux needs to be changed to use the full kernel filename instead of
its dirname when calling "make_system_path_relative_to_its_root"

A small patch is attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 28 Nov 2009 08:48:12 PM GMT  Name: patch  Size: 559B   By: yaslama
Patch
<http://savannah.gnu.org/bugs/download.php?file_id=19146>

    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to