On Wed, 2002-05-15 at 06:57, Dan wrote: > Hello! I need to create a simple bootable fat32 partition. > Partitioning, making it active, writing correct MBR isn't a real problem. > Formatting that partition is trivial as well- mkdosfs -F32 device, but then > the REAL problem begins. Is there a simple way to transfer usual msdos > bootloader + system files without messing with BPB/FAT? I've tinkered with > mkdosfs, replacing its dummy bootloader with msdos one. It does start, but > still refuses to boot io.sys, due to io-errors (yes, I've placed io.sys + > msdos.sys correctly and double-checked the FAT). > > What's the solution? Of course, using dosemu + dexe to run "sys source: > target:" still works, but I'd like to do that using native linux tools. > Another way is to create a small bootable partition and use dd to read/write > image, but this way will work for this particular case only, cause some > specific info is still located in BPB/FAT table. :(
I think booting from a DOS floppy and saying "format/s c:" or "sys c:" are the only legal methods. The DOS partition starts below cylinder 1023, right?? -- +------------------------------------------------------------+ | Ron Johnson, Jr. Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org:81 | | | | "I have created a government of whirled peas..." | | Maharishi Mahesh Yogi, 12-May-2002, CNN, Larry King Live | +------------------------------------------------------------+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]