Diskless DOS via PXE (netboot) - need help (Users)
OK. Got it working. Problem solved. Apparently the only way to have diskless DOS with writable drive is PXE booting a prebuilt DOS image and then mounting a network share via SMB or NFS. I have tested both solutions and both are quite satisfying and yet have similar flaws.
For NFS booting I took one of rugxulo floppy images (https://sites.google.com/site/rugxulo/) and added packet driver for a client NIC and DOS NFS client. To my surprise, back in the days there were quite a few such applications like:
- Tsoft's NFS Client http://www.rawbandwidth.com/software/ (you can download it from the company website, it's a time trial and believe me or not - you can still buy license for it) .
-InterDrive included in PC/TCP from "FTP Software, Inc." (another commercial application, 10 disks install PCTCP41.ZIP)
-XFS by Robert Juhasz (it is easy to find and download, well documented and it was distributed as shareware)
For the reasons mentioned above I picked XFS. Latest version seems to be xfs191.zip (there was also 8088 version named xt-191.zip but it's nowhere to be found). It requires a packet driver to work and let's you mount NFS shares as local drives. No additional configuration for system files is needed (except LASTDRIVE=Z). The only struggle was that one of the binaries XFSTOOL.EXE suffered from Borland Pascal "Runtime Error 200" (division by zero if your PC is faster than Pentium Pro 180MHz). What you need then is TPPATCH.EXE to patch the binary (http://www.merlyn.demon.co.uk/pas-r200.htm#tppatch).
Using XFS is easy as all the configuration can be saved in an init scripts and invoking xfs.bat results in NFS share being mounted for example as a local C:\ drive. Using this method I ended up booting DOS floppy image via PXE, mounting NFS share and running XFDOS (https://code.google.com/p/nanox-microwindows-nxlib-fltk-for-dos/wiki/XFDOS) graphical desktop SLWM entirely from LAN.
The second approach I have tried was creating boot floppy with MSCLIENT (Microsoft Network Client ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/) to access and mount Samba shares as local drives. It's even easier and like above it all fits on a single 1,44MB floppy. You need to strip the installed MSCLIENT from few unnecessary files - look here https://groups.google.com/forum/#!topic/comp.protocols.smb/da0b9WpgJaM or here http://www.windowsnetworking.com/articles-tutorials/windows-nt/dosclflp.html (look at the end - no need for compression!).
The flaws I have mentioned earlier are a long file names. Both XFS and MSCLIENT goes wild when file name is longer than original DOS 8.3 format. Listing directory including long file names:
- MSCLIENT maps long files and directories as random (?) names (fortunately it preserves files extensions and lowercase names).
-XFS makes even proper DOS names (and short but lowercase) messed by adding a tilde plus two random characters ...and replacing extension to something random like THISI~FG.~HJ too, making the files unusable. Solution to this is adding "map=upper" to XFSTOOL.EXE mount command so the files that are lowercase are not mapped at all but the valid DOS names are showing up OK.
I don't know which side (server/client) is responsible for this and if it's an original behavior of the applications like back in the days). Assuming that I want a diskless DOS for using DOS applications I don't need long file names so the issues above are not a big deal for me.
Summing this up - it took me a while to google and figure it all out so maybe someone like me, who wants to waste a bit of his life for similar project gonna save some time after reading this.
--
t.
Complete thread:
- Diskless DOS via PXE (netboot) - need help - totalizator, 22.05.2014, 23:36
- Diskless DOS via PXE (netboot) - need help - totalizator, 30.05.2014, 19:43
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 16.06.2021, 22:17
- Diskless DOS via PXE (netboot) - need help - rr, 16.06.2021, 22:36
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 16.06.2021, 23:08
- Diskless DOS via PXE (netboot) - need help - rr, 17.06.2021, 20:25
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 16.06.2021, 23:08
- Diskless DOS via PXE (netboot) - need help - rr, 17.06.2021, 21:56
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 18.06.2021, 12:53
- Diskless DOS via PXE (netboot) - need help - rr, 18.06.2021, 17:47
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 18.06.2021, 12:53
- Diskless DOS via PXE (netboot) - need help - rr, 16.06.2021, 22:36
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 16.06.2021, 22:17
- Diskless DOS via PXE (netboot) - need help - glennmcc, 24.06.2014, 02:08
- Diskless DOS via PXE (netboot) - need help - Oso2k, 25.06.2014, 00:47
- Diskless DOS via PXE (netboot) - need help - RayeR, 25.06.2014, 01:54
- Diskless DOS via PXE (netboot) - need help - glennmcc, 25.06.2014, 04:36
- Diskless DOS via PXE (netboot) - need help - totalizator, 25.06.2014, 14:56
- Diskless DOS via PXE (netboot) - need help - glennmcc, 25.06.2014, 04:36
- Diskless DOS via PXE (netboot) - need help - dggionco, 22.06.2021, 18:17
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 07.07.2021, 11:03
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 19.07.2021, 23:54
- Diskless DOS via PXE (netboot) - need help - mcluskyism, 07.07.2021, 11:03
- Diskless DOS via PXE (netboot) - need help - totalizator, 30.05.2014, 19:43