bugGNU GRUB - Bugs: bug #22705, [grub2] Add --cfg option to...

 
 

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

bug #22705: [grub2] Add --cfg option to grub-mkrescue

Submitted by:  Julio Merino <jmmv>
Submitted on:  Sun 23 Mar 2008 07:18:44 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: Wont FixPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 1.96 (CVS)
Release: Bazaar - trunkReproducibility: None
Planned Release: None

Fri 16 Oct 2009 09:19:08 AM UTC, comment #2:

As discussed on the list --overlay is considered the correct way and we should avoid options existing for their own sake.

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 09 Sep 2009 12:33:39 AM UTC, comment #1:

I'm not sure how grub-mkrescue worked when you filed this, but nowadays I think this should append to the configuration file rather than overwriting it. As it is in your patch, there isn't all that much benefit of --cfg over --overlay beyond avoiding a little bit of directory setup; but an option that appends to the configuration file would save having to duplicate the 'insmod' commands that grub-mkrescue already inserts into the configuration file.

Colin Watson <cjwatson>
Project Member
Sun 23 Mar 2008 07:18:44 PM UTC, original submission:

I have started playing with GRUB 2 and found the grub-mkrescue utility very useful. Basically I want to generate a boot floppy disk that I can later use in a virtual machine, without touching its virtual hard disk contents. I also want this image to show me a menu with a couple of options, so that I do not have to enter commands continuously.

However, the grub-mkrescue utility lacks the ability to install a custom configuration file into the image. I think that adding a --cfg option to it would be useful. This option would specify the name of a file to use as grub.cfg, and the tool would later install it into the generated image.

The attached patch does this.

Julio Merino <jmmv>

 

Attached Files
file #15317:  cfg.diff added by jmmv (2KiB - Proposed improvement.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by cjwatson (Posted a comment)
  • -unavailable- added by jmmv (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
    Fri 16 Oct 2009 09:19:08 AM UTCphcoderStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Wed 09 Sep 2009 12:33:39 AM UTCcjwatsonReleaseNone=>Bazaar - trunk
    Sun 23 Mar 2008 07:18:44 PM UTCjmmvAttached File-=>Added cfg.diff, #15317

    Back to the top


    Powered by Savane 3.1-cleanup1