Page 1 of 1
ISO image convertion?
Posted: Tue Jan 01, 2008 11:29 am
by Zacariaz
Just a quick question.
Would it be possible to convert a bootable cd image to a bootable harddisk image?
Thanks
Posted: Tue Jan 01, 2008 12:31 pm
by Brynet-Inc
I don't think so.. a native CD-ROM bootloader can be significantly larger then 512 bytes.
Also, The file system used on CD-ROM's (ISO9660) wasn't designed for hard drives.
Why would you "want" to anyway?
Posted: Tue Jan 01, 2008 3:06 pm
by Zacariaz
it was just a question really. I had a weird idea which i wont bother you with, i do however have another question.
If we are talking regular images (.img in my case) it shouldnt be a problem writing it to ans usd device, regular harddrive or simular, but how du you du that?
Posted: Tue Jan 01, 2008 3:24 pm
by Brynet-Inc
I don't know how you would d
o that, but personally I use dd..
Posted: Tue Jan 01, 2008 4:57 pm
by Dex
Zacariaz wrote:it was just a question really. I had a weird idea which i wont bother you with, i do however have another question.
If we are talking regular images (.img in my case) it shouldnt be a problem writing it to ans usd device, regular harddrive or simular, but how du you du that?
Maybe you should take a look at MenuetOS source, as that OS load the whole floppy image into memory and user's it like a virtual disk.
I had the idea of using something like this as a virtual disk, the idea was to have a image on a hdd, then load it into ram from your OS, do things like load and save things to it, then write it back to the hdd as a image (eg: ima).
Some people may say why, but its much safer that way.
if you had a 10mb image, you will not need to resize it from your OS, So all you do is the same has read disk, but you write instead.
This means you can read/write to a ntfs partion.
For the image i would go for a hdd not a floppy.
Posted: Tue Jan 01, 2008 5:58 pm
by Zacariaz
Dex wrote:Zacariaz wrote:it was just a question really. I had a weird idea which i wont bother you with, i do however have another question.
If we are talking regular images (.img in my case) it shouldnt be a problem writing it to ans usd device, regular harddrive or simular, but how du you du that?
Maybe you should take a look at MenuetOS source, as that OS load the whole floppy image into memory and user's it like a virtual disk.
I would very much like that, but last time i tryed i couldnt download the source anywhere. Has it been released? has it allways been released and its just me being blind or something?
Posted: Tue Jan 01, 2008 8:09 pm
by Dex
You need to get the 32bit ver (64bit is closed source)
Then you need to get the image for floppy disk, once you put the OS on the floppy, the source should on the floppy.
Posted: Tue Jan 01, 2008 8:12 pm
by Zacariaz
whoa! ok i know menuetos is small but i blows my mind that they allso have space for the source. Anyway ill try to take a look at it, some complications though as i have neither a floppy drive or disk at hand, but i guess i could find a solution to that problem.
Thanks again.
Posted: Tue Jan 01, 2008 9:39 pm
by Dex
If you have a problems let me know and i will send you the code.
Also you can get the KolibriOS source code here:
http://www.kolibrios.org/?p=Download
Its based on menuet, but with a lots of improvements.
The team behind Kolibrios are top ASM coders
.
Posted: Tue Jan 01, 2008 10:54 pm
by Zacariaz
ill stick with kolibri then, thanks a bunch!