Is it possible to add files to an ISO?
The problem is that I have msdos6.2.iso for floppy, win98_install_cd.iso for cdrom and IMG.img for hda. I use it in qemu. But when I boot from within floppy or cdrom qemu can't see my hda. So I want to add files of win98 to the end of msdos iso, then make it my IMG.img, and eventually boot from it and install win98 :)
Is there any way to do that? Thanks. |
IIRC, you can mount it using the loopback interface (mount -o bind - see the man page) and edit the iso to your heart's content.
But you should be able to get Qemu to recognise the hda - how are you starting it up? |
Code:
kornerr@kornerr:~$ qemu -hda win98.img -fda msdos6.2_floppy.iso -cdrom _win98_install_cd.iso -boot d Also, I'll try to edit ISO. Thanks. |
Well, I can remove files as root user. But msdos.iso is only of 1.4M! How to increase its size?
Thanks. |
Mount the iso as you're doing now. Then copy all the files/directories from the iso mountpoint to a new directory. Add the extra files you need to this new directory. Then create a NEW iso from the new directory.
|
All times are GMT -5. The time now is 06:18 PM. |