[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Info-mtools] mtools command equivalent for the DOS program SYS.COM?
From: |
Alain Knaff |
Subject: |
Re: [Info-mtools] mtools command equivalent for the DOS program SYS.COM? |
Date: |
Mon, 04 Apr 2011 11:04:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 |
On 2011-04-02 16:13, Jörg Jenderek wrote:
> There seems not to exist a mtools command equivalent for the DOS program
> SYS.COM.
> Of course this work can be done by the dd program, but it is non
> comfortable and susceptible to faults.
>
> So it would be nice if the maintainers of the mtools could implement such a
> command like "msys [SOURCE] DRIVE:".
>
> This seems not so time consuming because the code to transfer a bootloader
> code (maybe given by -b switch) to the boot sector of a drive could be be
> taken from the "mformat" source.
> It would be nice if such an mtools program and the mformat command have an
> an option to switch between different DOS bootloader styles for "PC-DOS",
> "MS-DOS", "MS Win9x DOS", "mkdosfs" like the newer FreeDOS SYS version
> offers.
> To emulate the DOS SYS program it also should copy a DOS Kernel (like
> IO.SYS,IBMBIO.COM, KERNEL.SYS depending on DOS types) and a command line
> interpreter (like COMMAND.COM, 4DOS.COM). This code can be based on the
> source from the mcopy and mattrib commands.
For this, you might be interested in the "syslinux" tool:
http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
Regards,
Alain