Posted tagged ‘ubuntu’

Android on Linux

May 26, 2009

I haven’t had too much experience with the G1 and I thought it was a little bit of a dude, but I am still very excited about the Android project. The potential is there and if someone could pair a good phone with the nice OS I think the market would boom. I do, however, think this latest bit of news is rather exciting. Ars is reporting that Canonical developers aim to make Android apps run on Ubuntu. From the article:

Canonical is building an Android execution environment that will make it possible for Android applications to run on Ubuntu and potentially other conventional Linux distributions. The effort will open the door for bringing Android’s growing ecosystem of third-party software to the desktop.

Google’s Linux-based Android platform is attracting a lot of attention. The new version significantly improves the platform’s reliability and could make it look a lot more appealing to carriers and handset makers. The availability of an experimental x86 port has caused some people to speculate that Android might have a place in the netbook market.

Count me in. This is exciting news. Hopefully we’ll see Android take off. I know I am rooting for it.

Advertisements

Ubuntu Releases 9.04 Jaunty Jackalope

April 24, 2009

Ubuntu released its latest version 9.04 codenamed Jaunty Jackalope. Remember that Ubuntu releases on a six month rotation, but have a two year cycle for LTS (Long Term Support) versions. This new version looks like a good step forward for the development, but if you are using Ubuntu in production services I would keep with 8.04LTS. Ars has a good rundown of the new features. Of particular interest to me is the Netbook Remix version. I have been using the prerelease of this on 8.10. I think this is a bold new step to get Ubuntu specifically tailored for the netbook and I like the design a lot.

As always Ubuntu Servers are bogged down. Expect huge delays and dropped packets if you do the upgrade over the web. One easy way around this is to choose mirrors other than the default (MIT’s is usually running pretty fast). I may drudge up the instructions for upgrading over bittorrent as well.

liveusb on Ubuntu

January 26, 2009

One of my favorite features of open source is the ability to do just about anything. Specifically I am talking about booting Linux via the CD drive. This isn’t just installing the OS like you would with Windows, no this is the entire OS fully functional without installing anything on your machine. When I was in grad school we used this to rescue Windows installations or files from a corrupt Windows machine. If you are curious about Linux, but don’t want to actually install it on your machine this is the way to go. Now while the OS was complete, you could even install programs, the one pitfall was every time you rebooted the machine you were back where you started. I had this problem at my last job. In short, we had a machine that had XP 64 installed on it, but there were no suitable video drivers (this gave the screen that annoying lag as your scrolled). Because this was a shared office in a remote location I couldn’t just reinstall the OS or wipe it clean and put Linux on it. My solution was to boot the machine into Ubuntu via the live CD, but since I was returning every week it became daunting constantly configuring every program so I could do my business. I was able to solve this problem by creating a persistent data image on a usb stick. Basically I would save all of my documents and settings, including installed programs and configured programs, to the usb stick. Anytime I booted off the live CD I was good to go and configured. That worked great at the time, but if you have used that setup you know that running an entire OS off of a CD is quite slow.

That is where today’s post comes in. Storage space on usb sticks continues to rise as prices fall, so far that I just purchased a 2GB stick for under $10. At the same time most machines built since 2004 allow you to boot off of a usb device (and if not often there is a BIOS upgrade that will allow you to do this). So it is the perfect time to make the switch from CD driven live distributions to usb driven. There are a couple of clear advantages, for one load time is much quicker (no more jets taking off in your CD drive when you click on the programs menu), and two the memory is non-volatile (meaning that the OS remains in the same state as you left it since shutdown, or better yet, it remembers everything you did or saved). Now, of course, this was always possible before, but it required some considerable step-by-step and a little bit of luck to accomplish this task. Not to mention that dedicating a $60 512MB stick to Linux back in the day just wasn’t an option.

So how easy is it? Very easy if you have Linux (and if you don’t it is still possible). Liveusb is the name of the project. It is a gui project that drastically simplifies the process of creating a bootable usb stick (I used this to test out the latest Mythtv for my homemade DVR). First you need to add their repo to your sourses.list file. This is easily done. First go to the website and choose which version of Ubuntu you are using, I am using Hardy. So open the terminal and type the following:

sudo echo deb http://ppa.launchpad.net/probono/ubuntu hardy main>>/etc/apt/sources.list && sudo echo deb-src http://ppa.launchpad.net/probono/ubuntu hardy main>>/etc/apt/sources.list

What that does is appending the proper repo to the end of the aptitude sources.list. Now type in the following:

sudo aptitude update && sudo aptitude install liveusb

Now you have just installed liveusb. After that it is extremely simple. Insert the Ubuntu CD into the drive and plug in the usb stick. From there you launch the liveusb program (you can launch it from your terminal by typing liveusb) and hit execute. In short order you will have a bootable usb stick.

liveusb

Three notes, this is a great way to install ubuntu if your machine doesn’t have a CD drive or if you just want to save some time on multiple installs. Also if you don’t already have Ubuntu installed you can do these same steps off of the live CD. Fedora and other Linux OS have similar projects and tools, and it can certainly be done manually at anytime, though I wouldn’t wish that on my worst enemy (doing this by hand that is).

Wubi – the painless and easy way to dual-boot Ubuntu

October 19, 2008

For some time now I’ve been wanting to delve into Linux, both for resume points and for a software dev environment  I tried Slackware and found it a little difficult to configure for a total newbie.  I’ve been thinking Ubuntu would be a good one to start with; its autoconfig is very good and it requires very little as far as setup is concerned.

Enter Wubi.  I read about Wubi on TechRepublic and gave it a try.  I must say, I’m impressed with how hands-off it is.  I know that would drive most Linux nerds nuts, but it’s great for someone who is used to plug-n-play.  I downloaded the installer (http://wubi-installer.org – less than a meg) on my Win XP laptop and fired it up.  In less than an hour Ubuntu was installed on a (virtual?) partition with a dual-boot scenario.  I booted to Ubuntu and was able to get things usable (I’m writing this post on Ubuntu) within another 30 or 45 minutes.  I still have some stuff to work out (for some reason, my wireless card doesn’t fire up right at first – I have to go into the settings, delete the old settings, and reenter them before it gets going.  It’s probably something I’m not doing right though.

I just can’t describe how painless this is for someone with some good skills in configuration of other OSes.  At any rate, Wubi gets a high recommendation from me for anyone who wants to run Ubuntu in a dual-boot scenario.  I would imagine it would be an excellent way to deploy Ubuntu as an optional desktop environment in a corporate setting.