Questions tagged [debootstrap]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

debootstrap focal does not create accounts systemd-timesync, systemd-network and systemd-resolve

After I ran debootstrap focal <directory> I checked /etc/passwd, the following accounts were not created: systemd-timesync systemd-network systemd-resolve This causes issues for systemd to ...
0
votes
1answer
40 views

How to make and install the image of my own Ubuntu 16.04 installation with Docker on a remote server

I'm going to hire some space on a remote linux workstation equipped with a Geforce GTX 1080 ti because I want to run there this deep learning repository : https://github.com/CMU-Perceptual-Computing-...
0
votes
0answers
32 views

debootstrap very slow in Amazon EC2

For some inexplicable reason, running debootstrap is extremely slow in Amazon EC2 instances. I've tried it on various instances and at various times. It feels like Amazon's IP addresses are maybe ...
0
votes
1answer
58 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, ...
0
votes
0answers
21 views

How Do I Build A Distro As Of A Specific Date?

I am building a distro using ubuntu-defaults-image which uses debootstrap under the hood. If I rebuild it using the same script at some point in the future the resulting image is not the same because ...
0
votes
0answers
243 views

Diskless setup trouble on 19.04 (Newbie)

My goal is to use my host machine to setup and configure a diskless environment which I can boot client machines and/or VMs with. I've been following these two tutorials with very minor changes: - ...
1
vote
0answers
337 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 ...
2
votes
1answer
433 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....
0
votes
1answer
606 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 ...
1
vote
0answers
366 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
304 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
1answer
130 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
1answer
212 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
933 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
469 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
63 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
863 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 ...
3
votes
1answer
943 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 ...
16
votes
4answers
9k 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
337 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
96 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
236 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
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 ...
9
votes
1answer
956 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
1k 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
257 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
289 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
428 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
294 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
85 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
529 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
360 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
763 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, ...
2
votes
3answers
1k 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
1k 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
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 ...
2
votes
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 ...
1
vote
2answers
951 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
157 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
18k 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
393 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 ...
11
votes
2answers
9k 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
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://...