|
From: | Yaacov Akiba Slama |
Subject: | [bug #28118] [patch] 10_linux uses wrong path when /boot is a separate partition |
Date: | Sat, 28 Nov 2009 20:48:13 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.259.0 Safari/532.5 |
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: address@hidden 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/
[Prev in Thread] | Current Thread | [Next in Thread] |