layering

Posted in Uncategorized on November 28th, 2010 by admin

New setup for stupidflander.org little insite into how it was done

Tags:

Upgrade Ubuntu 10.04 32-bit to 64-bit (server)

Posted in Uncategorized on November 27th, 2010 by admin

Theirs no straight forward way about it. You have to install from scratch, but you can an in place upgrade, sort of.
The first step is to get to the version of 64 bit you want to run on your 32bit system, then get up to date. Next your want to run a backup of your entire system, one that will preserve the entire system symlinks and perms, etc. dump comes to mind
Next back up again to a different media, last thing you want is to start your restore only to find out you forgot something.
Next your want a dump of everything installed on your system.
dpkg --get-selections > install.txt
Download install.txt your want to look it over and figure out what you installed and what is a depency of what you installed, this could take awhile and you could just go in and do
apt-get install `cat install.txt|awk '{print$1" "}'|tr -d '\n'`
but then your going to mark everything as install and it won’t distinguish between dependencies and removing or replacing anything will quickly become a nightmare. So go though it and figure out what needs to be reinstalled.
cat install.txt|grep -v

Your want to do a dump of any db’s your hosting, i could be wrong here, but in my experience when switching architecture you can’t just grab the db’s out of var and throw them on the new system they have to be restored, again ymmv, but just incase do a dump.

install the 64 bit version, then before rebooting df should tell you where your new file system is mounted, chroot into it, reinstall your applications, a good start would be to rerun
dpkg --get-selections > install2.txt
and do a
diff install2.txt install.txt
once you have that done reboot into your now 64 bit system
run updates
Again ymmv, but i’ve had pretty good luck with this method going from solaris (was quiet a bit more envolved, had to convert formats on pretty much every config) to openbsd, then switch over to ubuntu, now getting ready to switch over to ubuntu 64, need more memory and gotta make the jump back to 64.
first thing restore /etc, now careful here, if your just doing 32 -> 64, should be ok, theirs shouldn’t be any major format changes to config files, and more then likely your not going to want to change much in etc from your old system, this will also pull in all your old users and password
then restore /home /root and possible /opt /var/www /var/mail and depending on what else you were running and were you stored data their could be more
your want to check and make sure your fstab is setup correctly if you formatted your parts your need to update the uuid, and you can find this in dev, google it
a reboot and you should be back where you left off, only 64-bit, theirs probably going to be more to do to make sure your stable, but a quick glance at dmesg and syslog will probably point out any thing you missed, and if you have to can always restore to a dif disk and boot to that to figure out what your missing.

Workstation, just run gparted, offload /home to a dif partition and then reinstall, before restart, ctl+alt+f1, df to see where your mounted, chroot in,
mv /home /home.bak
mkdir /home
vi /etc/fstab

put in mount point for /home partition
you can also use the
dpkg --get-selections
prior to install and get an idea what will need to be reinstalled, but all your personal settings will come over.

Tags: , , , , ,

Wtf, Sun Blade 1000 Welcome Video

Posted in Uncategorized on November 5th, 2010 by admin

Found this on youtube. WTF

From the same people that made a purple workstation, so go figure, they’d make a video to go with said purple workstation.

Tags: , ,