We were given a server to play with to do whatever we wanted, hosted in a US data centre. It was running RHEL 4.x, I could have worked with that, but it didn’t look like it was on a support contract, I wasn’t able to update it, anyway.
I thought about trying to convert it to centos, but realised it would be more fun to upgrade it to ubuntu gutsy.
Quick steps from memory
- swapoff -a
- mkfs.ext3 /dev/VolGroup00/LogVol01 (old swap)
- mount /dev/VolGroup00/LogVol01 /mnt
- wget debootstrap.deb (from gutsy)
- ar x debootstrap.deb
- tar -C / -xzf data.tar.gz
- debootstrap –arch=i386 gutsy /mnt
- chroot /mnt
- mount proc, edit /etc/fstab and /etc/network/interfaces
- apt-get install ubuntu-minimal ubuntu-standard linux-image postfix openssh-server plus a few other packages, some that were recommends.
- copied gutsy /boot/* to the real /boot and created a new entry in menu.lst
- created an account and uploaded some ssh keys
- probably some steps I’ve forgotten
- reboot
Easy peasy, just waiting for it to come up, it’s been 5 hours now, still waiting. Must be the slowest booting server ever.
Guess I’ll be calling the states now. :’(
Related posts: