Jak spravne pripojit samba share.
mount -t cifs //IP/Storage/C /mnt/disk/ -o iocharset=utf8,file_mode=0777,dir_mode=0777,noperm
Sakra kdo si ma tohle porad pamatovat.
Tuesday, September 22, 2009
Tuesday, September 8, 2009
VMware(winXp) do VirtualBoxu
Predelani vmware winXp do VirtualBoxu.
dd if=/dev/hda bs=15M conv=sync,noerror | ssh -o TCPKeepAlive=yes root@vmware_host_ip
Odkazy:
http://www.kleinfelter.com/node/135
- Vytvoreni pouze jednoho vmdk souboru: vmware-vdiskmanager -r Windows\ XP\ Pro\ SP2.vmdk -t 2 singleXP.vmdk
- Konverze vmdk na raw: qemu-img convert -O raw singleXP-flat.vmdk winXP.raw
- Konverze raw na vdi: VBoxManage convertfromraw winXP.raw winXP.vdi
- Nastaveni ACPI tak jak bylo ve VMware (Enable IO APIC)
- Nastavani IDE na PII4
- Disable agp440.sys v recovery konsoli (disable agp440)
- Mozne problemy s activaci
dd if=/dev/hda bs=15M conv=sync,noerror | ssh -o TCPKeepAlive=yes root@vmware_host_ip
Odkazy:
http://www.kleinfelter.com/node/135
Zenity Budik
Snaha o vytvoreni jedoducheho vyskakovaciho okna (na vareni uplne idalni vec :)) ). Uz jsem si to musel zapsat. Zjistovani jak to funguje mi zase sezralo hodinu :(.
echo 'export DISPLAY=":0.0";/usr/bin/zenity --info --text "Nejaky Vtipny Text"' | at now+1min
echo 'mpq321 /cesta/k/songu' | at now+1min
echo 'export DISPLAY=":0.0";/usr/bin/zenity --info --text "Nejaky Vtipny Text"' | at now+1min
echo 'mpq321 /cesta/k/songu' | at now+1min
Subscribe to:
Posts (Atom)