Page 1 of 1

HDD Tools

Posted: Mon Aug 17, 2009 8:18 pm
by AUsername
Hey, I've noticed something. There's no and I mean no tools to work with HDD images...

I'm not making an entire installer for my OS and run it every time I need to update the files so I just wrote some programs, I still need to write 2 more (hddformat, hddwrite) but the ones that are done will allow you to write an MBR and first stage bootloader.

Anyway,
http://www.ara.storylinecreations.com/p ... DTools.zip

Contains:
- hddsector.exe - Write a file to a sector
- hddpart.exe - Read/Write to partition
- hddformat.exe - Format a partition in the disk with FAT32 (and only FAT32, sorry)
- ReadMe's

Working on:
- hddwrite.exe - Write a file to a partition with FAT32 (same as above)

I may think about releasing the source to the tools I'm working on so people can program it to work with ext2/3 since I think there's a good number of people around here that also use ext2/3 in their OS.

Commands, suggestions, bugs?
Report them here or at my email.

Thanks ^-^

Re: HDD Tools

Posted: Mon Aug 17, 2009 8:42 pm
by pcmattman
mtools can perform operations on FAT partitions that already exist in disk images.

However, I'm intrigued at hddformat: Just the other day I was searching high and low for a solution to format a specific partition of a disk image with FAT (and FAT32, and that). If you also had tools to generate partitioned images, between mtools and your tools, I'd be set! :)

Re: HDD Tools

Posted: Tue Aug 18, 2009 9:54 am
by AUsername
pcmattman wrote:mtools can perform operations on FAT partitions that already exist in disk images.

However, I'm intrigued at hddformat: Just the other day I was searching high and low for a solution to format a specific partition of a disk image with FAT (and FAT32, and that). :)
Thanks, never heard of mtools before, I'll look into it.

I finished hddformat last night though I'm not sure what will happen if you don't have a FAT32 BPB already in place because it uses the BPB to find the FAT and root directory.
If you also had tools to generate partitioned images, between mtools and your tools, I'd be set!
Not sure I understand what you mean?
bximage + hddpart?

Re: HDD Tools

Posted: Tue Aug 18, 2009 10:09 am
by whowhatwhere
You know what would be great? If people actually used the search function once and awhile.

Re: HDD Tools

Posted: Fri Aug 21, 2009 1:55 am
by flash
I've written a tool (wf) for writting fat32 file system in hard disk images.

I am now using it to write kernel and module files into my os disk image.

The source files and binaries(windows&linux are both supported) are here: http://code.google.com/p/sgos/source/br ... 2/tools/wf

Re: HDD Tools

Posted: Fri Aug 21, 2009 3:06 pm
by AUsername
flash wrote:I've written a tool (wf) for writting fat32 file system in hard disk images.

I am now using it to write kernel and module files into my os disk image.

The source files and binaries(windows&linux are both supported) are here: http://code.google.com/p/sgos/source/br ... 2/tools/wf
Awesome. :D

It says it failed to write for me. The root directory entry is kinda there it's missing everything else except for the name. But that's probably my fault. :P