Good bootstrapping resources
-
Does anybody know some packages or developmental kits I could download, so I could create a bootable software in C or C++. A few links would be nice, thanks.
Simple Thanks and Regards, Brandon T. H. Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst). Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
-
Does anybody know some packages or developmental kits I could download, so I could create a bootable software in C or C++. A few links would be nice, thanks.
Simple Thanks and Regards, Brandon T. H. Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst). Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
Brandon, If you are still working on this nuclearBoot[^] bootstrap project... then you should forget about doing this from a MBR bootstrap. How exactly do you plan on mounting NTFS/FAT32/exFAT drives? Do you realize that you would need to implement your own filesystem parsers? At such a low level... you would be dealing with raw disk sectors unless you plan on parsing these file systems yourself. If I were you I would take a look at BusyBox[^] and use that for your project. It can be customized to do everything you want... 1.) It is customizable and bootable. 2.) It can mount NTFS,FAT,FAT32,Ext2/3/4 and more... 3.) You easily could move/delete/backup files from your application. 4.) You could fill a drive with zeros by doing 'dd if=/dev/zero of=/dev/sda bs=1M' 5.) You could fill a drive with randomness by doing 'dd if=/dev/urandom of=/dev/sda bs=1M' 6.) Everything is open source! You could modify or improve the source code. Best Wishes, -David Delaune