• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

MacLinux68: Lightweight buildroot based Linux for 68040 based Macs.

IlikeTech

Well-known member
Hello, I recently came across the Linux for 68k Macs web page, and I downloaded a 4.x.x Linux kernel.  It actually booted on my PB 520c, so I decided to make my own Root FS for it. 

I used Buildroot on my PC to make a cross compile tool chain for 68k, and I built a uClib based system.  Most commands are provided by Busybox, but it uses bash as a shell.

To test it, create an A/UX partition on a hard drive, and use the MacLinux Installer tools to make an ext2 filesystem on it.  Then, use the actual MacLinux Installer program to transfer the rootfs.tar file onto the partiton.  Next, unpack the tar file with this command:

tar -xvf rootfs.tar

This will take a while as it unpacks the root file system to the partition.  I would recommend a partition of at least 200MB, because the filesystem is around 50mb

When it finishes unpacking, start the Penguin program, located in the Penguin-19.sit file. Open its prefs with Command-T, and pick the path to the kernel file, and then, choose SCSI Info from the hardware menu.  Write down the /dev path to your partition, and close the window.  Then, under the linux command line options, enter:

root=/dev/"devicenamehere" rw

Replace "devicenamehere" with the path name from before.

Finally, press Command-B to boot.  This chainloads linux from MacOS, so make sure you don't have anything important open.

I take no credit for the kernel, that is just a generic version I downloaded from the Mac68k Linux Sourceforge page.  The MacLinux Installer is an old utility I had to pull down from the Internet Archive, and I take no credit for that either.  Same goes for the Penguin bootloader The only thing I did was to used Buildroot to build a Root FS for it.

The default username and password for the system are:  root, with a password of maclinux68.

Thankss, IlikeTech

PS: Ethernet works on devices with SONIC based ethernet, or CommSlot Cards.

Link to files:

https://www.dropbox.com/sh/ipgbjxk3flz9gsg/AABKrF42r0SiYfmhx7mo_YiGa?dl=0

 
Top