There are 3 parts to this article: Part1 – Part2 – Part3
We sometimes need a real GNU/Linux system to fiddle with, even when we are on our Mac. It is useful to test out configurations, etc. Bochs works well as an emulator. Slow, but it is free. What to install for the GNU/Linux system, though? Giagd would be interesting, but we really wanted a more standard library. DSL was just about perfect. We don’t want a lot of geegaw slowing our system down with Bochs. DSL is used in a variety of ways. We decided to take the ISO system, boot it up, and convert it to run from the hard disk image. There are some scripts for this at the DSL site; however, they didn’t work for us, so we flew solo. We wrote about setting up disk images in this article, and we will need one to transfer the system to hard disk. Here is a picture of DSL booting up via the ISO image:
We are getting further along in the boot process. The autoconfiguring of devices is very slow. We’ll fix that later on:
Edit your ~/.xinitrc script so that the only thing that runs is fluxbox:
Of course, you can change this later, it is just nice to load X as quickly as possible at first. The default is pretty slow under Bochs. To get root access with this distribution, there is a shell off of the menu. Use the apple key and click to get a menu on the desktop:
Here we have formatted and mounted our disk image. We need everything in the KNOPPIX directory (guess what DSL is based on?). Rather than use cp to copy the files, we use tar with a pipe between:
tar -cvpf - . | tar -xp -C /mnt/hda/ |
This catches strange files better, it shows you what files are copying, and we have always had good luck with this method of transferring between filesystems: