Menu

Tree [5aef4c] master /
 History

HTTPS access


File Date Author Commit
 LICENSE 2017-02-23 Aphion Aphion [8dae52] License Commit
 README.md 2017-02-23 Aphion Aphion [dd5f29] Fix README.md
 mkchroot 2017-02-23 Aphion Aphion [2cb4e8] Rename to mkchroot to avoid conflicts

Read Me

Readme

================

This is a modified script to create a Debian Jessie x86/i386 chroot environment on your Raspberry Pi forked & based on the original script released by socialdefect.

All credit should go to socialdefect! Im still learning Linux and you should consider this still very much a WIP by a Linux newbie!

Still on the TO-DO list:
  • Rename mkraspbian-chroot to mkchroot to avoid conflicts
  • Modify arch in mkchroot
  • Fix gpg jessie public key
  • Add script to install Dependencies
  • Add wine to the install script with correct memsplit & depends
  • Fix README.md
  • Script cleanup
  • Create Standard & Berryboot images for easy installation on sd card

Dependencies

=================

debootstrap qemu qemu-user-static qemu-debootstrap

Installation:

================

WIP!

mkchroot Readme:

==================

Script for setting-up a Debian x86/i386 chroot directory to develop software for Linux x86/i386 OSes and on your Raspberry Pi.
The script can also help you bind-mount /dev, /proc and /sys filesystems to enable device
access and networking inside your chroot, unmount bind-mounts and start a chrooted shell or
execute a chrooted command.

Usage:

==========
* mkchroot (with no arguments will create a chroot in the working directory)
* mkchroot [workdir] [chroot name] [distribution] [mirror] - (name, distrib and mirror are not mandatory for they get default values)
* mkchroot mount [/path/to/chroot/dir]
* mkchroot unmount [/path/to/chroot/dir]
* mkchroot chroot [/path/to/chroot/dir] [command] - (if [command] is not passed it will default to a bash shell)

Examples:

=============
When you run mkchroot without any arguments a Debian jessie
chroot will be created in your current directory ($PWD). The chroot
directory will be named 'chroot-debian-i386'.
If this directory exists you can choose to overwrite or auto-rename it.

Create a new Debian jessie chroot in directory: /home/username/raspi
    named: jessie-i386

            mkchroot /home/username/raspi jessie-i386 jessie
mkraspbian-chroot Original Readme:

======

Script for setting-up a Raspbian chroot directory for developing software for the Raspberry Pi
(http://raspberrypi.org) on your Linux desktop computer.
The script can also help you bind-mount /dev, /proc and /sys filesystems to enable device
access and networking inside your chroot, unmount bind-mounts and start a chrooted shell or
execute a chrooted command.

Usage:
mkraspbian-chroot
(with no arguments will create a chroot in the working directory)
mkraspbian-chroot [workdir] [chroot name] [distribution] [mirror]
(name, distrib and mirror are not mandatory for they get default values)
mkraspbian-chroot mount [/path/to/chroot/dir]
mkraspbian-chroot unmount [/path/to/chroot/dir]
mkraspbian-chroot chroot [/path/to/chroot/dir] [command]
(if [command] is not passed it will default to a bash shell)

Examples:

When you run mkraspbian-chroot without any arguments a raspbian wheezy
chroot will be created in your current directory ($PWD). The chroot
directory will be named 'chroot-raspbian-armhf'.
If this directory exists you can choose to overwrite or auto-rename it.

Create a new raspbian wheezy chroot in directory: /home/username/raspi
named: wheezy-armhf

  mkraspbian-chroot /home/username/raspi wheezy-armhf wheezy

Create a

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.