Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debootstrap]

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

0
votes
0answers
14 views

when bootstraping cmake error [closed]

CMake 3.14.0, Copyright 2000-2019 Kitware, Inc. and Contributors Found GNU toolchain C compiler on this system is: gcc C++ compiler on this system is: g++ Makefile processor on this ...
0
votes
0answers
30 views

How to make use of apt-cacher-ng for debootstrap within docker?

Similar to How to set up a local Ubuntu Xenial repository using apt-cacher-ng for later network installation? (which has no answer), if I setup apt-cacher-ng in host, how can I make use of it in ...
0
votes
0answers
19 views

Continue / ignore debootstrap warnings during pre-seed installations

When performing an automatic / non-interactive installation of Ubuntu the installation is interrupted by a warning and requires user intervention (hit continue twice during) to continue. “Install the ...
0
votes
1answer
51 views

How do I enable systemd units to run at first boot?

I have a bionic image built using debootstrap. I have neither netplan nor NetworkManager installed, but networkd does not start at boot. # grep networkd /lib/systemd/system-preset/90-systemd.preset ...
0
votes
0answers
64 views

debootstrap fails because of Python pre-dependency

Ubuntu: 18.04 debootstrap: 1.0.95ubuntu0.1 I'm attempting to port a (working) script from 16.04 to 18.04. This command fails: debootstrap --no-check-gpg --include=iptables,ifupdown,less,qemu-kvm,...
0
votes
0answers
22 views

I have a bootstrap error with CLHEP 2.4.0.4 on Ubuntu 18.4 while installing geant4 10.04

According to the CERN site recommendations to download geant4.10.04.p02. I use CLHEP 2.4.0.4 but a problem appears when "./bootstrap". I tried more than a clhep version but when it's good at "....
1
vote
0answers
176 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 ...
1
vote
1answer
144 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 [ "$?...
0
votes
0answers
51 views

I have a bootstrap error with CLHEP 2.4.0.4 on Ubuntu 17.10 while installing geant4 10.0.4

enter image description here Good day everyone, I'm trying to build CLHEP 2.4.0.4 following the process of installing geant4 on Ubuntu. While typing ./bootstrap to continue the process, this error ...
0
votes
1answer
105 views

Are there commands to install Ubuntu from USB? [closed]

I currently have Q4os installed. What command can I use to install Lubuntu from files on USB? I can't boot install from USB and mini install doesn't have wireless internet installed.
1
vote
0answers
103 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. ...
0
votes
1answer
504 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 ...
0
votes
0answers
340 views

Error on Lubuntu installation

So I was installing lubuntu normally on a 1Gb USB and after the partitions installation part the system pop up a message with a thousand error (first error) , then i found on the internet that I have ...
0
votes
0answers
49 views

Build Ubuntu from local source mirrors

Currently, we are using Android on our embedded system. When we fetch the Android source code, we get the actual git repository of every packages inside the system. We can then mirror locally and ...
0
votes
1answer
558 views

Installing custom ubuntu+grub on a secondary bootable drive

I am using debootstrap to create a custom Xenial-based distro which can then be written to a secondary bootable drive from a host machine. (Target is an Intel NUC.) When I put the drive in the ...
2
votes
1answer
540 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 ...
9
votes
4answers
4k 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 ...
0
votes
0answers
158 views

dpkg configuration errors installing RuneScape's NXT Client in a debootstrap chroot

I have installed 64-bit Ubuntu 14.04 in a debootstrap chroot, so that I can install the RuneScape NXT Client in this chroot, and with some luck this could be used to run RuneScape on platforms other ...
0
votes
1answer
75 views

Hostname on a usb os

I installed xubuntu-core on a usb (with debootstrap) while following this guide. It's all successful but it still has the hostname of the laptop it was installed through. That bumps me the error sudo:...
0
votes
1answer
183 views

How to update a debootstrap machine?

I have several machines (Ubuntu 16.04) created via debootstrap which now cannot start anymore due to systemd changes (I start them via systemd-nspawn). Efforts to fix this are ongoing on the host ...
1
vote
0answers
896 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 ...
7
votes
1answer
683 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 ...
3
votes
1answer
371 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
208 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. ...
1
vote
1answer
257 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 ...
1
vote
0answers
1k 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[...
1
vote
2answers
358 views

How to check validity of an Ubuntu installation via debootstrap?

My goal is to set up an Ubuntu Server installation via debootstrap from another Ubuntu installation and to be sure that this new installation is a correct Ubuntu installation without modifications. ...
1
vote
0answers
261 views

`debootstrap` or `chroot` with `fakeroot[-ng]` instead of `sudo`: is it right or wrong?

Background I wanted to use debootsrap with fakeroot-ng. It started fine, but later on debootsrap stopped with an error and I had a dialogue box reporting tar crashed. However, as I had some ...
0
votes
1answer
83 views

Revkit make.py bootstrap error

username@ubuntu:~$ cd revkit-2.2 username@ubuntu:~/revkit-2.2$ ./make.py bootstrap bash: ./make.py: No such file or directory What does this mean and why does this happen?
1
vote
1answer
455 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 ...
1
vote
1answer
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 ...
1
vote
0answers
340 views

Error while modifing an image using guestfish

I tried to modify my .qcow2 image using guestfish guestfish --rw -a parsecROI.img.qcow2 Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. ...
1
vote
1answer
563 views

debootstrap does not extract libc6, does not create /sbin/ldconfig

I am using dbootstrap to create a chroot root file system (Ubuntu 14.04), so that I can use it later to image another machine. I specify all the necessary packages, and debootstrap seems to retrieve, ...
1
vote
3answers
734 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 ...
0
votes
1answer
756 views

How do I make a chroot clone of my [current setup] like after a fresh install

Where I am... I know that I debootstrap trusty /chroot-dir and then I... mount --bind /dev /chroot-dir/dev && mount --bind /proc /chroot-dir/proc and then cat /etc/apt/sources.list ...
1
vote
1answer
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 ...
2
votes
1answer
885 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
866 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 ...
0
votes
1answer
145 views

cdebootsrap-static fails on initramfs

From a fresh live cd of Ubuntu 12.04: # enabling universe repository sudo apt-get update sudo apt-get install cdebootstrap-static sudo cdebootstrap-static --debug -v --allow-unauthenticated --flavour ...
6
votes
2answers
14k 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 ...
2
votes
0answers
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 /...
1
vote
1answer
1k views

Ubuntu 12.04 server install fails with debootstrap warning

Have made several attempts to download and create iso on CD and USB of 12.04 server 64-bit. Install attempts on a few different machines always hits several "Debootstrap Warning - "......deb file was ...
1
vote
0answers
356 views

Chroot environment can access external, but not internal network

I've just set a chroot environment up on a new 12.10 install, and it seems capable of accessing the external network (Internet basically) but it cannot access anything on the internal network inside ...
10
votes
2answers
7k 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 ...
1
vote
1answer
1k 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://...
7
votes
2answers
3k 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 ...
2
votes
1answer
997 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 ...