Showing posts with label FreeBSD. Show all posts
Showing posts with label FreeBSD. Show all posts

Thursday, September 3, 2009

OS Update

Found out why OpenSolaris 117 and greater will not run on my laptop. There has been a bug reported where certain motherboards cause the same problem. I will have to wait until they get around to fixing that bug to upgrade to that version of OpenSolaris.

Because of this, and because I've picked up a contract that requires me to work in Windows, I have to come up with another plan. Windows becomes a problem because I'm running Vista under VBox on OpenSolaris. For various reasons I won't go into now, I will not run Vista next to the metal. But since I only have 2G of onboard memory in the laptop, if I give a VBox session more than 1/2G OpenSolaris begins swapping like crazy. With 1/2G, Vista really can't do more than one or two things at the same time. Fine for what I was using Vista for, but Java development requires a bit more.

My plan, which will probably start after a couple of the checks from that contract come in, is to start purchasing parts each month to build a new computer, i.e. purchase a case next month, a motherboard the next, and so on.

It looks like I can put together a pretty fast system, with about 8G of memory which is important, for about $700, but paid for over a 6 to 7 month period. Running OpenSolaris next to the metal, I can put Win7 in a virtual box and give it 2G, and even run Linux with 1/2G and keep them both running most of the time.

Then I can reformat the laptop to FreeBSD or Linux (I'll try FreeBSD, but if I can't get the wifi to work, try Ubuntu). Using X, I can log into the big machine from the laptop or our (really old) iMac when I need the power. Then the kids can use any for their homework or web-surfing and we are not tying up one of the systems.

Tuesday, July 7, 2009

Thinking of moving back to FreeBSD

I've been running OpenSolaris on my laptop for the last year. I've really liked several features a lot, but several problems have cropped up,and the latest one may make me look into going back to FreeBSD.

I upgraded from version 111b to 117 recently and when I rebooted, the boot failed. It appears to failing at the during the zfs initialization. Luckily the way OpenSolaris updates, the previous version is there to boot to (just select it from Grub during the boot). I've tried the update several times and get the same result every time.

It's not the failed upgrade that bothers me so much, although if the next one failed too, it would be a show stopper for me. It's the inability to get help. I think I've posted 3 messages to the help list for OpenSolaris for different problems over the last year. One time I got, "we don't support that and probably never will", and the other 2 (including this latest) were never responded to. If I can't find the answer online, and can't get an answer from the lists, it makes me nervous in running the operating system.

Yes, I know it's a free and I'm not paying for support, so I can't complain about it. However, if I can fix some specific problems, I can't use the operating system. I'm not even suggesting someone else not use it; quite the contrary, I often suggest it to people. And if I ever get another desktop with enough RAM, my plan is to run OpenSolaris against the metal and run a couple of Virtual Boxes all the time to do different work (programming in one, email and writing in one, gaming, etc).

Some things that are giving me headaches that hopefully FreeBSD will fix.
  • Cannot run some programs, like Gnucash and TweetDeck, native. I have to setup a VirtualBox running Linux.
  • Programs not updated to latest, i.e. pidgin.
  • My wireless card is not, and probably never will be supported.
  • Power management on AMD64 not supported.

Some things that I will miss, and are keeping me from just moving anyway.
  • VirtualBox under OpenSolaris works really well.
  • ZFS. By far the best way to format a disk. Snapshots are especially useful. I've seen posts that ZFS is now supported under FreeBSD, just not on the main drive. Hopefully I can setup a home directory with it.
  • Java just works, and is relatively easy to setup (have you ever done that on BSD?)
  • The update process. Using ZFS to setup a new mountpoint to install to, so that the previous version is not overwritten and can be booted to is brilliant. Really makes upgrading a no stress operation.
This weekend I will try to get everything backed up in a way that I can move it to any operating system. If I have time, I may reformat the drive and give half to FreeBSD and leave half to do OpenSolaris again so I can go back and forth.

Wednesday, January 7, 2009

Updating FreeBSD to 7.1

This last weekend I updated my home server to FreeBSD 7.1.  Over the last year I've used freebsd-update to update it to BETA1, RC1, and RC2.  Going from BETA1 to anything else was kind of a pain because freebsd-update looks online for files from the current system during the upgrade, and they pulled the BETA files offline when they put out the RC files.  So I had to use a command to convince freebsd-update that I was using a different version to get it to run.

The last update from RC2 to RELEASE was a breeze.  Basically 3 commands and a reboot before the last command.  Kudos to the developer of freebsd-update.  I've liked FreeBSD for some time, and this just makes it that much better.

Some background on my environment.  I use FreeBSD as a headless server on an old Dell machine (almost 10 years old and it's still running with only a hard drive change during that time).  I use OpenSolaris on a Gateway laptop and have a old iMac for the family computer.

I wanted OpenSolaris on my development machine (the laptop) because I do a lot of Java programming at home and hoped that would be a good environment for that.  For Java development it has been fantastic.  For an operating system for this laptop, not so much.  I can't use the wireless network, audio is kinda flaky, and the machine overheats a lot (I think that is more the laptop's issue, not OpenSolaris', but OpenSolaris never throttles the processor, so I have to have a fan on it the whole time, a big house fan).  However, after using VirtualBox, zfs, and the Java environment on OpenSolaris, I like it for a development machine.

One issue I find somewhat funny is I cannot get the latest version of Gnucash to run on OpenSolaris, so I run Gnucash on the FreeBSD box and export the display to the laptop.  Works well, but it is a little slow (remember the 'BSD box is almost 10 years old).  A side benefit of this setup is I can run it from the iMac as well.