Bug 179127 - [PATCH] allow for multiple initramfs images with grub
Summary: [PATCH] allow for multiple initramfs images with grub
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-27 16:11 UTC by Jeff Layton
Modified: 2014-06-18 07:35 UTC (History)
2 users (show)

Fixed In Version: grub-0_97-37_fc11
Clone Of:
Environment:
Last Closed: 2009-01-11 13:16:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
this patch adds 3 new functions to char_io.c (1.96 KB, patch)
2006-01-27 16:13 UTC, Jeff Layton
no flags Details | Diff
patch to allow passing multiple image files to the initrd grub command (1.17 KB, patch)
2006-01-27 16:16 UTC, Jeff Layton
no flags Details | Diff

Description Jeff Layton 2006-01-27 16:11:38 UTC
The 2.6 kernel series allows you to pass it multiple initramfs images at boot
time. Basically the idea is that they should be concatenated in memory.

This patch adds a few new functions to char_io.c (strspn, strcspn, and
strtok_r), and changes the load_initrd function so that the initrd command can
take multiple images. They will each be loaded into RAM in the order specified.

Comment 1 Jeff Layton 2006-01-27 16:13:40 UTC
Created attachment 123781 [details]
this patch adds 3 new functions to char_io.c

This adds strspn, strcspn, and strtok_r to char_io.c. This is to support the
parsing of multiple options on the initrd commandline.

These were "borrowed" from dietlibc with some small changes.

Comment 2 Jeff Layton 2006-01-27 16:16:02 UTC
Created attachment 123782 [details]
patch to allow passing multiple image files to the initrd grub command

This patch allows you to pass multiple image files to the kernel by adding more
than one filename to the initrd parameter. i.e.:

initrd /initramfs-image1.gz /initramfs-image2.gz

Comment 3 John Poelstra 2008-07-09 04:58:32 UTC
patches present

Comment 4 Lubomir Rintel 2009-01-11 13:16:58 UTC
Fixed in grub-0_97-37_fc11


Note You need to log in before you can comment on or make changes to this bug.