1. the "-d" means where the "moddep.lst" is , so ,you should find it first.
2. It looks like you want to install grub in you PC, doesn't it? If
does, you can use grub-install.
3. http://www.gnu.org/software/grub/manual/grub.html can help you.
When I command
sudo grub-mkimage -d ./grub-core -o core.img pc fat ntfs -O i386-pc
the result is
grub-mkimage: error: cannot open ./grub-core/moddep.lst.
When I command at /boot/grub, the result is same.
I can't understand why creating kernel is very hard.
Please, help me.
thanks.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel