(This is a guest post by Antoni Sawicki aka Tenox)
A couple of months ago we hosted VIrtualization Challenge for QNX v1.2. I expected that the hard part would be to circumvent the copy protection and the rest would be easy. It turned out to be quite the opposite! The copy protection was worked around in no time by several people independently. What turned out to be impossible is to install the OS on a hard disk.
QNX 1.2 does have several drivers for different hdd controllers including BIOS mode. It has fdisk, can create partitions, install MBR, format fs, mount hard disk volumes… but it cannot install boot code. Apparently this functionality has been added only in QNX 2.x. After a long debate we settled for a solution where you boot kernel from a floppy disk and use the rest of the os from a hard disk. This was implemented by Forty who won the challenge which was outlined in this post.
In a rather unexpected turn of events Dan Dodge, co-creator and CEO of QNX Software Systems himself reached out to us and offered to extend the contest to finish the process properly. Dan is offering $2000 prize for making QNX 1.2 boot from hard disk without use of the boot floppy disk. I have confirmed the details in an email exchange.
Rules: As always the winner will be the first person who provides a working image in the comments. Any emulator/hypervisor is allowed. You can use boot loader from QNX 2.x, or write your own or anything else you come up with. There are some tips in Dan’s comment. Ask away for more details. The QNX repository is here. Good luck! 🙂
Update: The challenge has been completed! The winner is Mihai Gaitos and this is the winning entry. I will work with Mihai to get a more detailed blog post of what has been done and Dan to hand out the $2000 prize. Congratulations!!!
You’ve probably seen it, lots of outages lots of delay and well not a lot from me.
life has been incredibly busy as I thought I was out of the IT rat race but things happened and I’ve ended up staying in.
so yes once more again “docker” and k8 make everything easy to deploy but maintain and work, well that is another story. So it turns out that Rancher OS k8’s will shut down once the disk hits 85% capacity.
ok that sounds like a lot but on a 1tb volume that is 125GB?!!! No warning no, no nothing just “disk pressure” on the console and that is it.
[email protected]:/opt/local-path-provisioner# df -h . Filesystem Size Used Avail Use% Mounted on /dev/sda1 873G 712G 115G 87% /opt
I like the ability to publish secrets and import and export settings between containers, but the incredible lack of logging is unreal. The k8 manifest for MySQL kept on failing on my server. I have no idea why.
zero logging info
I deploy the docker version directly, and if you can read this it’s working.
clearly I’m the old man out of touch.
but for a single node, UML is the way to go.
plus you can use your entire disk.
so yeah trying something new although I don’t think it’ll last all that long.
(This is a guest post by Antoni Sawicki aka Tenox)
I certainly can’t claim to be the first as this has already been done by our friends at OS/2 Museum. However with low vanilla VGA resolution and no networking the results were unsatisfactory. Having so much success with 86Box I decided to try to do a little better.
I bought my UnixWare 1.0 media kit years ago on eBay. Unlike the tape set owned by OS/2 Museum mine had CDROM as install media. Unfortunately despite many many tries with different types of cdrom/bus/ide/scsi card I could never get the OS to see it. The cdrom/iso image is just a typical set of sysv packages. As such I wanted to see if it would be possible to convert it to a set of floppy disk images and install this way. Attached the iso image in UnixWare 7.1.4 VM and did a pkgtrans like so:
pkgtrans -s cdrom1 diskette1
From there I created a bunch of floppy disk images, which I later used for installation. Thanks to Plamen I was also able to get TCP/IP disks which I added to the install set.
Update: thanks to ArtiomWin I also got a BusLogic HBA driver disk, which allowed me to see the cdrom attached over SCSI. As such I decided to remaster the original iso image with added TCP/IP set, Update package and bash+gzip. The iso image is here.
Upon first boot after install from CDROM you get prompted to choose a NIC driver:
Unfortunately none of them really worked in 86Box for some reason. They get detected and you can see the MAC Address but not much after that. 3C503 and NE2K freeze the system, WD works bit better but you can’t really communicate with anything. Maybe it’s just my PCap configuration.
After installation I mounted the cdrom again and added TCP/IP set:
One of main issues bugging me was lack of proper resolution. UnixWare 1.0 has a high resolution mode for Tseng ET4000 card which is supported in 86Box. You can change the resolution using /usr/X/adm/setvgamode as root. It worked perfectly, except for fonts, which required some surgery in /usr/X/defaults/Xwinfont. This is how it looks like fixed up:
UnixWare comes with Merge DOS emulator. It can even run graphical applications in windowed mode for CGA and HGC. VGA is only possible in full screen mode.
All this cool stuff before Linux was even born!
DOS Menu is invoked by Scroll Lock. You can switch consoles between text and X11 by pressing CTRL+ALT+SYSRQ and ‘p’. I have also added bash and gzip binaries.
The ready to run 86Box image is here. Virtual Box OVA here. Install media here. Login with user/user, root/root.
Technically the competition has been won by Crazyc who was the first to submit disk images with copy protection worked around. He however waived his monetary prize and did not do any further work on making whole system bootable from hard disk.
While the copy protection turned out to be quite easy to circumvent and several people did it independently, installation on a hard disk proved to be quite impossible. You can fdisk, create partitions, lay out file system, mount and copy files to hard disk. However there is no way to install a boot loader and the kernel. QNX 2.x and above provide a way of doing it but unfortunately not version 1.x. Many people including various QNX gurus looked at it and we all gave up at this point.
Probably the only reasonable way of using hard disk with QNX 1.x is to copy all files from all the floppies to the hdd. Then use the boot floppy disk for booting and the rest from hard disk. This is likely why the disk set came with a backup copy of boot disk. This is what Forty eventually did in effect winning the competition. Forty supplied a 86Boxready to run configuration with patched and modified boot floppy to mount and use the hard disk image. I have buffed it up a bit to a faster XT and EGA video for better resolution. This is how it looks like during boot:
You can safely ignore date/time prompt with enter. To login to the system just enter slash ‘/‘ as the user name:
You can find all the binaries in /cmds directory. The system does have some sort of networking facility but I have not figured it out yet. Probably a good candidate to explore in another post.
QNX has a super cool editor which is basically ed on steroids. Documentation for it can be found in 2.x manuals.
Also working C compiler:
Finally QNX has some sort of a DOS emulator or hypervisor called QDOS:
Unfortunately I don’t know how to exit that. There is a little bit information about QDOX in expl inform section about other QNX products:
Congratulations to Forty for winning the competition and gettin $100 via PayPal. Thanks to his time and work you can boot and play the system yourself. 86Box files are here.
(This is a guest post by Antoni Sawicki aka Tenox)
In a few recent projects such as QNX 1.2 (and demo disk), Interactive Unix (also older post ) and Caldera (and older post) I have tried the 86Box emulator. Unlike others, now I could utilize an emulated video and network cards of wide variety. As everything I did simply worked out of the box I instantly fell in love. Truly awesome 86Box is now my daily drive for running old PC operating systems. As such I have decided to revisit some of previously half assed posts with the new weapon.
I have virtualized Dell Unix back in 2012 using Bochs and QEMU. Even with community support we have struggled to get a decent video resolution and had to use SLIP for networking. Today let me present Dell Unix more properly, with 1024×768, 256 colors video and proper networking using emulated VGA and NIC.
I started with allsoft.img which is Dell Unix and all packages installed from the tape on Bochs. I have disabled a few services in /etc/rc2.d namely mouse daemon (mse), sendmail, uucp, lp, etc.
For X Window I have edited /usr/lib/X11/Xconfig, enabled serial mouse (Microsoft) and 1024×768 mode. I have used Tseng ET4000AX VGA which is detected by Xmach server. This allowed X / xinit to run correctly. However for startx to work you need to edit /usr/lib/X11/xinit/xserverrc as it seems to be using slightly different configuration. For graphical login you can probably add x:3:respawn:/usr/bin/X11/xdm -nodaemon to /etc/inittab. However I have noticed that when ran from init, xdm seem not to pick up the Dell customized config files. Perhaps rc startup script should be created instead.
As a final note on X, the system has virtual consoles, like other SVR4 you access them by pressing SYSRQ and F keys. F1 is a text mode console, F2 is Xserver. This is my Dell Unix hero shot:
Networking was even easier. Dell Unix supports WD8003 and 3C503 NICs. I wanted to first try the WD one. In /etc/conf/pack.d/wdn/space.c you can find the predefined hardware probes. I have picked one of supported modes and the card was detected on subsequent reboot. That’s it. No need for kernel rebuild or any configuration. I have not tried 3C503 but if you want the driver for it is named ie6. For TCP/IP configuration you set your IP address in /etc/hosts and gateway in /etc/inet/rc.inet file.
I was able to quickly compile Mosaic, which curiously had Makefile settings for Dell Unix, and take it for a spin on the web with help of WRP:
One could probably want to compile more recent version of Mosaic with PNG support or maybe some more recent browser all together.
The system comes with a bunch of open source software in /usr/dell however as there was no bash or even gzip I have compiled some essentials. They are available here and as a /usr/local tarball.
For the lazy, as usual you can get a complete os image for 86Box here. Make sure to attach pcap to your local network interface and set IP address / gateway / dns server accordingly.
If you port some cool software or find any interesting gems in Dell Unix please comment!
Have fun with virtualization!
Update: I have been looking at contents of various distribution media for Dell Unix that have surfaced here and there. On a DAT tape I bought on eBay a few years back I found this file:
Whoa! Of course I want to install all of it! This is how FrameMaker 3.0 looks on Dell Unix:
I have updated the disk image for 86Box to have this included. You can run demo mode of FrameMaker by executing /usr/frame/bin/demomaker. I also imagine that this can be installed on pretty much any x86 SVR4 and above, maybe even Linux. If anyone has a license code / serial number please let me know!