On Fri, Nov 02, 2007 at 11:31:48AM +0000, michael wrote:
I have a system I've hosed and I wish to reinstall the 'etch' o/s.
The
current set up is
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 274M 126M 134M 49% /
tmpfs 1007M 0 1007M 0% /lib/init/rw
udev 10M 84K 10M 1% /dev
tmpfs 1007M 0 1007M 0% /dev/shm
/dev/hda5 1.9G 48M 1.7G 3% /boot
/dev/hda10 2.8G 1.8G 1.1G 62% /data
/dev/hda11 11G 1.1G 9.0G 11% /home
/dev/hda9 449M 25K 425M 1% /tmp
/dev/hda7 4.6G 1.8G 2.7G 40% /usr
/dev/hda6 5.5G 927M 4.4G 18% /var
/dev/hdc 551M 551M 0 100% /media/cdrom0
so does this sound sensible:
1) backup /home and /data to another machine
- note any configuration that affect /etc (or backup /etc for later
reference) like email setup, network setup, ...
- do 'dpkg --get-selections > mypackages' for later use
- maybe backup /etc/apt/sources.list
2) boot from netinst CD
- do custom partitioning
- just reformat /var,/usr,/tmp,/boot,/
- save /home, /data
5) complete install
- do 'dpkg --set-selections < mypackages' for setting packages
- do 'aptitude dselect-upgrade' to install all packages
6) run apt-get update/install
some of this is covered in the debian-reference