Archive for April, 2008

Operating System Programming

Friday, April 11th, 2008

I’ve added a page to the side with the same title as this post. This contains stuff that I need to remember about operating system stuff.

Mac OS X + linux

Wednesday, April 9th, 2008

So I’ve had heaps of trouble getting my Mac to do linking stuff. Mac’s ld isn’t the same as ld on linux (and I shouldn’t really expect it to be). So I tried dual booting Ubuntu and that sort of worked, not great but enough. Ubuntu though isn’t really what I want since I find linux isn’t a really good desktop operating system, OS X is. So I looked at VMWare and Parallels and didn’t really want to pay for it. So I looked for alternatives and I am currently trying Sun’s VirtualBox which seems to be going all right. All I want is a terminal to do programming in, I don’t need X or anything like that.

Sun seems to have a decent product (as far as I can tell). VitualBox can be downloaded here.

I also edited /boot/grub/menu.lst and removed the old linux entries and made sure linux-kernel-generic was the first entry.

I’ve found a problem, virutal box doesn’t like the linux kernel within the Ubuntu server install. I had to boot off the cd (after install) into rescue mode and get to the shell. I did apt-get install linux-kernel-generic and then restarted. I have to load the right option from the grub menu after that.

Also there is a page at My Debian about setting up Virtual box so you can ssh into that machine.

Ubuntu on First Gen Macbook Pro

Tuesday, April 1st, 2008

Last night I pulled apart my Macbook Pro to upgrade the hard drive. It only took me an hour or so and I cut myself a few times. (I don’t have the right tools but my pocket knife seemed to do the trick).

Today I installed Ubuntu following this GUIDE. However Ubuntu doesn’t work so well. It takes a long time to configure everything and I can’t get my isight to work. Also resuming from suspend doesn’t work.