BOCHs

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.
Post Reply
Dozzer

BOCHs

Post by Dozzer »

How to make hdd images for bochs. I know how to create new one, but clear.. bxImage..
How to create it with files and file heirarchy inside?
PS: Without creation additional partitions on my hard drive.
K.J.

Re: BOCHs

Post by K.J. »

Make a boot disk:
in Win DOS prompt:
format a: /s

Copy fdisk.exe to it and format.com:
copy c:\windows\command\fdisk.exe a:\
copy c:\windows\command\format.com a:\


Then make an image of that floppy with something like WinImage:
http://www.winimage.com/winimage.htm

Then boot from the floppy image in Bochs with the hd image inabled and use fdisk and format to get the hard drive image formated.

If you have Linux this whole process is a ton easier. I'd tell you how but it's been awhile since I've done it on Linux. If you want the Linux instructions I'll try and find them for you.

Hope that helps you,
K.J.
Dozzer

Re: BOCHs

Post by Dozzer »

i understood the general idea... thnx..
btw, i use dd for floppy image creation in linux
Tim

Re: BOCHs

Post by Tim »

If you have mtools (IIRC it comes with Bochs...?) you can set up your mtools.conf to point to your new disk image and copy files to/from it.
Dozzer

Re: BOCHs

Post by Dozzer »

No I have no mtools in my distribution.. can you provide the related link to them?
K.J.

Re: BOCHs

Post by K.J. »

MTools can be found here:
http://www.tux.org/pub/knaff/mtools/

If you get it, you can even format your HD image with it(mformat).

K.J.
Dozzer

Re: BOCHs

Post by Dozzer »

OK, i understood.
Then, what do you prefer: layered technology of kernels or micro kernels? I can't undestood why authors create that categorization cuz i think these terms overlaps...  :'(
But the layered technology looks better.. How to realize it.. I think that I can realize kernel in layered technology with modularity, BUT micro kernel appears.. am i right? or not?

I bought two books:
1. A. S. Tanenbaum, A. S. Woodhull: "Operation Systems: design and implement". The seller said the best book about how to contruct OS with native example "minix".
2. A. S. Tanenbaum: "Modern Operation Systems". Describes all approaches how to contruct OSes.

Is my choise good? Shall I buy another books? What do you can advice to me?
Post Reply