<$BlogRSDURL$>

domingo, maio 23, 2004

Criando imagem de um disco de boot:

dd if=/dev/fd0 of=boot.img bs=512
Writing Image Files to Floppy Disks Using rawrite or dd

You must write each of the image files you need to a floppy disk. The easiest methods of writing an image file to a disk are using dd or rawrite.
Using the dd Command

The dd command in a Linux/UNIX OS is used to do direct dumps from one device (or file) to another. It is an excellent tool to create a disk image or to make a disk from an image. In Linux, the command is invoked as follows:

bash# dd if=<image file> of=/dev/fd0

You should see something like the following to indicate that the image transfer was successful:

2880+0 records in
2880+0 records out

If you see a smaller block count, your image did not transfer correctly. If this is the case, it will usually be accompanied by a disk error.

After you make a disk, make sure to label it according to its contents.
Convertendo VCD para divx:

mencoder -cuefile tcf-t3a.cue -vcd 2 -vop scale=640:320,crop=768:384 -oac
mp3lame -lameopts vbr=3:preset=medium -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=2000:vhq:vqmin=2:vqmax=31 -o cd1.avi
Sobre o TightVNC:

Win32 TightVNC includes code from TridiaVNC distributions, and therefore it
should include Tridia's modification to disable the tray icon. Here is a
quote from TridiaVNC 1.3.3 announce:

* Added registry flag to cleanly disable the tray icon on all platforms
and in all modes without affecting other settings. The default is "0" and
indicates that the tray icon should not be disabled. A value of "1" will
suppress the tray icon for all users.

HKLM\SOFTWARE\ORL\WinVNC3\DisableTrayIcon DWORD "0"
HKLM\SOFTWARE\ORL\WinVNC3\DisableTrayIcon DWORD "1"

Thus, to disable the tray icon, you should start the "regedit" utility from
the command line, go to the HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\ folder,
and create a DWORD parameter with the name "DisableTrayIcon" and the value
"1". Then, after restarting WinVNC, the icon will not be shown anymore.
Criando um CD de boot com o partimage:

mkisofs -J -r -T -v -o /temp/bootcd.iso -V "Partition Image Rescue" -b .eltorito/partimage-0.6.0-i386-bootcd-1.img -c .eltorito/eltorito.boot -A "Partition Image" .

Limpando um CDRW para uma nova gravação:

cdrecord -v speed=4 dev=0,0,0 -blank=fast
Para restaurar uma imagem criada pelo partimage, use:

partimage restore /dev/hda1 /mnt/imagem

This page is powered by Blogger. Isn't yours?