Difference between revisions of "Knoppix Remastering Howto Brazilian Portuguese"
From Knoppix Documentation Wiki
(→Dicas sobre "apt-get" para instalar/atualizar/remover aplicações) |
(→Helpful Scripts) |
||
| Line 395: | Line 395: | ||
* reboot and have fun. | * reboot and have fun. | ||
| − | ==== | + | ====Scripts Úteis==== |
---- | ---- | ||
| − | + | Este é o layout recomendado para o diretório de remasterização do KNOPPIX: | |
| + | |||
. (invoke ../remaster from here) | . (invoke ../remaster from here) | ||
|-- master (invoke ../../[[u]]mountbootimage from here) | |-- master (invoke ../../[[u]]mountbootimage from here) | ||
| Line 427: | Line 428: | ||
`-- vmlinuz -> boot/vmlinuz-2.4.22-xfs | `-- vmlinuz -> boot/vmlinuz-2.4.22-xfs | ||
---- | ---- | ||
| − | |||
| − | + | O script de remasterização a seguir fará o processo de remasterização para você. Utilize-o como "root", senão você obterá erros de acesso à imagem, devido às permissões. | |
| + | |||
| + | O script foi testado pela última vez com Debian "sid" em 02/04/2004. | ||
#!/bin/bash -x | #!/bin/bash -x | ||
| Line 458: | Line 460: | ||
-c KNOPPIX/boot.cat -hide-rr-moved -o $TARGET/knoppix.iso $MASTER | -c KNOPPIX/boot.cat -hide-rr-moved -o $TARGET/knoppix.iso $MASTER | ||
---- | ---- | ||
| − | + | ||
| + | O script a seguir fará uma montagem de disquete de "boot" no modo "loop" e da imagem "initrd" para modificação. A função "umount" formará uma nova imagem "initrd" e a recolocará na imagem do disquete de "boot". | ||
| + | |||
| + | O script foi testado pela última vez no Debian "sid" em 13/01/2004. | ||
The script has last been tried out on Debian sid on 2004-01-13. | The script has last been tried out on Debian sid on 2004-01-13. | ||
| − | <!-- lines starting with space | + | <!-- lines starting with space are preformatted --> |
#!/bin/bash -x | #!/bin/bash -x | ||
# This script will loop-mount boot floppy and initrd image | # This script will loop-mount boot floppy and initrd image | ||