Creating a 32bit bootable image in 64 bit system
Posted: Mon Jun 16, 2014 1:13 am
hi
1. I'm using linux ubuntu 64 bit, but my kernel works in 32 bit, how can i create a 32bit bootable image with grub2 ?!
2. i was get grub2 source code and, i comipled it but i coudn't find stage1 and stage 2 files. therefore i use grub-mkimage command to make image but i got following message:
where is problem? and what is moddep.lst?
1. I'm using linux ubuntu 64 bit, but my kernel works in 32 bit, how can i create a 32bit bootable image with grub2 ?!
2. i was get grub2 source code and, i comipled it but i coudn't find stage1 and stage 2 files. therefore i use grub-mkimage command to make image but i got following message:
Code: Select all
./grub-mkimage -o test.img multiboot sh elf32 -Oi386-multiboot -d./ sh elf32
./grub-mkimage: error: cannot open .//moddep.lst.