Questions tagged [debootstrap]

tool for creating full Debian-based installations in specific directories.

Filter by
Sorted by
Tagged with
53 votes
5 answers
37k views

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 ...
fadedbee's user avatar
  • 808
14 votes
2 answers
14k views

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 ...
cheffo's user avatar
  • 293
11 votes
2 answers
2k views

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 ...
jml's user avatar
  • 1,005
10 votes
2 answers
29k views

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 ...
hookenz's user avatar
  • 2,579
10 votes
1 answer
9k views

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 ...
Marco Ceppi's user avatar
  • 48.1k
9 votes
1 answer
2k views

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 ...
Peter W.'s user avatar
8 votes
1 answer
3k views

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. ...
Neo's user avatar
  • 240
8 votes
1 answer
1k views

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 ...
Tim Post's user avatar
  • 832
8 votes
2 answers
4k views

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 ...
Tek Tengu's user avatar
  • 301
7 votes
2 answers
307 views

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 ...
runeks's user avatar
  • 351
6 votes
2 answers
728 views

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 ...
plopper's user avatar
  • 129
6 votes
2 answers
1k views

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 ...
Tom's user avatar
  • 253
5 votes
1 answer
2k views

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 ...
opticyclic's user avatar
5 votes
1 answer
1k views

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 ...
João Pinto's user avatar
  • 17.2k
4 votes
1 answer
2k views

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 ...
ChosSimbaOne's user avatar
3 votes
1 answer
4k views

Installing Ubuntu manually from command line (without installer)

Some Linux distributions is lack of installation script, like Gentoo or Arch. Everything can be done by hand (partitioning disk, making filesystems, installing, etc). The questions is: Is it possible ...
QkiZ's user avatar
  • 1,227
3 votes
1 answer
2k views

how to make ubuntu install iso file for arm64 machine on x86-64 machine?

I'm trying to install ubuntu 18.04 on a qemu virtual machine which is a modified version of qemu's arm virt machine. I checked that I can install ubuntu 18.04 on arm virt machine as directed here, a ...
Chan Kim's user avatar
  • 1,969
3 votes
2 answers
2k views

debootstrap wants to remove target folder, why?

