bugGNU GRUB - Bugs: bug #35238, Support for multiple initrd images...

 
 

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

bug #35238: Support for multiple initrd images like grub-legacy has

Submitted by:  Rodney Beede <rbeede>
Submitted on:  Wed 04 Jan 2012 04:22:13 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Tue 14 Feb 2012 07:06:33 AM UTC, comment #3:

Current implementation fails when mixing .gz and .cpio initrd images. Test case:
initrd img1.cpio.gz img2.cpio
leads to wrong result.

.cpio header must be aligned on 4-byte boundary, while .gz size is not required to be multiple of 4.

Please add padding by zeroes to align initrd size on 4-byte boundary. See format specification here:
http://www.kernel.org/doc/Documentation/early-userspace/buffer-format.txt

Nail Kaipov <nky>
Fri 20 Jan 2012 11:51:09 AM UTC, comment #2:

Fixed in bzr

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 04 Jan 2012 04:26:39 PM UTC, comment #1:

The syntax may also look like:

initrd (loop)/ntpasswd/initrd.cgz (loop)/ntpasswd/scsi.cgz

Rodney Beede <rbeede>
Wed 04 Jan 2012 04:22:13 PM UTC, original submission:

Some Linux distros (example: ntpasswd) utilize multiple initrd cgz images when booting. grub-legacy added support for this feature so booting was possible with:

initrd /ntpasswd/initrd.cgz
initrd /ntpasswd/scsi.cgz

Grub would write in the contents of initrd.cgz into memory and then add on the contents of scsi.cgz (overwritting any paths with the same name with the second cgz).

This allowed the distro to boot and load additional files,drivers,etc.

grub2 doesn't seem to support these options.

A work around is to extract the contents of the cgz and combine them into a single one. However when booting various isos from a usb key it is nice to not have to manually create this single image.

Rodney Beede <rbeede>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nky (Posted a comment)
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by rbeede (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Jan 2012 11:51:09 AM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup