Questions tagged [debootstrap]
tool for creating full Debian-based installations in specific directories.
75 questions
0
votes
0
answers
260
views
How do you generate a keyring file for a local APT repository?
Based on this answer, I followed this guide to create a local apt repository.
Now I an specifying that debootstrap use my repository with file:path/to/my/apt/repo.
When debootstrap runs, I get this:
I:...
0
votes
0
answers
50
views
How do I create a restorable Clonezilla image from a rootfs directory?
I've built a Debian rootfs for an embedded Linux platform using debootstrap et al. My goal is to make this installable to my devices over the network.
I previously built my own solution using iPXE but ...
1
vote
1
answer
658
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
8k
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, ...
0
votes
1
answer
342
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 ...
0
votes
1
answer
278
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
1
vote
0
answers
440
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 ...
0
votes
1
answer
2k
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 [...
0
votes
0
answers
366
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 ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
5k
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
...
0
votes
0
answers
425
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 ...
0
votes
1
answer
268
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 ...
1
vote
1
answer
231
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 ...