Page 1 of 1

can we edit bochs's image file

Posted: Sat May 10, 2003 9:21 pm
by yan
as the title said:can we edit bochs's image file,i just want to add/cut some files in a '.img' file

Re:can we edit bochs's image file

Posted: Sat May 10, 2003 9:29 pm
by Perica
..

Re:can we edit bochs's image file

Posted: Sat May 10, 2003 9:55 pm
by yan
oh bad!i didn't explain my idea correctly!

i meant can we edit Disk Images for bochs?
i tried to edit a floppy drive's image in 'winimage' ,it successed.but when i change to edit a larger image for hard drive,it failed.what can i do if i want to edit a large one?

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 2:01 am
by beyond infinity lazy
you create a larger image file with this tool provided by bochs.

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 5:06 am
by Tim
To create a hard disk image, I do this:
1. Create the file using bximage
2. Add it to the bochsrc.txt
3. Boot Bochs with a FreeDOS image in drive A:
4. Use the FreeDOS fdisk and format programs to partition and format the new hard disk image
5. Optionally, use the FreeDOS sys program to install FreeDOS onto the hard disk

You can now edit the hard disk using Winimage.

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 6:23 am
by yan
sirs:

1.just edit file,not creat one.

2.maybe linux's file system(ext2?) is quite diffirent from freedos(fat?),so winimage can't recognize it.

3.my image is from http://prdownloads.sourceforge.net/boch ... z?download

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 7:50 am
by Tim
You're right -- Winimage won't recognise ext2. You'll have to find a different program.

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 8:53 am
by yan
what program can i choose?

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 10:23 am
by Tim
Download the one at www.google.com.

Re:can we edit bochs's image file

Posted: Sun May 11, 2003 8:14 pm
by yan
what except winimage,just suggest one

Re:can we edit bochs's image file

Posted: Mon May 12, 2003 1:29 am
by Tim
Either I can type "ext2 disk image editor" into Google, or you can. It'll be quicker for you if you do it, because you won't have to wait for me to reply. Otherwise, I have no idea.

Re:can we edit bochs's image file

Posted: Mon May 12, 2003 4:01 am
by Pype.Clicker
i know there is a EXT2FS explorer for windows (ext2plorer or something alike) which can handle real EXT2 partitions from a windows program ... maybe the same program will be able to handle file images ...

Re:can we edit bochs's image file

Posted: Mon May 12, 2003 5:28 am
by yan
Explore2fs is realy a good tool,but it can just view,not edit.It can export most of files but regular ones.
Hoping new version.

Re:can we edit bochs's image file

Posted: Mon May 12, 2003 5:32 am
by Pype.Clicker
it *can* edit ... the writing feature is just disabled by default and highly unrecommended, but if you're operating on a disk image, this should not be a problem :)

Re:can we edit bochs's image file

Posted: Mon May 12, 2003 6:17 am
by yan
thanks sir,i found the way.

in help files:
version 1.00 pre 5
- 20020420
- Removed write support. If you realy want to use it set "DangerWriteSupport" = True in the registry

so i add DangerWriteSupport(N),1(V) in HKEY_CURRENT_USER\Software\Newbigin\explore2fs\
and it's ok now.