Page 1 of 1

BOCHs

Posted: Sat Mar 02, 2002 12:55 pm
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.

Re: BOCHs

Posted: Sat Mar 02, 2002 4:10 pm
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.

Re: BOCHs

Posted: Sun Mar 03, 2002 4:51 pm
by Dozzer
i understood the general idea... thnx..
btw, i use dd for floppy image creation in linux

Re: BOCHs

Posted: Mon Mar 04, 2002 1:30 am
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.

Re: BOCHs

Posted: Mon Mar 04, 2002 4:35 am
by Dozzer
No I have no mtools in my distribution.. can you provide the related link to them?

Re: BOCHs

Posted: Mon Mar 04, 2002 5:39 am
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.

Re: BOCHs

Posted: Mon Mar 04, 2002 8:22 am
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?