Questions tagged [debootstrap]
tool for creating full Debian-based installations in specific directories.
76
questions
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.
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 ...
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/...
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
...
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 ...
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 ...
-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 ...
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....
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 ...
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....
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=...
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 ...
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-...
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, ...
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
...
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....
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
...
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 ...
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 [ "$?...
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.
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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:...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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[...
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. ...
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 ...
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?
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 ...
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 ...
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.
...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...