ISO image convertion?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

ISO image convertion?

Post by Zacariaz »

Just a quick question.
Would it be possible to convert a bootable cd image to a bootable harddisk image?

Thanks
This was supposed to be a cool signature...
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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? :?
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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?
This was supposed to be a cool signature...
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

I don't know how you would do that, but personally I use dd.. :wink:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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.
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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?
This was supposed to be a cool signature...
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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.
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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.
This was supposed to be a cool signature...
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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 :) .
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post by Zacariaz »

ill stick with kolibri then, thanks a bunch!
This was supposed to be a cool signature...
Post Reply