dpkg --get-selections > Paketliste.txt
Umgekehrt aus der Datei die Paketliste setzen:
dpkg --set-selections < Paketliste.txt
Ein anschließendes
apt-get dselect-upgrade
erledigt den Rest.
dpkg --get-selections > Paketliste.txt
dpkg --set-selections < Paketliste.txt
apt-get dselect-upgrade
root@tweety:/home/dro167# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive hde1[0](S) hdh1[3](S) hdg1[2](S) hdf1[1](S)
978615040 blocks
unused devices:
root@tweety:/home/dro167#
mdadm --assemble --force -v /dev/md0 /dev/hd[efgh]1
root@tweety:/home/dro167# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 hde1[0] hdh1[3] hdg1[2] hdf1[1]
732587712 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
unused devices:
root@tweety:/home/dro167#
dd if=/dev/sda of=Datei bs=512 count=1
sudo apt-get install sshfs
sudo sshfs -p Portnummer benutzer@server-ip:[pfad] mount-point