Edit Filesystem on Linux LiveCD
Dependencies: bsdtar(app-arch/libarchive), mkisofs(app-cdr/cdrtools), sys-fs/squashfs-tools
In this case we open and edit a Debian based LiveCD
Create directory for extract iso mkdir $HOME/livecd
Extract ISO content to created directory with bsdtar bsdtar -C $HOME/livecd -xf LiveCD.iso
Find the place where the filesystem squashfs is in this chace $HOME/livecd/live/filesystem.squashfs and extract it. unsquashfs live/filesystem.squashfs
Now apply changes to extracted directory (./squashfs-root)
Create a new squashfs which contain changes mksquashfs squashfs-root/ filesystem.squashfs
Finally create a new patched image of the LiveCD
mkisofs -o LiveCD_patched.iso -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat $HOME/livecd


Gentoo: layman, protect system for unwanted overwrite by overlay
Maybe you know the problem, the new overlay want to replace system parts.
Last time Sabayon-overlay replace my openrc so next boot means "booting Sabayon Linux" ;)
The handle of this is, easy just add the overlay to your /etc/portage/package.mask
example: */*::pentoo
Now you have to unmask the wanted packages from the overlay in your /etc/portage/package.unmask
example: net-analyzer/wpscan::pentoo


Windows 7 SP 1 Install Problem 0x800f0a12
Installation of Service Pack 1 for Windows 7 fails with error code 0x800f0a12
This problem is mostly that other operation systems are installed, like GNU/Linux or BSD.
The solution is simple, Windows must to be installed on the first partion/harddisk in your system.
To make this possible simply open your computer (after shutdown) and remove the power-supply
from harddisks, there not contain your Windows installation.
Install the update and add the power-supply back to your disks.


Gentoo: PortageTree as a file
Dependencies:AutoFS
  • Create empty file with 1GB size:
  • dd if=/dev/zero of=/portagetree bs=1M count=1k & while [ ! $(pkill -USR1 -x dd) ]; do sleep 10 ; : ; done
  • Create filesystem in /portagetree (I prefer ReiserFS for Portagetree):
  • mkfs.reiserfs -f /portagetree
  • Add mount to /etc/auto.misc:
  • echo "portagetree -fstype=reiserfs,noatime,loop :/portagetree" >> /etc/auto.misc

    Now simply Add/Replace PORTDIR="/mnt/autofs/portagetree" in your make.conf


    Put a running process into a screen-session:
  • ctrl+z # stop process and set him in background
  • disown -h <pid> # detach process from his parent
  • screen # open screen session for process
  • reptyr <pid> # join process into screen




  • Spellforce 2 Faith in Destiny - Malangar Green - Schalter-Rätsel / Switchriddle
    Spellforce 2 Faith in Destiny - Malangar Green - Schalter-Raetsel / Switchriddle