Difference between revisions of "Knoppix Remastering Howto Brazilian Portuguese"
From Knoppix Documentation Wiki
(→Tips) |
(→Tips) |
||
| Line 335: | Line 335: | ||
Burn the ISO using your favorite tools, and you're ready! | Burn the ISO using your favorite tools, and you're ready! | ||
| − | ==Tips== | + | ===Tips=== |
I have had good results remastering working from the CD as root working from fluxbox. Just say "knoppix 2" at the boot prompt and it will boot you to a root prompt where you can then say "startx /usr/bin/fluxbox". I like to use the xterm unicode shell. | I have had good results remastering working from the CD as root working from fluxbox. Just say "knoppix 2" at the boot prompt and it will boot you to a root prompt where you can then say "startx /usr/bin/fluxbox". I like to use the xterm unicode shell. | ||
| − | ===Package Management=== | + | ====Package Management==== |
While working chroot doing the remastering I like to use | While working chroot doing the remastering I like to use | ||
apt-get remove --purge pkg-name | apt-get remove --purge pkg-name | ||
| Line 352: | Line 352: | ||
deborphan | xargs dpkg -P . | deborphan | xargs dpkg -P . | ||
| − | ===Alternatives for Low-Memory Machines=== | + | ====Alternatives for Low-Memory Machines==== |
You don't really need 1G swap as there are two new tools to create compressed filesystems. Here are some candidates to make ''compressed'' fs: | You don't really need 1G swap as there are two new tools to create compressed filesystems. Here are some candidates to make ''compressed'' fs: | ||
* Valentijn's rewrite [http://projects.openoffice.nl/downloads/compressloop/] | * Valentijn's rewrite [http://projects.openoffice.nl/downloads/compressloop/] | ||
| Line 359: | Line 359: | ||
* Justin's patch [http://s.bouncybouncy.net/~justin/code/] (link broken) I also just wrote a distributed cloop compressor(or for smp) It's in that same directory. | * Justin's patch [http://s.bouncybouncy.net/~justin/code/] (link broken) I also just wrote a distributed cloop compressor(or for smp) It's in that same directory. | ||
| − | ===Test CD Image Without Burning a CD=== | + | ====Test CD Image Without Burning a CD==== |
If you have a spare partition with at least 700MB free space formatted with ext2, ext3 or Vfat, you can use this for test by booting from a floppy disk. A floppy boot will look for a partiton with /KNOPPIX/ in the root, and the compressed image /KNOPPIX/KNOPPIX. Instead of using the sub-directory /mnt/hda1/knx/master/KNOPPIX/ as described above, it should be called /mnt/hda2/KNOPPIX/ . The root index.html will then be located at /mnt/hda2/index.html and the compressed image will be at /mnt/hda2/KNOPPIX/KNOPPIX . Now you can boot from floppy and use /mnt/hda2 as your image. For further information see [[Hd BasedHowTo]]. | If you have a spare partition with at least 700MB free space formatted with ext2, ext3 or Vfat, you can use this for test by booting from a floppy disk. A floppy boot will look for a partiton with /KNOPPIX/ in the root, and the compressed image /KNOPPIX/KNOPPIX. Instead of using the sub-directory /mnt/hda1/knx/master/KNOPPIX/ as described above, it should be called /mnt/hda2/KNOPPIX/ . The root index.html will then be located at /mnt/hda2/index.html and the compressed image will be at /mnt/hda2/KNOPPIX/KNOPPIX . Now you can boot from floppy and use /mnt/hda2 as your image. For further information see [[Hd BasedHowTo]]. | ||
| Line 366: | Line 366: | ||
You even do not have to build a hard disk image before, just install Qemu and try this. Amazing! | You even do not have to build a hard disk image before, just install Qemu and try this. Amazing! | ||
| − | ===Test remastered version without creating cloop file/iso=== | + | ====Test remastered version without creating cloop file/iso==== |
i use a setup similar to knoppix terminal server to test the remastered files without having to recreate a | i use a setup similar to knoppix terminal server to test the remastered files without having to recreate a | ||
cloop image every time: the remastered files live in an ext2 filesytem in a loopfile (knoppix_loop) mounted rw (this is where i chroot in). when i want to test the current setup, i have another machine network boot and use the files from the loopfile directly (needs another miniroot.gz). See [[User:Ml#dev_setup]] | cloop image every time: the remastered files live in an ext2 filesytem in a loopfile (knoppix_loop) mounted rw (this is where i chroot in). when i want to test the current setup, i have another machine network boot and use the files from the loopfile directly (needs another miniroot.gz). See [[User:Ml#dev_setup]] | ||
| Line 379: | Line 379: | ||
</pre> | </pre> | ||
| − | === Booting Knoppix images with GRUB=== | + | ==== Booting Knoppix images with GRUB==== |
* First copy /boot off the Knoppix cd to your boot partition (or even your dos partition). I named mine boot.knoppix | * First copy /boot off the Knoppix cd to your boot partition (or even your dos partition). I named mine boot.knoppix | ||
Copy the master/KNOPPIX directory to your root directory of any hard disk. You may place it somewhere other than the boot partition (ext2/3, reiserfs, vfat are supported). | Copy the master/KNOPPIX directory to your root directory of any hard disk. You may place it somewhere other than the boot partition (ext2/3, reiserfs, vfat are supported). | ||
| Line 395: | Line 395: | ||
* reboot and have fun. | * reboot and have fun. | ||
| − | ===Helpful Scripts=== | + | ====Helpful Scripts==== |
---- | ---- | ||
This is the recommended directory layout for remastering KNOPPIX: | This is the recommended directory layout for remastering KNOPPIX: | ||
| Line 548: | Line 548: | ||
esac | esac | ||
| − | ===Tips around apt-get to install/update/remove applications=== | + | ====Tips around apt-get to install/update/remove applications==== |
(by gnarvaja) | (by gnarvaja) | ||
* If you booted from CD, even on a HD install (example: Pivot Install) instead of copying the original CD and KNOPPIX directory to the HD, you can use them directly from their mount points. | * If you booted from CD, even on a HD install (example: Pivot Install) instead of copying the original CD and KNOPPIX directory to the HD, you can use them directly from their mount points. | ||