>It works this way: >grub rescue> set >prefix=(mduuid/f897565f27383014091630e267aa4720)/grub >root=mduuid/f897565f27383014091630e267aa4720 >grub rescue> set root=memdisk >grub rescue> set prefix=($root)/ >grub rescue> ls / >powerpc-ieee1275/ >grub rescue> insmod normal >grub rescue> normal If you have to type this then obviously patch isn't finished work. You need to point prefix to right point and have grub.cfg find and source the definite grub.cfg. You also need to include other files in memdisk like fonts and translations. Having multi-prefix (prefix=a:b:c) and helpers to load files from any of them is a possibility as long as it doesn't increase core size. Also you need to make a list of platforms which don't support this approach. Currently: Inherently: i386_pc Due to choice of memory map: i386_coreboot, i386_multiboot, i386_ieee1275, i386_qemu. This should also be extended to grub-mknetdir. It should also probably share more code with grub-mkstandalone. On 06.02.2013 23:41, Paulo Flabiano Smorigo/Brazil/IBM wrote:
> -fi > +additional_options= > +if [ x"$config_opt_file" != x ]; then > + additional_options="-c \"${config_opt_file}\"" > +fi > +if [ x"$memdisk_img" != x ]; then > + additional_options="${additional_options} -m ${memdisk_img}" > +fi > + This breaks orribly in presence of whitespaces.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel