Page 2 of 2
Posted: Sun Oct 07, 2007 10:00 am
by Meshounah
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?)
Posted: Mon Oct 08, 2007 7:34 am
by urxae
Meshounah wrote:ok i downloaded a premade grub image... but what is the command to add a file(kernel in this case?)
If it's a FAT image, it's
Code: Select all
mcopy -i disk.img kernel.elf ::/kernel.elf
(replacing disk.img and kernel.elf with your preferred filenames if different, of coruse)
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.
Posted: Mon Oct 08, 2007 7:58 am
by Solar
Wiki...
Disk_Images
[wiki]Category:Disk_Image_Utilities[/wiki]