Skip to main content


Showing posts from April 10, 2016

Creating a chroot Environment for Mageia

Creating CHROOT Environment Mageia documents (link below) tell us how to set up a chroot environment in their Wiki . We'll set up both a 32-bit and a 64-bit environment for the current release as well as the development branch, Cauldron, and eventually use them with schroot, a tool that makes managing chrooted environments much, much easier. To summarize the steps to create a chroot using urpmi as follows: Create a Mount Point To create the mountpoint for the chroot environment for either or both 32- and 64-bit environments as well as Cauldron: # mkdir -p /mnt/chroot/mageia32 # mkdir -p /mnr/chroot/mageia64 # mkdir -p /mnt/chroot/cauldron32 # mkdir -p /mnt/chroot/cauldron64 Mageia can use either package set with your native urpmi application to install packages in the chrooted environment. 32-bit chroot For the 32-bit environment: Add the repositories. $ sudo urpmi.addmedia --distrib --urpmi-root /mnt/chroot/mageia32  --mirrorlist 'http://mirrors.mageia.or