[TriLUG] Here's a fun one - bootable DOS partition under linux

Roy Vestal rvestal at trilug.org
Tue Aug 1 15:39:43 EDT 2006


Ok...I need to be able to boot from my live cd, create a FAT32 
partition, make it boot able, then remove the live CD,and reboot to the 
HDD into DOS.

Now, I have the partitioning down:
sfdisk /dev/sda < ./disk.info  - where disk.info = 1,730,c,*. This 
creates a 6GB Fat32 (LBA) partition set to bootable.

Formatting:
mkdosfs -s 8 -F /dev/sda1

And I have the DOS IO.SYS MSDOS.SYS and COMMAND.COM copied in THAT order.

When I try to boot, it just doesn't. It's like there is no FDISK.

DOS tools are not an option here. It *must* be created with linux.

Any ideas?

Roy



More information about the TriLUG mailing list