Skip to contentSkip to conversation

`initrd' grub2's mods or not

DISCUSSION Albert 2 participants 2 messages Aug 6, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Albert

author
#1 lore raw

hi all,

i have an idea about loading grub2' file (.mod, fonts, images) from disk: since core.img is the kernel why not make related stuffs into a 'initrd' file? the reason is, so many files will be loaded from media, we may need more time to do this from a cd/dvd.

is there any possible?

#2 lore raw
Quoted 8 lines · Albert

hi all,

i have an idea about loading grub2' file (.mod, fonts, images) from
disk: since core.img is the kernel why not make related stuffs into a 'initrd' file? the reason is, so many files will be loaded from media, we may need more time to do this from a cd/dvd.

is there any possible?

Hi,

This function is already in grub2, it's called memdisk. The basic idea is that you can pack all the files you want into a archive file such as cpio or tar, then embed it in core.img. After startup, the files can be accessed with the (memdisk) device.

Signature · 1 line
Bean