Hi,
I tried again this morning, found a huge list of updates, told it to apply, part way through all progress stopped but no error message, when I selected to cancel, I got an error message saying that it failed due to hard drive full.
You are warned that there is a chance your installation might be broken to some extent. You should really take into consideration a new installation, from a recent ISO (2010.12)
directly on the larger hard disk.
Now it won't start at all - I get to the login screen, login, get an error message about session lasted less than ten seconds, hard drive may be full
you can try to boot a runlevel 1 (single-user mode) and to delete files in /tmp /var/log/ to gain some few space,
Be careful of what you delete in there. A better practice would be only remove the files ending with .tar.gz or any ending with a number lie .1, .2, .3
If you remove files like syslog, messages, which tend to get rather large, the system will complain about them being gone during startup. (as in not booting) The better way to handle this files would be to use the following as root from the command line IE:
cat /dev/null > messages or
cat /dev/null > syslog or whatever file you need. You can only do this as the root user as the files in /var/log/* are owned by root. Be warned DO NOT use the wildcard with this command, (cat /dev/null > filename) strange things might occur if you do.
You could also use a cron job to keep the /var/log folder free of all the compressed files, using something as follows
in the /var/lib/spool/cron folder create a file called root in this file you need the following
0 23 * * * rm -f /var/log/*/*.gz #Removal of compressed log files
0 22 * * * rm -f /var/log/*.gz #Removal of compressed log files
@weekly rm -f /var/log/*/*.1
@weekly rm -f /var/log/*/*.2
@weekly rm -f /var/log/*/*.3
@weekly rm -f /var/log/*/*.4
@weekly rm -f /var/log/*.old
Save the file.
A listing of the /var/lib/spool/cron folder should show the following
[root@laptop cron]# pwd
/var/lib/spool/cron
[root@laptop cron]# ls -la
total 16
drwx------ 2 root root 4096 Nov 5 15:36 ./
drwxr-xr-x 5 root root 4096 Oct 19 18:06 ../
-rw------- 1 root root 371 Nov 5 15:36 root
[root@laptop cron]#
note the permission on the root file is 600
If you leave your system on 24 hours a day, cron will run the jobs at the time in the posted line (22 & 23 hours or 10-11 pm). If you turn off your machine daily then anacron (if set to run in PCC) will run the cron job during the bootup process.
once you have obtained a few space,
you should try to gain more space by temporarily compressing (gzip) some user files (your own files, not system files).
Later you can decompress your files (gunzip), when you have really solved the space problem. Try to recover at least 500 Mb.
Once you are done, try to reboot and log in normally. (to reboot from command line, type in reboot)
About transferring your settings from one disk to another, much depends on what software you were using, it's likely each application can have it's own settings,
therefore specific info are needed for each application, well ask here... some help will come out.
AS