Article View: comp.os.linux.misc
Article #760Re: SYS C: from within linux
From: Jeremy Mathers
Date: Sat, 05 Apr 1997 00:00
Date: Sat, 05 Apr 1997 00:00
37 lines
2118 bytes
2118 bytes
In article <Pine.LNX.3.96.970404015540.5152A-100000@greenbush.greenbush.lan>, Paul Wade <paulwade@greenbush.com> wrote: >On 3 Apr 1997, Piet Ruyssinck wrote: > >> I need to turn /dev/hda1 into a bootable M$-DOS partition from within >> linux, so after the >> /sbin/mkdosfs -s 16 /dev/hda1 >> I should do the linux equivalent of >> SYS C: >> >> Does such a utility exist ? > >You might be able to do it from dosemu, but that requires a copy of MS-DOS >to set up. I suppose the cannonical answer here is: 1) Put DOS installation floppy in first diskette drive (/dev/fd0). 2) mount /dev/fd0 /mnt 3) cd /mnt 4) mv autoexec.bat autoexec.old 5) echo sys C: > autoexec.bat (Assuming one of the normal versions of DOS where the root directory of the installation disk contains all the DOS utilites - back when the world was young and DOS fit on one disk) 6) cd;umount /dev/fd0;reboot The real question is: Why do we want to do this? What's the real issue? ************************************************************************ I am master of my domain. - pynq@quads.uchicago.edu, who is still costing the net hundreds, if not thousands, of dollars, every time he posts - ************************************************************************ rwvpf wpnrrj ibf ijrfer
Technical Details
Message-ID:
<E86J43.GIL@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5hvv9s$p9@infoserv.rug.ac.be> <Pine.LNX.3.96.970404015540.5152A-100000@greenbush.greenbush.lan>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,b74f03c7b9af5b25 X-Google-Attributes: gid1103af,public X-Google-Thread: 111c4c,b74f03c7b9af5b25 X-Google-Attributes: gid111c4c,public X-Google-Thread: f9b51,b74f03c7b9af5b25 X-Google-Attributes: gidf9b51,public From: pynq@midway.uchicago.edu (Jeremy Mathers) Subject: Re: SYS C: from within linux Date: 1997/04/05 Message-ID: <E86J43.GIL@midway.uchicago.edu> X-Deja-AN: 230962641 Sender: news@midway.uchicago.edu (News Administrator) X-Nntp-Posting-Host: ellis-nfs.uchicago.edu References: <5hvv9s$p9@infoserv.rug.ac.be> <Pine.LNX.3.96.970404015540.5152A-100000@greenbush.greenbush.lan> Organization: Juli! Juli! Juli! The Juli Wood Fan Club. Newsgroups: comp.os.linux.misc,comp.os.linux.setup,be.comp