Sunday, July 09, 2006

Life is Good

Life is good.

Hectic, scrambled, nervous and packed, but good.

No, wait- that should read:

God is good.

Orderly, staightforwardly, confidently and timely. Very good.

Tuesday, June 13, 2006

Linux on a Mac

My tech project of the week: Installing some sort of POSIX compliant operating system on a Beige G3 Power Macintosh.

Normally, I'd try linux right off the bat, and go from there, but this particular Mac boots from OpenFirmware 2.0.f1, which is really finniky about what it will and will not boot from. Of course, I learned this the hard way.

I tried booting from the current Debian-PPC installation cd (sarge), but that didn't work. Then I tried the boot floppies. Those didn't work. Then I tried some other flavor boot floppies; they didn't work either.

Then I tried NetBSD. They had reams of documentation about getting your OldWorld mac booted up and running NetBSD. Their documentation on OpenFirmware was such that every other linux distro I saw that 'supported' that model referenced it. And they had boot floppies. That booted.

The NetBSD installation boot floppies would boot, just like they were supposed to; they would read the initial ram disk, just like they were supposed to; and then they would completely freeze, just like they WEREN'T supposed to. Fortunately, the NetBSD install guide had a troubleshooting section which included symptoms, causes, and cures. The symptom of freezing right after hardware detection was documented, but the cause(s) listed were "multiple and varied". There was no cure.

So, back to Linux.

After much reading and digesting, it appeared that the easiest way to boot linux on a mac was to use BootX, the Mac equivalent of loadlin, to boot the linux kernel from a running instance of MacOS. Once we got that figured out, it was very easy to load a kernel and start the install process (debian sarge).

I found an installation guide here (http://mfdh.ca/apple/debian_on_oldworld_mac.html) that was very helpful.

The installation went very smoothly- I used the default partitioning scheme, which was to use the entire disk. It created a small partition at the beginning of the drive, type Apple Something, then the / folder, then a 211ish meg partition at the end for swap. It downloaded the base system, install the Quik bootloader, and prompted for a reboot.

The instructions I was following said that before rebooting, I needed to manually edit the quik.conf file and point it at the correct kernel location. Since the instructions were from 2002 (four years ago!), I figured that that step was probably outdated, and that the new debian-installer would configure everything correctly.

I was wrong, apparently. I followed the installer's directions and rebooted, but it wouldn't boot. All it did was sit there at the grey screen with the little disk icon in the middle that would flash "?" repeatedly. I understand that's symptomatic of an inability of OpenFirmware to locate a bootable device.

So now I've got an installed debian system with no way to boot it. The debian boot floppies didn't work, virtually all the installation guides said the only to boot linux on those machines was to use BootX, and BootX requires some sort of MacOS to be installed on the system. Note that I had reformatted the hard drive during the installation, and MacOS jus' didn' exist there anymore.

So, the search for boot floppies commenced.

Today I was able to locate a repository of install floppies from a debian developer that are supposed to work on OldWorld macs. I think they use some sort of modified miBoot to effectuate the boot process, but at any rate, some of them work.

I've been able to boot the system with this disk, and load a debian-current ramdisk from a floppy, but so far I haven't been able to find a module floppy (net-drivers, cd-drivers) that is compatible. The ones from the debian-current set don't work (different kernel, I suspect) I'm still searching.


I'm going to try these disks next.

Edit:

I just found another repository. I'm going to give these a shot.
It's referenced in this thread.

Edit:

It's working! It's Working! It's Really Working!

To outline the basic install process:
Disk 1: Boot floppy. This is used to load the linux kernel and a very small set of modules. Typically, this will boot, then ask for a ramdisk.
Disk 2: Initrd.gz Initial Ramdisk. This could be either a basic shell, or the next stage of an installer. For Debian, it's a very basic install setup.
Disks 3/4: Drivers. Debian uses 2 disks for this, one for network drivers and one for cdrom drivers.

The installer takes over after that, and installs the system either directly from the internet or from a cd-rom.

I was able to use this file for disk 1, this file for disk 2, and this file for the network drivers. You'll notice that Disk2 is from a different set- this was necessitated by the root disk from the 2006-04-04 set being too large for a floppy.

The installation should be finished sometime later this evening- I'll update when I know how it goes.

Edit:
I'm having trouble with Quik- the ppc bootloader. I can't seem to get in installed and configured properly.

Edit:
2006-06-15 I'm giving it another shot with Debian Etch. After the initial setup, I can run the installer over an ssh connection!

Hm. It didn't work. The system install, it had an error when it attempted to install quik, I installed quik manually, it said everything was good, but when I rebooted it, it wouldn't load. So, back to square 2.

Edit
Well, after much consternation, the project is on hold. I found additional instructions on this page concerning OpenFirmware configuration, but it requires you (me) to create floppy disks from disk images that are exclusively MacOS compatible. Meaning I need to have a running MacOS system with a floppy drive!

I've got access to several MacOS X systems, but none of them have floppy drives. So, the project is on hold pending the availability of a USB floppy drive.

Current Status:
I've successfully installed Debian Etch (as of 2006-06-15) on the machine. Quik reports that it is correctly installed. OpenFirmware reports that it cannot open the boot device (ata-int/disk@:,).

Updates will be appended to this blog entry as they occur.

- jhj

Saturday, June 10, 2006

Saturday Afternoon

It's a beautiful Saturday afternoon here, bright and sunny, about 95 degrees, slight breeze-

And here I sit, manning the Front Desk. There's a wedding tomorrow, and a pre-wedding picnic this afternoon. My schedule didn't leave time for the picnic, and I was on site, so... I'm here at the Front Desk, outlining Criminal Procedure.

Tuesday, May 30, 2006

Blogging Habits

I am a sporadic blogger.

Just thought you should all know that.

;-)

