making cd image

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Meshounah
Member
Member
Posts: 38
Joined: Sun Jun 24, 2007 6:48 pm

Post by Meshounah »

i got it... dd is in the default package :shock:

ok i downloaded a premade grub image... but what is the command to add a file(kernel in this case?)
chik'n
urxae
Member
Member
Posts: 149
Joined: Sun Jul 30, 2006 8:16 am
Location: The Netherlands

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Wiki...

Disk_Images
[wiki]Category:Disk_Image_Utilities[/wiki]
Every good solution is obvious once you've found it.
Post Reply