Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [debootstrap]

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

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

Failed getting release file while running debootstrap with root privileges

I've tried to install chroot using debootstrap with root account and receive same error everytimes. Using debootstrap from /usr/sbin/debootstrap Running debootstrap to install base system, this may ...
SJ_Lee's user avatar
  • 1
0 votes
1 answer
233 views

Mirror download fails with error: Failed getting release file while running debootstrap with sudo

I run the command $ sudo debootstrap --variant=buildd --arch i386 lucid /var/chroot/ https://mirror.internet.asn.au/pub/ubuntu/archive/ and the error is: I: Retrieving InRelease I: Retrieving ...
user1416486's user avatar
0 votes
1 answer
604 views

What debian ARCH should I use for armv7l kernel?

debootstrap --arch=ARCH stable debian-stable http://ftp.debian.org/debian/ debootstrap requires architecture to be set. Debian supports armel and armhf architectures of ARM 32-bit family. Which one ...
R A's user avatar
  • 103
0 votes
0 answers
215 views

Create pBuilder chroot environment for Raspberry Pi OS (ARM64)

I am attempting to create a pBuilder chroot environment for Raspberry Pi OS (ARM64) in order to build Debian packages for Raspberry Pi 4B/3B on an AMD64 host. I came across a tutorial that seems ...
Wolkenarchitekt's user avatar
0 votes
1 answer
3k views

How to reinstall / repair Debian after a failed upgrade?

I followed this wiki tried to upgrade Debian 10 to 11 then 12, but for some reason some part messed up the system and now it can't boot (kernel panic) and entire system is messed up: no apt available, ...
Draven's user avatar
  • 1
0 votes
1 answer
232 views

Script to install Debian has UEFI issues, acts inconsistently across machines

For my own personal purposes, I am writing a script in order to automate installation of a custom Debian system onto the hard drive of whatever computer the script is running on. This script is ...
Ethan Hill's user avatar
0 votes
1 answer
123 views

Install mmdebstrap from source

I am trying to install mmdebstrap from source. I cannot find any instructions online nor file any Makefiles and such in the repo
sudoer's user avatar
  • 55
0 votes
0 answers
180 views

Different versions of ubuntu with chroot environment

I was trying to setup a chroot environment on older system using debootstrap. I had ubuntu 14.04 and I was wondering what version of ubuntu i can possibly install on it. If I were to try and run ...
pnikonowicz's user avatar
0 votes
1 answer
988 views

How to install packages into chroot?

This question is related to debootstrap --variant=buildd couln't find build-essential As I know debootstrap may run the script after or before creating chroot debootstrap [OPTION...] SUITE TARGET [...
Ekaterina Ivanova iceja.net's user avatar
0 votes
0 answers
264 views

debootstrap --variant=buildd couln't find build-essential

I am preparing chroot sudo debootstrap --verbose --include=apt --cache-dir=/var/cache/pbuilder/alse47-arm64/aptcache --variant=buildd --no-check-gpg --components=main,contrib,non-free,arm64 ...
Ekaterina Ivanova iceja.net's user avatar
1 vote
1 answer
1k views

Live debian USB stick with debootstrap, squashfs and grub

I want to create my own Debian Live boot stick from a chroot (debootstrap) environment. The root filesystem should be mounted as squashfs and grub should be able to boot the system from a single EFI ...
Nick's user avatar
  • 11
1 vote
1 answer
3k views

Configure GRUB to load in QEMU

I have a a debootstrapped Debian image, which is created using the following commands: qemu-img create -f qcow2 disk.qcow2 16G su export PATH=$PATH:/sbin:/usr/sbin export TERM=xterm modprobe nbd ...
Sergey's user avatar
  • 363
0 votes
0 answers
291 views

Creating docker image of my system in its current state

I want to create a docker image of my own system in its current state. Here, i found a method that uses the debootstrap tool to create an image: $ sudo debootstrap focal focal > /dev/null $ sudo ...
Marco Montevechi Filho's user avatar
0 votes
1 answer
142 views

Error while building *.deb package in separate build environment

I'm trying to build *.deb packages into a chroot. When building the first package - bash, there were difficulties. I build packages using debootstrap and chroot. I install debootstrap: sudo ...
Darron's user avatar
  • 113
1 vote
1 answer
148 views

Subprocess launched inside a chroot created on a codespace with debootstrap fail with /dev/fd/62: No such file or directory

My goal is to standup a chroot with the basic Unix tool-set (bash, cp, touch, cat, etc) and any necessary dependencies need to run apt get inside a codespace. Using debootstrap gets me close. The ...
Christopher King's user avatar
0 votes
1 answer
246 views

Custom Debian Live-Build final IMG folder

The default output img file was at the lb config used Is there any way to custom output img directory ? like output img to directory IMG_1, IMG_2, etc # mkdir /customlive # cd /customlive # lb ...
TyaCode's user avatar
  • 21
1 vote
0 answers
554 views

