Questions tagged [debootstrap]

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

76 questions
15
votes
3 answers

Creating bootable Debian image with debootstrap

I have been trying to create a bootable debian (jessie/8.4) image for the past 2 days, and as far as I can tell I have the procedure right, but I can not get the filesystem right. I am relatively sure that I am doing something wrong here, missing…
ehiller
  • 341
  • 1
  • 2
  • 9
11
votes
3 answers

Is it possible to run debootstrap within a fakeroot environment?

I have a script that prepares an installation image by running debootstrap, does some modifications on the files and then copies the files to a disk image backed up by a file. This works under root, but I wanted to be able to run the script without…
Petr
  • 1,624
  • 2
  • 19
  • 35
9
votes
1 answer

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 debootstrap be run without root permissions?
jiwopene
  • 1,002
  • 7
  • 19
9
votes
2 answers

the most minimal Debian/sid installed with debootstrap?

In the past years I used debootstrap to install my desktop Debian (daily usage) and I'm planning to use it once again, but until now I just used debootstrap default options, this time instead I'd like to install a minimal system. I did some search…
Alex
  • 2,546
  • 3
  • 20
  • 30
8
votes
1 answer

Failed getting release file while running debootstrap with sudo

If I run debootstrap in with sudo I get the following output: I: Retrieving InRelease I: Failed to retrieve InRelease I: Retrieving Release E: Failed getting release file http://de.archive.ubuntu.com/ubuntu/dists/xenial/Release If I run the…
8
votes
2 answers

Initramfs in debootstrap chroot of fully encrypted system

I'm working on a script to create a fully encrypted washable system from debootstrap. It's doing some good, but the initramfs image that comes out does not pick up the cryptroot properly. After booting the image with qemu, I'm dropped to a busybox…
Robert Cutajar
  • 184
  • 1
  • 1
  • 9
7
votes
1 answer

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 auch as installing apt-cacher-ng which is the…
0xC0000022L
  • 16,189
  • 24
  • 102
  • 168
6
votes
1 answer

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=/usr/share/keyrings/debian-archive-keyring.gpg…
user4443
6
votes
1 answer

Listing and specifying packages in debootstrap

Is there a way to list the packages that debootstrap is going to download? Also, is there a way to tell debootstrap to download a user-specified list of packages?
Mouse.The.Lucky.Dog
  • 2,027
  • 2
  • 26
  • 37
5
votes
2 answers

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 different priority levels? All I really need is a list…
StrongBad
  • 5,151
  • 9
  • 47
  • 73
5
votes
0 answers

Use local (on disk) mirror for debootstrap

I'm trying to debootstrap from local files. I followed this guide. My host machine runs debian that I installed with : debootstrap stable /mnt http://httpredir.debian.org/debian/ What I did: mkdir /opt/.../mymirror apt-get install apt-move # nano…
rudib
  • 1,532
  • 1
  • 13
  • 33
5
votes
2 answers

fakeroot cdebootstrap: Failed to unshare: Operation not permitted

On Debian, when running: $ fakeroot cdebootstrap stable /tmp/foo cdebootstrap downloads the packages, but when it has to extract them, I get this error: E: Failed to unshare: Operation not permitted How can I run cdebootstrap as non-root? This…
Florian Margaine
  • 523
  • 4
  • 11
5
votes
1 answer

Has anyone gotten deboostrap for jessie working from an Ubuntu host?

I am running Ubuntu 12.04, and trying to build an armhf Debian image for Jessie. I've done this before for Wheezy. The debootstap script doesn't seem to work if the target is Jessie however. Any ideas on how to get this to…
SeanLabs
  • 701
  • 2
  • 10
  • 21
4
votes
1 answer

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 multistrap won't try to authenticate, so unsafe…
ceremcem
  • 2,231
  • 1
  • 23
  • 53
3
votes
1 answer

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 "/home/ubuntu/Documents/myrootfilesystemdir"…
1
2 3 4 5 6