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.

2
votes
1answer
150 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 ...
0
votes
0answers
95 views

Filesystem permission problems with user namespaces and debootstrap

I want to build a lightweight process isolation tool built on linux features like namespaces and chroot (in order to understand them better). I am currently running the following commands to start an ...
0
votes
0answers
166 views

using debootstrap to create rootfs offline

I want to create debian filesystem offline (downloading only once). I am on a Ubuntu system and have tried the following : sudo apt-get install debian-archive-keyring Making the tar ball of the ...
0
votes
1answer
474 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?
-2
votes
2answers
429 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 ...
0
votes
0answers
25 views

Problems booting debootstrapped image (no DHCP network)

i'm having the problem getting a DHCP ip from the network on an ubuntu image i created with debootstrap. What I did: First i created a system using debootstrap sudo debootstrap --variant=minbase --...
5
votes
1answer
3k 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 ...
0
votes
1answer
150 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 ...
0
votes
1answer
694 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=/...
3
votes
0answers
439 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....
2
votes
1answer
797 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. ...
1
vote
2answers
517 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 ...
1
vote
0answers
408 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 ...
0
votes
2answers
478 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 ...
3
votes
1answer
702 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,...
0
votes
1answer
34 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? /...
0
votes
2answers
668 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: ...
1
vote
0answers
103 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 ...
0
votes
0answers
134 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. ...
0
votes
1answer
415 views

Kernel 4.9 module mismatch

I installed Debian Jessie with debootstrap, updated the kernel to 4.9.0-0.bpo.3-amd64 and created an image of it. Now, I wanted to start Jessie with qemu and the following command: qemu-system-x86_64 -...
3
votes
0answers
713 views

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 ...
3
votes
2answers
891 views

How to calculate the correct size of a loopback device filesystem image for debootstrap?

I'm using debootstrap to create a rootfs for a device that I want to then write to an image file. To calculate the size needed from my rootfs, I do the following: local SIZE_NEEDED=$(du -sb $...
2
votes
1answer
557 views

debootstrap not working in kali and mint

I am trying to install linux in android by chroot method. Following tutorials available on internet , I tried debootstrap on kali linux and mint. But everytime it returns no output. debootstrap --...
8
votes
1answer
2k views

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....
-2
votes
1answer
463 views

Why “shift” command is using in this case? [closed]

I am rewriting debootstrap to fit me and for education. Why "shift" command in interaction piece of code in "functions" file? There are not so many arguments sent to use "shift" and, as I know, ...
2
votes
1answer
546 views

Why does uname -m report differently in chroot and schroot environment?

I am running Ubuntu 14.04.2, 64 bit host system. Using debootstrap, I installed a minimal Ubuntu 14.04.2, 32 bit system in trusty32 directory. This is what my schroot configuration look like: [...
2
votes
1answer
392 views

use a different socket than /dev/log, system-wide

Is there a way to make a whole Debian (Jessie) installation use a different syslog socket than /dev/log (like, for example, /tmp/my-other-log) ? Reason: I'm running Debian Jessie in a chroot ...
10
votes
3answers
6k views

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 ...
6
votes
2answers
7k views

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 ...
2
votes
1answer
518 views

chpasswd apply changes in the chroot directory

I have debootstraped version of wheezy on my Archlinux machine and would like to change it's root password: echo "root:toor" | chpasswd --root /home/containers/wheezy/ However I get an error: ...
2
votes
2answers
815 views

chpasswd apply changes in the chroot directory [duplicate]

I have debootstraped version of wheezy on my Archlinux machine and would like to change it's root password: echo "root:toor" | chpasswd --root /home/containers/wheezy/ However I get an error: ...
1
vote
0answers
36 views

Can you pin a particular version of a chroot?

The question may quite make sense due to my chroot newbiness, but what I mean to ask is how I can make sure that when I create a new chroot, I download the same set of files each time. In the git ...
5
votes
1answer
6k views

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 ...
2
votes
2answers
879 views

fakeroot cdebootstrap: Failed to unshare: Operation not permitted [duplicate]

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 ...
2
votes
2answers
2k views

Installing Debian on Embedded system with serial console or network console (PCH)

I have an embedded system based on the Intel-Atom with PCH which we are busy developing. In the embedded environment I have: A Serial console through the PCH which means this doesn't work with the ...
6
votes
2answers
5k views

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, ...
2
votes
0answers
871 views

groupadd failure: “Cannot open audit interface”

I'm trying to add a group in a chrooted environment: root@my-host:/# /usr/sbin/groupadd -g 101 games Cannot open audit interface - aborting. I'm operating with root permissions. Additional info: ...
4
votes
1answer
3k views

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 ...
0
votes
0answers
241 views

Is possible to have full guest system under host installed via DebootstrapChroot?

My goal is installing Ubuntu 14.04.2 LTS under Debian 7 wheezy with full GNOME Desktop. I know I can use use tools like VirtualBox etc. but it seems like overhead. To be more precise under this Ubuntu ...
1
vote
1answer
598 views

How to transfer a rootfs folder?

I just created a rootfs with debootstrap in a Debian Jessie VirtualBox VM. Now I would like to transfer this to the host, by first compressing the directory to a tar archive, so I can upload it and ...
1
vote
0answers
541 views

fakeroot-ng with debootstrap variant fakechroot hangs on makedev

So I am trying to bootstrap a Ubuntu as unprivileged user on Ubuntu. The little script I am using is: #!/usr/bin/env bash DEBARCHIVE_URL="http://localhost:3142/de.archive.ubuntu.com/ubuntu/" LANG=...
1
vote
0answers
212 views

Debootstrap for Backbox Error with release file

I'm trying to install a BackBox (Ubuntu based) chroot environment with debootstrap using the following command: sudo debootstrap --variant=buildd --arch i386 trusty /MYJAIL/ http://ppa.launchpad.net/...
1
vote
0answers
598 views

cannot boot Debian Jessie installed via debootstrap

I've just installed a Debian Jessie via debootsrap for testing/learning purpouse, this is its entry in the GRUB menu: menuentry "Debian GNU/Linux (jessie/sid) (on /dev/mapper/nostromo-DEBIAN)" --...
4
votes
1answer
3k views

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?