If anyone's still interested here is my report.
I made 5 copies of the file system:
1) I used a program called "
clonezilla" which produced a compressed image of the system partition.
2) I used the code shown below which I got from
Ubuntu Forums to make a tar file on another partition containing the system files.
Code:
sudo su
cd /
tar cvpzf /media/d0587253-b760-4fe7-8b33-2c19ddc35336/backup.tgz --exclude=/media --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
This made the archive file but finished with:
Code:
tar: Exiting with failure status due to previous errors
I will take this error up with the person who posted the code I used.
3)I ran dolphin file manager as root and just tried to copy the file structure in / with exclusions as above but it finally just hung up at 63% completed.
Attachment 3697
4)Tried the following:
Code:
sudo su
cd /
find . -depth -print0 | cpio --null --sparse -pvd rootcopy
which I adapted from an article
moving /home to it's own partition. Got this result:
Code:
rootcopy/./sys/devices/virtual/block/ram0/dev
cpio: ./sys/devices/virtual/block/ram0/subsystem: Cannot readlink: Invalid argument
Segmentation fault
Then I remembered some directories including /sys had been excluded in 2). I haven't tried this approach for each directory to be copied.
5) I found an
Archlinux forum post discussing what I'm trying to do and they used
Midnight Commander. I ran as root and copied everything but /proc /sys.
I didn't verify any of these mostly because I got lazy and didn't feel like fooling with it anymore. It was getting to be as much work as reinstalling the system would be. Also I'm not sure how to verify without running the risk of breaking the working installation which is what I'm trying to avoid in the first place.
Once I had my backups I deleted the /dev/sda1 partition which was marked as "boot". I rebooted and every thing was just fine. Before I move /home to a seperate partition I'm going to upgrade to Ubuntu 10.04.
Thanks again to all for your help.