tool for creating full Debian-based installations in specific directories.
Questions tagged [debootstrap]
77 questions
55
votes
5 answers
How to automate setting up of "keyboard-configuration" package?
I'm writing a script to install Ubuntu 16.04 server into a chroot jail, using debootstrap (on an Ubuntu 16.04 server machine).
During the setting up of the keyboard-configuration package it asks for the keyboard type:
Setting up…
fadedbee
- 828
- 1
- 7
- 16
17
votes
2 answers
What is debootstrap --second-stage for
I just played around with debootstrap and schroot. I'm setting up my environments with debootstrap. I'm not using --second-stage option of debootstrap.
When and how do I need to use this option. What does debootstrap do in the second stage?
cheffo
- 323
12
votes
2 answers
How do I create a chroot of an earlier version of Ubuntu?
I'd like to create a virtual instance of the latest LTS so I can test the software I'm writing in a way that more closely matches our production environment.
There seem to be many, many different ways of doing this: use debootstrap with schroot;…
jml
- 1,035
12
votes
2 answers
How do I correct this error with debootstrap in Ubuntu Server 12.04.3?
When using the tool xen-create-image I get an error with the debootstrap process.
Running
root@xen/tmp# debootstrap --arch amd64 precise /tmp/ubuntu
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release…
hookenz
- 2,639
10
votes
1 answer
How do I add more variants or custom packages to debootstrap?
I have a set of packages that I wish to install along-side the minibase variant in debootstrap. I'm having the hardest time figuring out how to customize variants so that more than just the base is installed in a chroot when debootstrap is run. Any…
Marco Ceppi
- 48,827
9
votes
1 answer
Latest security updates with debootstrap?
After running debootstrap I have to chroot into the system and run # apt-get update && apt-get upgrade to apply security updates.
Is it possible for debootstrap to use the latest packages, so I don't have to update the system manually afterwards?
Peter W.
- 91
9
votes
1 answer
Is there a way to have Debootstrap automatically configure locales?
I like to use Debootstrap for making sparse systems (usually a base for something embedded) or paravirtualized Xen guests.
I'm familiar with how to tell Debootstrap what packages I want beyond the typical minimal base, but I have yet to find the…
Tim Post
- 862
8
votes
2 answers
debootstrap failing to mount /proc
I have researched this, and none of the answers (so far) on here, nor googling seem to match my problem.
Here is the situation:
I am running Xubuntu 12.04 as a base install, and am trying to set up a debootstrap chroot install of BackBox 3.01 (also…
Tek Tengu
- 301
8
votes
1 answer
Adding user to chroot environment
I've created a chroot system in my Ubuntu using schroot and debrootstrap, based on minimal ubuntu. However whenever I can't seem to add a new user into this chroot environment. Here is what happens.
I enter schroot as root and add a new user…
Neo
- 240
7
votes
2 answers
How to build packages for Maverick while running Lucid?
I would like to be able to build a package for the Maverick distribution release of Ubuntu, while running the Lucid distribution release.
I found this page: https://wiki.ubuntu.com/DebootstrapChroot which seems to explain what I would like to do.…
runeks
- 361
6
votes
2 answers
What is the function of bootstrap.log?
I encountered the existence of a file named bootstrap.log in the /var/log directory when trying to solve a log related problem and when looking at its content I saw that the timestamps are over a year old.
It seems to be consisting of a lot…
plopper
- 169
6
votes
2 answers
How can I fully use the chroot I create with debootstrap on a local machine?
I'm running on a Ubuntu 10.04, and installed an 8.04 version in a directory /stuff/hardy
sudo debootstrap --variant buildd --arch i386 hardy /stuff/hardy http://archive.ubuntu.com/ubuntu
What I want to do is to get a working environment isolated…
Tom
- 253
5
votes
1 answer
How to use the mirror option of apt-cacher-ng for debootstrap?
I run debootstrap like this:
sudo debootstrap --verbose --arch=amd64 zesty chroot
I have already installed apt-cacher-ng.
How do I make them work together so that when I run debootstrap multiple times I use the cache instead of repeatedly…
opticyclic
- 781
5
votes
1 answer
How to boot from a debootstrap based install?
I would like to boot a testing Ubuntu release from a directory (which contains a debootstrap based install).
As far as I understand I just need someway to tell the boot process (initrd scripts?) that it should chroot() into the specified dir…
João Pinto
- 17,323
4
votes
1 answer
dist-upgrade of diskless ubuntu
I am currently PXE booting a bunch a machine, via the diskless function in ubuntu.
What is the best practice when upgrading the image from 10.04 LTS to 12.04 LTS?
I've currently made a copy of the image with cp -arpv to ensure that i can switch back…
ChosSimbaOne
- 151
- 1
- 3
- 12