Questions tagged [debootstrap]

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

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

how to run debootstrap for arm64

I'm trying to install full headless ubuntu on an arm 64 Xilinx system, debootstrap wants to be pointed to a mirror, but I can't find one for arm64 I can already install petalinux on the system.
Larry Colen's user avatar
6 votes
2 answers
570 views

What is the function of bootstrap.log?

I encountered the existence of a file named bootstrap.log in the /var/log directory when trying to solve a log related problem and when looking at its content I saw that the timestamps are over a year ...
plopper's user avatar
  • 109
0 votes
0 answers
64 views

How to debootstrap ubuntu 13.04 on Ubuntu 23.04

I'm trying to debootstrap ubuntu 13.04 raring for armhf on the root partition of one of my sd cards,mounted on /mnt/sdj4 ,so I tried like this : # debootstrap --arch=armhf --keyring=/usr/share/...
Marietto's user avatar
  • 525
0 votes
0 answers
125 views

debootstrap --arch=amd64 --include=firmware-atheros etc fails to find deb

On Ubuntu 20.04, I'm trying to set up a qemu image according to the instructions on this page. At the step: wget https://raw.githubusercontent.com/google/syzkaller/master/tools/create-image.sh -O ...
Ken Y-N's user avatar
  • 133
2 votes
1 answer
396 views

How to allow SSH chroot user to restart apache on host?

My first post here on Ask Ubuntu. I have an LAMP Ubuntu server which has two vhosts defined in /etc/apache2/sites-enabled. One of these sites (an external mirror site) must be maintained by an ...
Andy Woolford's user avatar
1 vote
2 answers
188 views

Run GUI apps inside fakechroot debootstrap

I'm following the tutorial on https://github.com/dex4er/fakechroot. I'm trying to install and run some apps keeping them isolated on an unprivileged user, without root. They are proprietary software ...
Hikari's user avatar
  • 203
-3 votes
1 answer
5k 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 ...
Johan Palych's user avatar
  • 1,341
0 votes
0 answers
285 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....
obachtos's user avatar
  • 101
3 votes
1 answer
2k 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 ...
Chan Kim's user avatar
  • 1,809
1 vote
0 answers
298 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....
Marietto's user avatar
  • 525
2 votes
1 answer
901 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
0 votes
1 answer
2k 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
0 votes
1 answer
456 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-...
john_connor's user avatar
1 vote
1 answer
635 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, ...
Rich Remer's user avatar
1 vote
0 answers
1k 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 ...
bviktor's user avatar
  • 245
2 votes
1 answer
4k 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....
xpt's user avatar
  • 997
0 votes
1 answer
1k 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 ...
Isvara's user avatar
  • 101
1 vote
0 answers
539 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 ...
niklasrb's user avatar
1 vote
1 answer
627 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 [ "$?...
opticyclic's user avatar
0 votes
1 answer
171 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.
user819417's user avatar
1 vote
1 answer
1k 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. ...
opticyclic's 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 ...
Rovanion's user avatar
  • 251
0 votes
0 answers
607 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 ...
Mat RICARDO's user avatar
0 votes
0 answers
86 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 ...
Francois's 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 ...
thom_nic's user avatar
  • 103
5 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 ...
opticyclic's user avatar
51 votes
5 answers
35k 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 ...
fadedbee's user avatar
  • 788
0 votes
0 answers
429 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 ...
Josh Pinto's user avatar
  • 7,849
0 votes
1 answer
197 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:...
Oded Sayar's user avatar
0 votes
1 answer
487 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 ...
WoJ's user avatar
  • 1,315
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 ...
Paul W's user avatar
  • 11
9 votes
1 answer
2k 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 ...
Peter W.'s user avatar
3 votes
1 answer
4k 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 ...
QkiZ's user avatar
  • 1,237
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 ...
ladrua's user avatar
  • 213
1 vote
1 answer
2k 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 ...
Velkan's user avatar
  • 3,546
1 vote
1 answer
329 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. ...
biocyberman's user avatar
1 vote
1 answer
370 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 ...
Muna's 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[...
MvG's user avatar
  • 1,506
1 vote
2 answers
587 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. ...
Chessmaster's user avatar
1 vote
0 answers
408 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 ...
Hibou57's user avatar
  • 1,195
0 votes
1 answer
91 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?
user3395789's user avatar
1 vote
1 answer
743 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 ...
Mas Bagol's user avatar
  • 1,311
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 ...
Lucas Dhony Henriksson's user avatar
1 vote
0 answers
456 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. ...
Ahmed Shafik's 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, ...
kevlarjacket's 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 ...
nwaltham's user avatar
  • 551
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 ...
TardisGuy's user avatar
  • 357
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 ...
user1527227's 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 ...
hookenz's user avatar
  • 2,559
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 ...
Pro Backup's user avatar
  • 3,170