Forcing DOS onto an unwilling ThinkPad R60e
I decide that doing DOS development means I need a real computer, rather than an emulator. I have an old laptop, surely making it run DOS canāt be that hard, right?
The device in question is this. Itās an IBM ThinkPad R60e. It says IBM on the lid, it says IBM in the BIOS, but it also says Lenovo on it. I have no idea, I think it was made in that weird time before Lenovo completely took over the IBM branding.
You can see it clearly meets all the asethetic requirements for being a DOS laptop ā a 5:4 aspect ratio screen, chunky screen bezel, says IBM on it, looks like you could use it as a weapon.
Minor issue⦠Itās actually quite modern, as far as laptops go.
A 1.6GHz Centrino and 1GB of RAM, with a date of 2006 is probably a bit too much for DOS really. Itās a Windows XP computer really.
And it really didnāt want to run DOS at all. MS-DOS wouldnāt install because it comes on floppy disks, and this laptop doesnāt have a floppy drive. And bootable DOS USB drives arenāt a thing.
FreeDOS did install, itās a bit more smart. Fortunately the BIOS in the laptop exposes the SATA drive as something DOS can understand, so it didnāt do the comical thing of booting off USB, then failing to find any storage devices.
The problems came when I tried to install it. Due to a mixup with how FreeDOS sees drives, I accidentally thought the C: drive visible in FreeDOS was the laptopās hard drive ā it isnāt itās the USB drive ā and I accidentally wiped that using fdisk. Which thoroughly broke the installer.
Eventually I got a grip and installed FreeDOS. The big problem with using DOS is that it has no clue what USB is. The USB stick worked for the installer because the BIOS made it available to DOS as a boot drive.
Booting FreeDOS off the hard drive and putting a USB stick in didnāt do anything. To get files into the machine I was stuck with needing to copy them to the FreeDOS USB stick, booting off that, then copying them to the HDD and rebooting.
To lesson this irritating farce I decided I wanted Windows 3.11 because that has networking. Things were generally going OK until Windows announced it couldnāt find an SVGA display, so I had to make do with 16 colour VGA instead.
Any attempts at changing the screen resolution or adapter gave me weird āDOS Errorā message boxes, which seem to be Windows 3.1ās way of saying āI donāt run in FreeDOSā. It seems to be a thing.
I figured for a laugh Iād try and make MS-DOS run on the laptop whether it liked it or not. My method was somewhat unconventional. If I got it working though, I might end up with MS-DOS, Windows 3.11 and networking all working find on this machine. I had to get MS-DOS on there somehow though, but it wouldnāt boot, so I couldnāt install it.
What even does it mean to install DOS on a computer anyway? Unlike more complex operating systems, there isnāt much to it. You need to put a bootloader into the hard disksās master boot record, then make sure the base DOS files are on the drive ā io.sys, msdos.sys and command.com. Thatās it.
I found a link to a tool on some Microsoft Tech Community site explaining how to make a bootable USB stick for DOS, using a tool called RMPrepUSB. This did indeed make a bootable USB stick. It didnāt work with the DOS installation floppies, but thatās OK. We can do this by handā¦
All you need to do is correctly partition the drive and format it for DOS, then from any random booting instance of MS-DOS just type
sys a: c:
And thatās it. DOS is now installed on the hard drive. Windows happily installed (but still couldnāt see the SVGA card, I guess Lenovo/IBM didnāt properly emulate this).
For added fun I discovered Lenovo made DOS and Windows 3.11 drivers for the network card. They didnāt make drivers for anything else, just the network card. However they donāt actually work or install. But knowing the hardware was a āBroadcom NetXtremeā card lead me to a Dell website of all places with working drivers.
I couldnāt get SAMBA working, the old Windows 3.11 version is just too old now, and even enabling SMBV1 on my TrueNAS box didnāt make it work. Old Windows networking was really fussy anyway, so I gave up and used FTP instead, that worked well.
Is it worth it though? No. Not really. The laptop has no PS/2 ports, so Iām stuck using the nipple mouse which is a bit annoying. Also the battery in this laptop is dead so itās not exactly the portable DOS development environment I was hoping for. Also I have no easy way to back the thing up, if the over 20 years old SATA drive dies, itās gone. And using Windows 3 in 640Ć480 16 colour is a bit too retro for my liking.
Iām going to stick with using 86Box instead. It still has the same inherant problems for getting data in and out of it, but at least I can back up the entire drive image on my host PC.
#IBMThinkPad #MSDOS #RetroComputing
https://ncot.uk/?p=2261