Images unter: http://proxy.asn-graz.ac.at/~d4e/experimental/ laden:
vlizedlab.x86_64_sda1.tar.bz2 13-Aug-2014 20:17 753M
vlizedlab.x86_64_sda1.tar.bz2.md5 13-Aug-2014 20:41 64
vlizedlab.x86_64_sda3.tar.bz2 23-Jul-2014 15:15 1.1K
vlizedlab.x86_64_sda3.tar.bz2.md5 23-Jul-2014 15:15 64
tar.bz2 Archive am s4e entpacken:
mkdir -p /daten/vlizedlab/ug01/sda1/
tar xvfj vlizedlab.x86_64_sda1.tar.bz2 -C /daten/vlizedlab/ug01/sda1/
mkdir -p /daten/vlizedlab/ug01/sda3/
tar xvfj vlizedlab.x86_64_sda3.tar.bz2 -C /daten/vlizedlab/ug01/sda3/
LIVE-System auf einem vlizedlab-Client starten (d4e Rettungssystem, Knoppix, SysresCD)
Partitionierung:
sda1 -> 5GB (system)
sda2 -> 1GB (swap)
sda3 -> Rest... (virtuelle Images)
cfdisk /dev/sda
Formatierung:
/dev/sda1 -> System -> ext2
/dev/sda2 -> Swap -> swap
/dev/sda3 -> Images -> xfs
mkfs.ext2 /dev/sda1
mkswap /dev/sda2
mkfs.xfs /dev/sda3
System kopieren:
mkdir /c
mount /dev/sda1 /c
rsync -av -P -e ssh root@192.168.100.15:/daten/vlizedlab/ug01/sda1/ /c/.
mkdir /d
mount /dev/sda3 /d
rsync -av -P -e ssh root@192.168.100.15:/daten/vlizedlab/ug01/sda3/ /d/.
mkdir /c/proc
mkdir /c/sys
mkdir /c/dev
mkdir /c/vm
Bootbar machen des neuen Systems:
mount --bind /proc /c/proc
mount --bind /sys /c/sys
mount --bind /dev /c/dev
chroot /c /bin/bash
grub-install /dev/sda
update-grub
exit
umount /c/proc /c/sys /c/dev /c
poweroff