I have in the past used debootstrap to bootstrap both Debian and Ubuntu systems. But this time, trying to bootstrap a Ubuntu system from a Debian 6 rescue system (Note: I have no choice about the ...
0xC0000022L's user avatar
  • 5,720
2 votes
1 answer
3k views

How to install Ubuntu in a chroot environment on an Archlinux system?

Currently I'm stuck with an Archlinux system at work. However, I want to be able to package some software for Ubuntu on this machine. So I thought it should be possible to set up an Ubuntu (Precise) ...
andreas-h's user avatar
  • 673
2 votes
1 answer
2k views

CD Based Usage of debootstrap?

I have installed 12.04 xubuntu alternative with whole disk encryption on a machine. I am attempting to set up a schroot usage of backbox 3.01 (an ubuntu 12.04 derivative from what I can tell) under ...
Tek Tengu's user avatar
  • 301
2 votes
1 answer
5k views

Install more packages with debootstrap

debootstrap is a tool which will install a Debian/Ubuntu base system into a subdirectory of another, already installed system. The installation log ends like this: . . . I: Validating xxd 2:8.1....
xpt's user avatar
  • 1,045
2 votes
3 answers
2k views

Non-interactive install of grub2 when installing from scratch

There is a very similar question here "How do I apt-get -y dist-upgrade without a grub config prompt?" about updating grub without the prompt using apt-get. However I would like to to know how to ...
nwaltham's user avatar
  • 551
2 votes
1 answer
2k views

"Failed to start network default" error when trying to juju bootstrap an LXC environment

one@onezero:~/juju$ juju bootstrap 2012-02-13 07:32:26,586 INFO Bootstrapping environment 'sample' (type: local)... 2012-02-13 07:32:26,587 INFO Checking for required packages... 2012-02-13 07:32:26,...
One Zero's user avatar
  • 27.1k
2 votes
1 answer
2k views

debootstrap or virt-install Ubuntu Server Maverick fails

Running any kind of variation of debootstrap, I get the following error: I: Extracting zlib1g... W: Failure trying to run: chroot /lxc/iso/dodo mount -t proc proc /proc debootstrap.log : mount: ...
poelinca's user avatar
  • 131
2 votes
1 answer
484 views

How to allow SSH chroot user to restart apache on host?

My first post here on Ask Ubuntu. I have an LAMP Ubuntu server which has two vhosts defined in /etc/apache2/sites-enabled. One of these sites (an external mirror site) must be maintained by an ...
Andy Woolford's user avatar
2 votes
1 answer
1k views

debootstrap centos under ubuntu?

I am needing to compile an app under an older version of CentOS. I once found a way of doing a debootstrap style process for it. Can anyone recall the name of the program and how you set it up for ...
hookenz's user avatar
  • 2,579
2 votes
1 answer
2k views

How to reduce consumed disk space for a 942 MB 13.10 amd64 server minimal install?

The goal is to have a have a headless server installation on a physical machine that only serves one service. In other words the server is dedicated to run a single task. You could also call this a ...
Pro Backup's user avatar
  • 3,210
2 votes
1 answer
996 views

debootstrap does not resolve dependencies

Debootstrap for foreign arm64 architecture command is unable to resolve dependencies which normally exists on amd64. I run the following command: debootstrap --arch arm64 --foreign --include=...
user avatar
2 votes
0 answers
2k views

Why does mounting proc in my chroot fail during debootstrapping?

In a cleanly installed Ubuntu Raring machine I am trying to perform a debootstrap of another system. Here's the exact command: http_proxy=http://192.168.122.1:8000/ debootstrap --arch=amd64 raring /...
gertvdijk's user avatar
  • 67.9k
2 votes
0 answers
286 views

debootstrap error while upgrading from 10.04 to 12.04 [closed]

I made a version upgrade with apt-get dist-upgrade and I had this error while upgrading packages: 2013-01-24 08:49:32 upgrade debootstrap 1.0.37ubuntu1~lucid1 1.0.39ubuntu0.2 2013-01-24 08:49:32 ...
Rafael Rojas's user avatar
1 vote
2 answers
1k views

What takes less space: debootstrap or Ubuntu Core?

I have a very small disk in my netbook. So I decided to offload all development files into chroot on an external drive. What will take less space initially, debootstrap installation or Ubuntu Core ...
int_ua's user avatar
  • 8,564
1 vote
1 answer
712 views

debootstrap --include not working as expected

I'm trying to set up an Ubuntu OS image for use with systemd-nspawn by using debootstrap to create the OS image directory. Lots of examples I've seen indicate that I should use the --include option, ...
Rich Remer's user avatar
1 vote
2 answers
243 views

Run GUI apps inside fakechroot debootstrap

I'm following the tutorial on https://github.com/dex4er/fakechroot. I'm trying to install and run some apps keeping them isolated on an unprivileged user, without root. They are proprietary software ...
Hikari's user avatar
  • 203
1 vote
1 answer
652 views

Why Do I Have No Exit Code From debootstrap?

I am testing out debootstrap in a chroot via a bash script. The snippet that runs it is: #!/usr/bin/env bash set -e ... ... sudo debootstrap --verbose --arch=${ARCH} ${RELEASE} ${chroot_dir} if [ "$?...
opticyclic's user avatar
1 vote
2 answers
1k views

How Do I Use A Caching Proxy WIth debootstrap?

I want to run debootstrap and create a distro multiple times without constantly downloading packages. Using apt-cacher-ng or the --foreign option in debootstrap doesn't work completely offline (e.g. ...
opticyclic's user avatar
1 vote
1 answer
2k views

Openstack-Install - Problem with juju bootstrap

Having problems running Openstack-Install, using MAAS and Autopilot. Getting error Problem with juju bootstrap. Complete .cloud-install/commands.log file: http://pastebin.com/ANBMZwLs It deploys a ...
ladrua's user avatar
  • 213
1 vote
1 answer
339 views

mount-defaults does not mount

I am trying to setup an chroot image of Precise 12.04 under Lucid 10.04. The process seemed to be fine, but when I do schroot -c precise -u root I don't see anything under /home of the chroot image. ...
biocyberman's user avatar
1 vote
1 answer
374 views

MAAS bootstrap ssh port 22: Connection refused

I am trying to bootstrap my first node but I am receiving: ssh: connect to host 192.168.30.41 port 22: Connection refused I configured an ssh key in MAAS preferences and I also tried the following ...
Muna's user avatar
  • 13
1 vote
1 answer
765 views

Create a really clean and safe chroot environment in ubuntu

I want to doing some experiment to a linux system. I read about chrooting and debootsrap, it's said that it's needed to do binding mount to proc and dev so the chroot environment will fully work ...
Mas Bagol's user avatar
  • 1,341
1 vote
1 answer
4k views

Chromebook Asus C300 - Installation

I am completely new to Linux and Ubuntu and tried to install Ubuntu on my Asus C300 Chromebook following a guide. When I am in crosh having typed "shell" and then type sudo sh ~/Downloads/crouton -t ...
Lucas Dhony Henriksson's user avatar
1 vote
1 answer
2k views

Reinstalling network manager & icon issues

I just updated to ubuntu 14.04 LTE and network manager is giving me a question mark in my system tray even though I can connect to the internet. This really irritates me. I tried hiding network ...
user1527227's user avatar
1 vote
1 answer
2k views

How do I debootstrap on a local repository

I have a local Ubuntu repository generated with apt-mirror. Can I use this with debootstrap? deb http://myrepo/mirror/archive.ubuntu.com/ubuntu precise main restricted multiverse universe deb http://...
Johannes's user avatar
  • 333
1 vote
2 answers
363 views

Maverick userland under Lucid 10.04 for newer X11 and graphics use

My main system runs on Lucid Lynx 10.04, and since it's running rather well I do not wish to upgrade yet. However the graphics chipset X1700/V5250 doesn't work well for games. The open source driver ...
mario's user avatar
  • 3,450
1 vote
0 answers
308 views

How to run some graphical i386 apps on Ubuntu 18.04 (ARM64) / xfce4 / jetson nano

I'm trying to run some graphical i386 apps on ARM64 / xfce4 / jetson nano. I have configured the I386 / bionic chroot environment following and adapting a little bit this tutorial : https://www....
Marietto's user avatar
  • 575
1 vote
0 answers
1k views

apt is (unsuccessfully) looking for Components-amd64.yml on arm64 repo set up with apt-mirror

Repro: Install CentOS 7 server, then deploy Ubuntu 18.04 environment via debootstrap: yum install epel-release yum install debootsrap mkdir /opt/ubuntu-18.04 ln -s /opt/ubuntu-18.04 /opt/ubuntu ...
bviktor's user avatar
  • 255
1 vote
0 answers
549 views

Debootstrap on luks encrypted system: initramfs problem

since I don't have any external storage I tried to install the new ubuntu version from an already existing system (on a different partition). So I created an encrypted storage and created a vg and two ...
niklasrb's user avatar
1 vote
2 answers
2k views

debootstrap leaves installation without apt

Following the ZFSonLinux guide on how to install Ubuntu 16.04 with a ZFS root file system I've gotten up to the point of bootstrapping the new Ubuntu install which is where I meet resistence. Running ...
Rovanion's user avatar
  • 251
1 vote
0 answers
1k views

Installing in encrypted partition under EFI boot

I've been googleing for a bit and can not find an answer yet Im from a FreeBSD background, so you will have to forgive me a little I am trying to dual boot FreeBSD and Ubuntu I want to set up a ...
Paul W's user avatar
  • 11
1 vote
1 answer
2k views

debootstrap nested in the LXC container fails to mount proc because of apparmor

The command that is run inside an amd64 LXC container: debootstrap --arch armhf --foreign --variant=buildd --components=main,restricted,universe,multiverse vivid /var/lib/schroot/chroots/vivid-armhf ...
Velkan's user avatar
  • 3,616
1 vote
0 answers
2k views

Systemd non-determinism early on in boot from squashfs

Short version When booting exactly the same system repeatedly, sometimes the boot messages start with [ ...] systemd[1]: Set hostname to <liab>. [ ...] systemd[1]: Mounted /. [ ...] systemd[...
MvG's user avatar
  • 1,506