i got it... dd is in the default package
ok i downloaded a premade grub image... but what is the command to add a file(kernel in this case?)
making cd image
If it's a FAT image, it'sMeshounah wrote:ok i downloaded a premade grub image... but what is the command to add a file(kernel in this case?)
Code: Select all
mcopy -i disk.img kernel.elf ::/kernel.elf
mcopy is part of mtools, which you may need to install first.
Alternatively, you could try mounting the file, copying the kernel over and unmounting it. I much prefer mcopy though.
Note: I'm not sure if mtools are available in cygwin, but I'm not aware of any reason they wouldn't be.