smartd
to send email for a device:/dev/sda -a -m youremail@example.com
msmtp
to send email and put an .msmtprc
in /root
with your mailserver settings#/etc/mail.rc set sendmail="/usr/bin/msmtp -t"
mkswap /dev/swap-partition
/mnt
)rsync -vra --progress /old/partition/* /old/partition/.??* /new/partition
blkid
of the new drive/partitions/etc/fstab
and replace the existing UUID
s or PARTUUID
s with the new ones/dev/sd?
in /etc/fstab
shred /dev/sd? -z
should be good enough (3 passes random data, one pass zeroes), unless you're really paranoid