bugGNU GRUB - Bugs: bug #46616, grub-mkimage ignores the -C option...


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

bug #46616: grub-mkimage ignores the -C option for certain platforms without a warning

Submitted by:  <qwertial>
Submitted on:  Sun 06 Dec 2015 02:17:54 PM UTC  
Category:  Installation Severity:  Minor
Priority:  3 - Low Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  2.03+

Tue 05 Jul 2016 07:35:00 AM UTC, comment #4: 

Yes, sir.

I just wanted to inspect whether the generated image was correct by looking at the hexdump, and compression was getting in the way. (The problem was alignment, it turned out.)

I don't really care which way it gets resolved; I solved my original issue already. Though I imagine some may find uncompressed images useful.

Thu 17 Dec 2015 05:40:45 AM UTC, comment #3: 

"Yes" what? :) I do not see how the problem you describe is related to core.img compression.

Andrei Borzenkov <arvidjaar>
Project Member
Wed 16 Dec 2015 09:47:15 PM UTC, comment #2: 


Well, it's for debugging mostly. I was doing a port for fun, had GRUB built for i386-pc, and I was wondering why the image doesn't detect the embedded modules. The image size wasn't a problem for me because I loaded it through qemu -kernel anyway.

Sun 06 Dec 2015 02:50:00 PM UTC, comment #1: 

Do you complain about lack of warning or do you have reasons to not compress image on i386?

Andrei Borzenkov <arvidjaar>
Project Member
Sun 06 Dec 2015 02:17:54 PM UTC, original submission:  

GRUB images built for the i386-pc platform are always compressed with LZMA, even when compression is explicitly disabled with a -Cnone switch. There isn't even a warning displayed.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by qwertial (Submitted the item)

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

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-11 phcoder Priority5 - Normal => 3 - Low
    2016-03-02 phcoder Planned ReleaseNone => 2.03+
    2015-12-06 arvidjaar SeverityMajor => Minor

    Back to the top

    Powered by Savane 3.6