Red Hat Bugzilla – Bug 179127
[PATCH] allow for multiple initramfs images with grub
Last modified: 2014-06-18 03:35:09 EDT
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.
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.
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
Fixed in grub-0_97-37_fc11