GRUB GRUB2 load file to fix address
Posted: Tue Nov 30, 2010 11:35 pm
hi,
i've been using iso+grub2+multiboot2.
with GRUB2 or GRUB, how can i load things to FIXED(can set in grub.cfg) address?
i saw many people use "initrd", and i saw "kernel","module". but i don't quite understand. it seems "module" match the most, but can it modify an address? i'd like things to be like:
menuentry "Trive OS"
{
load 0x123456 /path/filename
......
multiboot /boot/setup.bin
boot
}
i dont want to get address through multiboot, and sometimes i'm afraid grub will load files to a place i don't hope to.
thank you!
i've been using iso+grub2+multiboot2.
with GRUB2 or GRUB, how can i load things to FIXED(can set in grub.cfg) address?
i saw many people use "initrd", and i saw "kernel","module". but i don't quite understand. it seems "module" match the most, but can it modify an address? i'd like things to be like:
menuentry "Trive OS"
{
load 0x123456 /path/filename
......
multiboot /boot/setup.bin
boot
}
i dont want to get address through multiboot, and sometimes i'm afraid grub will load files to a place i don't hope to.
thank you!