Wednesday, March 31, 2010

login to unix remote with rsa key pair from windows

On Windows client, we need:
  • PuTTY
  • PuTTYgen
  • Pageant
Use PuTTYgen to make key pair, save private key to file and copy public key to clipboard. Add key to Pageant.

On Unix remote, edit ~/.ssh/authorized_keys and add public key from Windows clipboard (one-line).

Use PuTTY to login to remote. WinSCP also uses Pageant when possible.

Tuesday, March 23, 2010

quick backup on samba share

The following are instructions on how to backup an entire partition from a network connected machine onto a samba share. The backed up partition can be from Windows or Linux. The samba (cifs) share can also be a Windows share.

Samba machine is at 10.123.45.3 and share name is void.
  • Burn sysrescuecd on a disc
  • Boot sysrescuecd on the machine to backup
  • Press enter at boot prompt
  • dhclient eth0 (assuming it only has one network interface)
  • mount.cifs \\\\10.123.45.3\\void /mnt/backup
  • partimage
  • select appropriate partition, backup to file /mnt/backup/snit, no compression (where snit is backup file name)
  • wait
Do not disable file splitting, keep it at 2GB default. I'm not sure why but it won't work if you don't split files.

It may be a good idea to compress the resulting files afterwards using 7z (or whatever) if you're short on disk space. You could use compression directly from partimage but I like to keep backups as fast as possible (and my samba server has a faster CPU than most machines I backup from).

Restoring the partition is done in a similar manner. Just choose restore instead of backup to file in partimage first menu.

Friday, March 12, 2010

physx hud

or physx visual indicator...

For some reason, by default, we see big green and grey letters in the upper left corner of the screen when playing a physx-enabled game. The idiots who put together the nvidia control panel did not put the option to disable this at the right place. Instead of being under the physx pane on the left, it's under the "3D settings" menu, just beside file, edit, view, etc.

Apparently it is only enabled by default on win7, not on xp.

Sunday, February 28, 2010

partimage restore on vm (fuck samba)

download, install and start virtualbox
  make new vm with enough space to restore everything (partimage imginfo qerf.000)
  boot sysrescuecd on vm
  dhclient eth0
  mount.cifs \\\\10.123.45.3\\void /mnt/windows
  startx
  gparted
    create default partition table
    create new partition of appropriate filesystem type and set boot flag
    exit
  partimage restore /dev/sda1 /mnt/windows/qerfimg.000
    accept 100 dialog boxes
    wait
    OH NO CRASH, READ ERROR! Fucking samba. C'est sûr que c'est ça le prob. Et la ça commence à me faire pas mal peur. J'ai probablement des erreurs dans mes fichiers audios et vidéos dû aux transferts.

Thursday, February 18, 2010

voltz

I has more than thou.
Legendary Reliability?

EDIT: I now have 162 739 118,2 volts. I doubt this one too.

mais encore

Au moins il y a de la pression.

idontthinkso2


Me semble. Ça ferait 27MB/s. Graver un CD plein prendrait que 30 secondes.