qemu-debootstrap error trying to create Rootfs of Debian ARM64

I am trying to create a Root file system from last stable version of Debian using deboostrap for an ARM64-AARCH64 Architecture. I am using the wiki of Debian Arm64 Port as a base, which was mentioned ...
Jairo Mejia's user avatar
0 votes
1 answer
621 views

Debootstrap /usr/sbin/debootstrap: 481: : Permission denied Ubuntu 20.04

I'm trying to create an arm debian rootfs into a Pen Drive which I mounted in /mnt. I execute: sudo debootstrap –arch=armel –foreign stable /mnt But then it just creates a file in /mnt/-foreign/...
Super_X-dev's user avatar
0 votes
0 answers
246 views

how to add multiple packages to build debian-live using live-wrapper

The only manual I could find is readthedocs. So far I have understood the following: I have to start working in a dedicated directory It needs the latest debian-archive-keyring not necessarily ...
user avatar
1 vote
1 answer
502 views

How would a debootstrap'ed system differ from a regular-installation system?

Suppose I perform a debootstrap-based installation of a Debian version onto an HDD/SSD, as described here, including a tasksel standard to finish things off. Now, the guide tells me that: You cannot ...
einpoklum's user avatar
  • 9,605
1 vote
1 answer
743 views

Configuring GRUB in a USB debootstrap environment

I run Debian Testing on a Dell Latitude E5450. I created a USB environment with debootstrap following the instructions posted here, and here. As per those instructions (and others), I mounted my ...
mathbekunkus's user avatar
2 votes
1 answer
1k views

chroot debootstrap problem : no such file or directory

I would like to run X86 applications on my Jetson Nano using qemu and debootstrap on ubuntu 18.04. Actually I'm following this tutorial : https://www.youtube.com/watch?v=dzAoaFOJy7U&t=338s&...
Marietto's user avatar
1 vote
1 answer
915 views

What is the Debian equivalent of `dnf --installroot`

dnf allows you to install in a different root than / by provding --installroot. This is frequently use with tools like buildah. Is there any method to set the root location with apt?
Evan Carroll's user avatar
  • 31.3k
0 votes
1 answer
1k views

debootstrap installation kernel mismatch

I tried to install a new Debian 10 system using debootstrap: mount /dev/sda5 /mnt/chroot debootstrap --variant=minbase buster /mnt/chroot ftp.au.debian.org The bootstrap looks good so far. Now ...
schieghoven's user avatar
1 vote
2 answers
1k views

Install Debian Package in chroot

I am building a minimal Debian image with debootstrap, chroot in it and installing grub. Now I need to install some custom self created debian packages. These packages have postinst scripts running ...
Pascal's user avatar
  • 153
4 votes
1 answer
1k views

What exactly does the "noauth" property mean in multistrap config?

From https://manpages.debian.org/wheezy/multistrap/multistrap.1: --no-auth - allow the use of unauthenticated repositories. Same as noauth=true What I understand from this definition is that ...
ceremcem's user avatar
  • 2,361
2 votes
1 answer
243 views

No /var/lib/dpkg/info/dash.preinst in Buster

In https://wiki.debian.org/Multistrap#Steps_for_Squeeze_and_later, it's required to run the following command in chroot environment: /var/lib/dpkg/info/dash.preinst install This command runs in ...
ceremcem's user avatar
  • 2,361
0 votes
1 answer
948 views

debootstrap Couldn't find these debs: lxc

I'm trying to follow along to a guide to creating an unprivileged lxc container on Ubuntu. According to the instructions, I should run: debootstrap --include=lxc eoan rootfs But when I run that, I ...
Rich Remer's user avatar
1 vote
1 answer
2k views

Building arm / aarch64 rootfs

I am interested to generate a Debian rootfs for aarch64 machine from an x86_64 workstation. What are the required steps to achieve this ? As far as I know the proper way is to use debootstrap: https:...
xyx's user avatar
  • 767
1 vote
0 answers
242 views

QEMU networking: Host to Guest

I want to connect a host(Debian 10 VM) to a qemu-guest (Debian on aarch64 ARM). I used to debootstrap tool to install a Debian root file system. Then I installed the qemu-user-static device on my host....
tweet's user avatar
  • 31
4 votes
1 answer
3k views

How to Debootstrap specific version in Ubuntu or Debian?

i want to install a specific version of Ubuntu or Debian, In ubuntu i want to debootstrap the specific version 16.04.0, and i'm using this code: debootstrap --arch=amd64 --variant=buildd xenial "/...
Eddy Laphant's user avatar
1 vote
0 answers
129 views

deboostrap overlay-like/union filesystem and network boot?

I'll describe the situation first: I'm trying to create a network booted Linux (Debian) for about 200 workstations. Unfortunately, those workstations become hardware-heterogenous in previous years; ...
Kamil's user avatar
  • 1,481
1 vote
1 answer
2k views

debootstrap chroot x11 cannot open display 0 no protocol error

