Skip to main content

linux

How-to: Upgrade Debian 4 to Debian 5

Posted in

One of the server providers that I use for some reason only likes to deploy Debian 4, even though 5 is out and stable. Here's how to easily upgrade from Etch to Lenny via SSH/command line.

Edit /etc/apt/sources.list:

deb <a href="http://ftp.us.debian.org/debian/" title="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a> etch main contrib non-free
deb-src <a href="http://ftp.us.debian.org/debian/" title="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a> etch main contrib non-free

deb <a href="http://security.debian.org/" title="http://security.debian.org/">http://security.debian.org/</a> etch/updates main contrib non-free
deb-src <a href="http://security.debian.org/" title="http://security.debian.org/">http://security.debian.org/</a> etch/updates main contrib non-free

deb <a href="http://volatile.debian.org/debian-volatile" title="http://volatile.debian.org/debian-volatile">http://volatile.debian.org/debian-volatile</a> etch/volatile main contrib non-free
deb-src <a href="http://volatile.debian.org/debian-volatile" title="http://volatile.debian.org/debian-volatile">http://volatile.debian.org/debian-volatile</a> etch/volatile main contrib non-free

Then do the following:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

After this completes, edit /etc/apt/sources.list and replace all instances of "etch" with "lenny":

deb <a href="http://ftp.us.debian.org/debian/" title="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a> lenny main contrib non-free
deb-src <a href="http://ftp.us.debian.org/debian/" title="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a> lenny main contrib non-free

deb <a href="http://security.debian.org/" title="http://security.debian.org/">http://security.debian.org/</a> lenny/updates main contrib non-free
deb-src <a href="http://security.debian.org/" title="http://security.debian.org/">http://security.debian.org/</a> lenny/updates main contrib non-free

deb <a href="http://volatile.debian.org/debian-volatile" title="http://volatile.debian.org/debian-volatile">http://volatile.debian.org/debian-volatile</a> lenny/volatile main contrib non-free
deb-src <a href="http://volatile.debian.org/debian-volatile" title="http://volatile.debian.org/debian-volatile">http://volatile.debian.org/debian-volatile</a> lenny/volatile main contrib non-free

Now we go through the update/upgrade/dist-upgrade process again, and then reboot:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo shutdown -r now

New Toy --- ASUS eeePC 4G Galaxy Black

Posted in

It's been awhile since my last post, been busy working 100+ hour weeks at a startup.

Anyways, I picked up an ASUS eeePC 4G in Galaxy Black last week, along with 2GB of ram to juice it up. The default linux install didn't really impress me, so I've wiped it out and install eeexubuntu on it, which runs pretty well. So far I'm impressed by it, I did hack the keymaps so that shift was in the proper place on the keyboard. Next things I'm looking at doing are hardwiring two 32GB USB flash drives inside of it, and setting them up in software RAID 0, to expand storage from 4GB to 68GB or so. Might go completely crazy and drop 3 of them in and do RAID 5 ;) I'm also considering wiring up my ATT USBConnect card, however, it appears linux support is lacking, so if I go that route I'll have to see if I can load OSX onto it first. I'm not really very excited about the prospect of loading Windows onto the eee, but we'll see what happens.

I've also "overclocked" the processor from 633MHz to 900MHz, which is it's native speed. Apparently ASUS felt it was a good idea to downclock, I felt otherwise obviously. This can be done with the eee.ko kernel module via software, which also allows temperature monitoring and manual fan control.

Got error 28 from storage engine (1030)

Apparently rather than throwing a “disk full” error message, mysql likes to tell me ERROR 28. Oh how I love mysql error messages.

Also, I really enjoy having to do work on a “production server” that is a virtual machine, with 6GB of disk space, in a test lab.

Good idea guys. Maybe some server monitoring should be in place for a PRODUCTION SERVER, no?

Syndicate content