Originally Posted by brianL
I always thought a fresh install was the lazy way (it's the route I usually take), as it seems to involve less work and less possible hitches than an upgrade.
Same here. This time I took a slightly different approach.
My system is setup with /boot on /dev/hda1 and an encrypted LVM on /dev/hda2 containing lv's for / /var /tmp /home.
What I did was create 2 new lv's for the new / and /var alongside my existing ones. Mount them under /mnt and then use installpkg -root /mnt to install all the filesets. Copy over /etc/fstab and edit as appropriate to use the new lv's. Copy over /etc/crypttab and my keyfiles for my secondary encrypted volume group. Add my users to the new passwd, shadow, group files etc.
Before I booted up off the new system, I chrooted into the new / and ran through some of post install setup steps in pkgtool just incase I'd missed something and built a new initrd for my LUKS/LVM setup.
Bob's your alien! I have 2 versions of slackware in 1 LVM setup.
Now, when I come to get rid of 12.1 all I have to do is remove the 2 old LVs and the lilo entry.
Though upgrading with the normal method is a little less involved, I get a clean install and a proven backout without the need to restore from backup.
This was the first time I tried this approach and a bit of an experiment, but it seems to have worked out quite well.