Boot with opensuse 11.1 kde4 live cd, so the disks are quite and backups are very clean.

Original partition setup for ref. but not needed after crypt config since we need to add a distinct /boot partition

# sfdisk -l /dev/sda

Disk /dev/sda: 9729 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+      6       7-     56196   de  Dell Utility
/dev/sda2          7    9728    9722   78091965    f  W95 Ext'd (LBA)
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5          7+    268     262-   2104483+  82  Linux swap / Solaris
/dev/sda6        269+   2879    2611-  20972826   83  Linux
/dev/sda7       2880+   9728    6849-  55014561   83  Linux

Mount root on hd to enable copy

mount /dev/sda6 /mnt

Copy existing 10.2 root to safe place in-case recovery is desired.

cd /mnt
find bin boot dev etc home lib opt root sbin srv  tmp usr var -depth -print | cpio -oaV | ssh jpr@desktop4 'tee /export/home/jpr/opensuse102-laptop-image-root.cpio > /dev/null'
cd /
umount /mnt

If above is restored, will require that various omitted dirs are manually recreated under /

cd /
mkdir media mnt proc sys

Verfied legit data in cpio archive

ls -l shows 60gb
cpio -t < *.cpio # lists files

Archive home dir

cd /
mount /dev/sda7 /mnt
cd /mnt
find globus jpr -depth -print | cpio -oaV | ssh jpr@desktop4 'tee /export/home/jpr/opensuse102-laptop-image-home.cpio > /dev/null'

Verified archive contains jpr/ home and is reasonable size

ls -l shows 21.4Gb where as disk says 33Gb used
cpio -t '^jpr/' < *home.cpio

The discrepency with disk and cpio archive size might be due to disk usage being influenced by partially used blocks. if it is its a lot of wasted space.

Install openSUSE 11.1 and select encryption for the /home partition during the disk setup.

After the install completed restored the backed up files for $HOME.

Temporary file locations are controlled by $TMPDIR and KDE has distinct set for it's cache files. Created hidden dir .usertmp in $HOME to store temporary files. Set up the system to define the correct environment variables and create the user temp space for new accounts.

cat > /etc/profile.d/secure-users-tmp.sh << EOF
# Redefine temporary file locations for users to $HOME/.usertmp to help
# prevent data leaks to un-encrypted drives

TMPDIR=$HOME/.usertmp
KDETMP=$HOME/.usertmp
KDEVARTMP=$HOME/.usertmp
EOF

mkdir /etc/skel/.usertmp