after installing a chroot, I found trouble when connecting to x11, I would think this was a normal use case but coudln't find anything specific about this use case # debootstrap stable /srv/stable/ .....
ThorSummoner's user avatar
  • 4,452
9 votes
1 answer
2k views

Why debootstrap can only run as root?

I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says: E: debootstrap can only run as root Why can't ...
jiwopene's user avatar
  • 1,071
2 votes
2 answers
5k views

What are the possible options for the --arch option in debootstrap?

I need to set the arch option in debootstrap. So I did some research and read the manual. After reading the manual I see that the section on the options simply says --arch=ARCH Implying that I ...
Mr Purple's user avatar
  • 153
3 votes
1 answer
3k views

cdebootstrap vs debootstrap: what is the difference?

Does cdebootstrap provide any advantages to debootstrap? What is the difference between the two other than the implementation language?
Evan Carroll's user avatar
  • 31.3k
-2 votes
2 answers
2k views

Chroot : no such file or directory [closed]

I know it has been asked before but they do not solve my problem. I have already binded the /dev and /proc, copied the qemu-arm-static to /usr/bin. But chroot fails at executing any command. It was ...
yashC's user avatar
  • 185
7 votes
1 answer
7k views

Having a bit of trouble debootstrapping a Ubuntu (18.04) via Debian 8.10

The hoster I am using provides a Debian 8.10 (kernel 4.9.85) as a rescue system. In the past I've been using that to bootstrap Ubuntu using debootstrap from here. I am using a few preparational steps ...
0xC0000022L's user avatar
  • 16.7k
0 votes
1 answer
783 views

live-build behind a proxy at lb bootstrap_archive-keys step gets Clearsigned file isn't valid, got 'NODATA'

I've been trying to do the steps from 18.4 from here: https://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html#847 When running the lb build I get an error at the lb ...
Gabor's user avatar
  • 101
6 votes
1 answer
6k views

How can I use an expired key with debootstrap?

I'm trying to use debootstrap to create a Debian Squeeze chroot (from Debian Squeeze (stable)), so I can install some no-longer-supported software. But I get an error: $ sudo debootstrap --keyring=/...
user avatar
3 votes
0 answers
902 views

How to create a Debian sid chroot from Arch Linux?

I would like to create a Debian sid chroot from my Arch Linux system. I have installed debootstrap from the community repository with pacman. Then I ran: # debootstrap sid $MY_CHROOT http://debian....
Josh Pinto's user avatar
  • 3,493
3 votes
1 answer
3k views

How to add locales to a chrooted system programmatically?

I have written a shell script which debootstraps a Debian system into a directory, chroots in there, sets everything up (passwords and SSH keys and so on), and generates a bootable image file from it. ...
Multisync's user avatar
  • 474
5 votes
2 answers
3k views

List of Debian packages with essential priority

From my understanding, the debootstrap program with the minbase option only installs packages with "essential priority" (and possibly apt). Is there a web resource which lists all packages with ...
StrongBad's user avatar
  • 5,291
1 vote
0 answers
1k views

How Do I Access Network Proxy From Chroot?

I have set up apt-cacher-ng on my laptop cat /etc/apt/apt.conf.d/02proxy Acquire::http { Proxy "http://localhost:3142"; }; I can install a package, turn off the internet, remove the package and ...
opticyclic's user avatar
2 votes
2 answers
3k views

How Can I Run debootstrap Offline?

I want to run debootstrap multiple times for the same target. Often I am in transit with no internet access and would like to run it offline. How can I run the process one with internet access and ...
opticyclic's user avatar
3 votes
1 answer
1k views

Couldn't find these debs: linux-image-4.9.0-3-amd64

Every now and then I'm debootstraping debian into a local directory. Until 3 hours ago it worked fine, however, now I get this error message: Command debootstrap --include linux-image-4.9.0-3-amd64,...
Multisync's user avatar
  • 474
0 votes
1 answer
48 views

MySQL in debian namespace

I have a debian jessie box and i installed a debian jessie debootstrap namespace. I install the mysql service inside the jail and i get error when i try to start the mysql service. How can fix this? /...
cjconstante's user avatar
1 vote
2 answers
3k views

Unable to execute redirection in chroot environment

I've set up full working debootstrap-ed arm chroot environment. I can chroot in it, run commands, etc. I am making a script that will customize chroot env, but I struggle with this. For example: ...
fugitive's user avatar
  • 1,563
1 vote
0 answers
231 views

Debootstrap debian into root with SW RAID1

I'm stuck with a Linux upgrade question, please give me some advice for the following situation: I've a NAS with Marvell Armada 370 CPU which runs an ancient Debian (Etch, I believe). The NAS itself ...
Daniel's user avatar
  • 339
0 votes
0 answers
179 views

Install kernel 4.3.5 in Debian Jessie

I have created a Debian Jessie container using debootstrap. After installing the required packages, I now would like to install kernel 4.3.5, because some of my drivers need this specific version. ...
toti08's user avatar
  • 101