Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The purpose of this thread is to demonstrate how to use psandbox to troubleshoot a new experimental distro. Psandbox is a more light weight approach than virtualization and is based on the sandbox.sh script that was originally part of puppylinux and is now included in woof-CE.
- [b]Get psandbox[/b]
- 1. Make a new director called psandbox.
- [code]
- mkdir -p /mnt/home/gitlab_projects/psandbox
- cd /mnt/home/gitlab_projects/psandbox
- [/code]
- [b] Step 1. Get the files.
- PM
- #!/bin/bash
- SB_PREFIX=/mnt/home/gitlab_projects/psandbox/master
- OS_HOME=/initrd/mnt/dev_save/arch/32/20.02
- MP=/initrd/mnt/dev_save
- PSUBDIR="arch/32/20.02"
- OS_HOME="$MP/$PSUBDIR"
- LOGFILE="$(realpath ./sandbox.log)"
- RW_LAYER="$(realpath ./a32pupsave)"
- bash -x "$SB_PREFIX"/usr/bin/psandbox.sh --logfile "$LOGFILE" -f "$OS_HOME"/sandbox.out -o "$OS_HOME"/sandbox.out --pdrv /mnt/home --maybe-psubdir "$PSUBDIR" --no-exit --rw-layer "$RW_LAYER"
Advertisement
Add Comment
Please, Sign In to add comment