Archive for November, 2006

power backup & restore with dd and losetup

Backup:

boot with knoppix
mkdir /storage && mount storage:/backup
dd if=/dev/hda of=/storage/laptop.img
wait….
done

Restore:

ssh root@storage
fdisk -lu /backup/laptop.img ### write down the first sector of the desired partition, say 1959930
mkdir /samba/laptop && mount -o loop,offset=$[1959930*512],ro,user /backup/laptop.img /samba/laptop
grab a beer and see it at \\storage\samba\laptop

Linux rulez!

Network boot candyshop cu pxelinux

Cei care au fost pe la noi prin firma sau ne cunosc de mai multa vreme stiu ca suntem pasionati de LTSP si ca folosim intern un astfel de sistem. Ca sa fiu sincer, Dragos a prins pasiunea pentru LTSP si a facut primele implementari, eu am prins “microbul” de la el. Pe foarte scurt, [...]