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

Robert Dale robdale at gmail.com
Tue Aug 1 18:00:27 EDT 2006


On 8/1/06, Roy Vestal <rvestal at trilug.org> wrote:
> 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?

Unfortunately it's not that simple.  Somewhere along the way you have
to tell the bootloader where are those files.  Try this util
http://ms-sys.sourceforge.net/

-- 
Robert Dale



More information about the TriLUG mailing list