Questions tagged [debootstrap]

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

Filter by
Sorted by
Tagged with
-3 votes
1 answer
911 views

How to install debootstrap script jammy Ubuntu 22.04 LTS for Ubuntu 18.04 LTS? [closed]

How to install debootstrap script jammy Ubuntu 22.04 LTS for Ubuntu 18.04 LTS? The newest version of the debootstrap package for Ubuntu 18.04.6 LTS: apt-cache policy debootstrap: 1.0.95ubuntu0.9 ...
user avatar
0 votes
0 answers
76 views

apt update fails within proot

I'm building an image for an arm64 machine in a docker environment. I get the 20.04 base system by starting with debootstrap --components=main --arch=arm64 --foreign focal ./mnt http://ports.ubuntu....
user avatar
  • 101
3 votes
1 answer
769 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 ...
user avatar
  • 1,277
1 vote
0 answers
217 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....
user avatar
  • 369
2 votes
1 answer
571 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
  • 132
0 votes
1 answer
1k views

Build aarch64 NVIDIA Jetson Nano image in x64 docker container using GitLab runner

I am trying to build a custom NVIDIA Jetson Nano image (aarch64 architecture) inside a Docker container (running Ubuntu 20.04 x64). I skip the NVIDIA tools part because I am stuck on the first part ...
user avatar
  • 132
0 votes
1 answer
237 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-...
user avatar
1 vote
1 answer
318 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, ...
user avatar
1 vote
0 answers
867 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 ...
user avatar
  • 245
2 votes
1 answer
2k 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....
user avatar
  • 741
0 votes
1 answer
862 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 ...
user avatar
  • 101
1 vote
0 answers
438 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 ...
user avatar
1 vote
1 answer
532 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 [ "$?...
user avatar
0 votes
1 answer
156 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.
user avatar
1 vote
1 answer
685 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. ...
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 ...
user avatar
  • 251
0 votes
0 answers
568 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 ...
user avatar
0 votes
0 answers
78 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 ...
user avatar
  • 101
0 votes
1 answer
1k 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 ...
user avatar
  • 103
4 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 ...
user avatar
46 votes
5 answers
24k 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 ...
user avatar
  • 728
0 votes
0 answers
401 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 ...
user avatar
  • 7,510
0 votes
1 answer
144 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:...
user avatar
0 votes
1 answer
395 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 ...
user avatar
  • 1,265
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 ...
user avatar
  • 11
9 votes
1 answer
1k 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 1,211
1 vote
1 answer
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 ...
user avatar
  • 213
1 vote
1 answer
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 ...
user avatar
  • 3,346
1 vote
1 answer
307 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. ...
user avatar
1 vote
1 answer
340 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 ...
user avatar
  • 13
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[...
user avatar
  • 1,456
1 vote
2 answers
504 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. ...
user avatar
1 vote
0 answers
313 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 ...
user avatar
  • 1,135
0 votes
1 answer
89 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?
user avatar
1 vote
1 answer
615 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 ...
user avatar
  • 1,261
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 ...
user avatar
1 vote
0 answers
400 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. ...
user avatar
1 vote
1 answer
1k 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, ...
user avatar
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 ...
user avatar
  • 521
0 votes
1 answer
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 ...
user avatar
  • 351
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 ...
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 ...
user avatar
  • 2,379
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 ...
user avatar
  • 3,100
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 ...
user avatar
  • 8,090
0 votes
1 answer
167 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 ...
user avatar
10 votes
2 answers
24k 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 ...
user avatar
  • 2,379
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 /...
user avatar
  • 64.8k
1 vote
1 answer
2k 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 ...
user avatar
1 vote
0 answers
407 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 ...
user avatar