setting up various chroots under debian / ubuntu

13 Jul

create or edit /etc/schroot/schroot.conf:

 #################################################
[hardy_i386]
description=Ubuntu Hardy Heron 8.04 (LTS) 32-bit
location=/scratch/md0/chroot/hardy_i386/
# type is required for setup-scripts to mount /proc etc. correctly
type=directory
run-setup-scripts=true
priority=3
users=<<FILL_IN_DESIRED_USERS_HERE>>
personality=linux32
aliases=hardy32,LTS32
#################################################
[hardy_amd64]
# type is required for setup-scripts to mount /proc etc. correctly
type=directory
description=Ubuntu Hardy Heron 8.04 (LTS) 64-bit
location=/scratch/md0/chroot/hardy_amd64/
priority=3
users=<<FILL_IN_DESIRED_USERS_HERE>>
# run-exec-scripts=true
run-setup-scripts=true
aliases=hardy64,LTS64


then bootstrap your desired variant:

debootstrap --verbose --variant=buildd --arch i386 hardy \
    /scratch/md0/ne704/chroot/ubuntu-hardy-32/ \
    http://de.archive.ubuntu.com/ubuntu/

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: