bugGNU GRUB - Bugs: bug #28118, [patch] 10_linux uses wrong path...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28118: [patch] 10_linux uses wrong path when /boot is a separate partition

Submitted by:  Yaacov Akiba Slama <yaslama>
Submitted on:  Sat 28 Nov 2009 08:48:12 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Yaacov Akiba Slama
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Sat 28 Nov 2009 09:33:19 PM UTC, comment #1:

Sorry,

I attached the wrong patch.

I am attaching the correct one.

(file #19147)

Yaacov Akiba Slama <yaslama>
Sat 28 Nov 2009 08:48:12 PM UTC, original submission:

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.

Yaacov Akiba Slama <yaslama>

 

Attached Files
file #19147:  patch2 added by yaslama (596B - application/octet-stream)
file #19146:  patch added by yaslama (559B - application/octet-stream - Patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by yaslama (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Dec 2009 07:57:04 PM UTCphcoderOpen/ClosedOpen=>Closed
    Sun 06 Dec 2009 07:56:50 PM UTCphcoderStatusNone=>Fixed
    Sat 28 Nov 2009 09:33:19 PM UTCyaslamaAttached File-=>Added patch2, #19147
    Sat 28 Nov 2009 08:48:12 PM UTCyaslamaAttached File-=>Added patch, #19146

    Back to the top


    Powered by Savane 3.1-cleanup1