Wednesday, July 17, 2013

Backup with Partimage

For a complete backup of the system i use partimage.
It don't work with btrfs or ext4, but for all systems i use
jfs (realy great filesystem) and here i can backup it with partimage
very good.

The partition layout is:
/dev/sda1 -> restore
/dev/sda2 -> worksystem
/dev/sda3 -> swap
/dev/sda4 -> data

On sda1 i install a minimal system with partimage, at sda2 the
normal system. Now i can boot into sda1 and backup or restore the
whole system. This is very fast, and i need no boot-cdrom anymore.
The image is stored at sda4.

This script i put into /bin/res on sda1 so i can restore a whole system
with starting one script.

partimage -b restore /dev/sda2 /backup/images/debian700.000

Thursday, July 4, 2013

PPTP and Debian 7

I know about the security problems with pptp and vpn.
For those who still want to use it with Debian 7,
here a short description how to solve the problem,
that the daemon hangs during restart.

/etc/init.d/pptpd restart

the pptp daemo was freeze.
I found this solution:
Adding a blank line at the end of this file:

After this it works fine.

Age of Empires and Debian 7

With Debian 7 / Wheezy the support of Age of Empires 1 & 2
becomes much better.
The only thing to do is:
Installing winetricks :

aptitude install winetricks

and then install directplay with winetricks:

winetricks directplay

After this, you can play Age of Empires with Multiplayer, the sound works
and graphics works much better than with Debian 6.

The only problem is, when disconnecting multiplayer the programm frozen.
Best way is to open a shell before starting the game and then you can
kill it after getting the processnumber with ps -A .