Friday, May 26, 2006

GovRel Closing Ceremony

Government Relations 2006 ends today with the adjournement 'Sine Die' of the Second Session of the Fiftieth Legislature of the Oklahoma Legislature.

Last night we celebrated the conclusion of the session with a close down ceremony conducted by ... me. There's a lot more that goes into a closedown ceremony than I originally thought.

Monday, May 08, 2006

Something Fresh and New

"Louie, this could be the beginning of a beautiful freindship..."
 
Saturday night (OK, it was Sunday morning at 1:15ish) I was in bed. All the little Saturday projects were finished, my school assignments were done, my desk was (more or less) clear, and I was ready to go to sleep.
 
Then it hit me- an organizational outline that would allow me to have an overview of exactly what I needed to do (school-wise), organized by topic, on a bi-weekly basis. I have a hard time grasping when things need to be done (Many of my professors can probably confim this), and for a few weeks I've been thinking about how I can rectify this.

I've looked at online organization/project workflow/collaboration sites (basecamp, backpack, et al) and a common theme that's stood out has been the Project Overview pages.

The Project Overview is essentially a timeline/project/todo list, with everything arranged in one central location. There could be links to project pages, specific deadlines, etc., but the key factor was that it was all condensed into an easily graspable overview page.

Saturday night, it clicked.

I could create a "project overview" page for my school assignments! Each topic could be a department, with a column for the assignments related to it. Each assignment would be a "primary entry" in the topical column, with explanatory/related assignments in a tree structure below it. It would all fit on a landscaped 8.5 x 11 sheet of paper, which would be clipped to a 8.5 x 11 sheet of cardboard. It would be sturdy and rigid (physically, anyway) and would 'float' above the scattered papers. And it would work.

In theory, at least. We'll see how it goes.

Saturday, May 06, 2006

Assignments and Deadlines

Yesterday (Saturday), was a big day. There were people (classmates) in town that I hadn't seen in more than a year and a half, there was an OBCL graduation that a friend was in (She graduated Magna Cum Laude), and I had an assignment due by midnight.

Everything fit together. The graduation went well, I went out to dinner with the friends, and turned in the assignment at 23:59.

All in all, it worked out very well.

Friday, May 05, 2006

OBCL Graduation

Graduation.

The OBCL graduation ceremony for the 01A and B classes just finished. It was moderately inspiring - in two years, my family will be here with me attending my graduation.

In the meantime, there's banquet dishes to wash.

Desk Organization

Just had an idea- Since my desk has been cleared off (See entry re: Laptop Operation) I've been enjoying increased workspace. If I find a new location to set my laptop (which works now! Hooray!), I can reclaim even more space.

I currently have a (largely unused) monitor on my desk that's back and out of the way. If I add an external keyboard and mouse to the laptop, I can set the laptop on edge between the monitor and the wall, and enjoy the increased flexibility of a lightweight and portable set of input devices.

Details to follow.

Wednesday, May 03, 2006

Google Adsense

This morning I took the plunge and joined the world of marketing. I have a Google AdSense account linked to my blog.

So, if you happen to see an interesting add off to one side of the page, do us both a favor and check it out.