NetAdminTools.com
 
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Running a GNU/Linux Distribution on Mac OS X using Bochs - Part 1
Topic: Interoperability   Posted:2005-11-04
Printer Friendly: Print

spacer
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:



There are 3 parts to this article: Part1 - Part2 - Part3




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com