scy

Which has me wondering whether I should even bother setting it up manually on this Bookworm debootstrap install I'm doing at the moment.

#Debian #debootstrap #Debian12 #DebianBookworm #systemd_boot

Stephan Sokolow

Networking Tip: If your client says "No route to host" on some ports but not others, double-check your server's firewall configuration... for example, if you're trying to use UFW and something also installed firewalld behind your back, you're going to get very confusing symptoms that won't be fixed by asking UFW to flush your iptables and re-create them.

#linux #ubuntu #kubuntu #debootstrap #network #networking

scy

hmmm since I'll be using #debootstrap anyway, I might as well use systemd-boot instead of grub … 🤔

#Debian #systemd #grub

Nayab Sayed

Creating Sandboxes with systemd-nspawn and debootstrap

Exploring new #Linux features is exciting, but it can be risky! I sometimes break my system while testing packages. To avoid this, I recently tried #systemd-nspawn with #debootstrap - it's a lightweight #container that works well for isolated testing.

#Debian users, this guide shows you how to get systemd-#nspawn up and running, no fuss.

Installing the packages

First things first, we need to install two packages: systemd-container and debootstrap:

sudo apt install systemd-container debootstrap

debootstrap lets you spin up a lightweight Debian right on your host, and systemd-container utilites such as systemd-nspawn and machinectl manage the OS in a lightweight container.

Create a Debian virtual machine

Let's generate a minimal Debian image called debian-testing with the following command:

sudo debootstrap --include=systemd,dbus stable /var/lib/machines/debian-testing

To verify successful installation, run machinectl list-images. Look for 'debian-testing' in the output.

Logging into virtual machine

Use the following command to start the debian-testing container.

sudo systemd-nspawn -D /var/lib/machines/debian-testing

Since you're now inside your virtual machine, let's set a password for the root user. This will come in handy when you want to manage the container using machinectl.

To swiftly terminate the container, press the Ctrl+] key combination three times in quick succession while inside the container.

Running a graphical application in vm

To run graphical apps like Chromium within the container, we need to set up display sharing. First, gracefully shut down the container. Then, use this command to establish the connection:

xhost local:; sudo systemd-nspawn -E DISPLAY="$DISPLAY" -D /var/lib/machines/debian-testing

Now that you're logged in, it's time to fire up Chromium! Just type the following commands to install and open it:

apt update apt install chromium chromium --no-sandbox

References

Tutorial: Systemd: The Adventure Continues - Lee Elston, The Linux Foundation: https://www.youtube.com/watch?v=-Tijw1SIXts. Slides: https://ossna2020.sched.com/event/c47t/tutorial-systemd-the-adventure-continues-lee-elston-the-linux-foundation
https://wiki.debian.org/nspawn
https://man7.org/linux/man-pages/man1/systemd-nspawn.1.html
https://wiki.archlinux.org/title/Systemd-nspawn#Avoiding_xhost
https://wiki.archlinux.org/title/systemd-nspawn
https://man7.org/linux/man-pages/man1/machinectl.1.html

screwlisp

@rml @hayley @ramin_hal9001 @awkravchuk @prahou
I'm also planning on using #debootstrap to host #veilid veilid.com . Whose current implementation is rust, tying in a little to our thread. I still haven't trapped the white smoke inside the boxen to do this though ;_;

Veilid

Veilid is an open-source, distributed application framework.

Veilid
scy

Installing a somewhat custom #Debian system via #debootstrap from a Debian LiveCD, instead of using the installer. This feels very much like installing #Gentoo more than a decade ago.

#Linux

scy

Okay, so I have a fairly special partitioning scheme, including /boot as LUKS1 and LVM with --raidintegrity.

Plan A: Install #Debian 12 via the netinst image. Doesn’t work because apparently the netinst kernel doesn’t support #dm_integrity.

Plan B: Install via a Debian LiveCD using Calamares. Doesn’t seem to work either, because Calamares apparently can’t handle my partitions and would love to create the partitioning itself, but lacks the options I require.

So … #debootstrap it is? 🤞😬

Madiana A. Argon ✅

Experimentally checked it is possible to manually #reinstall OS on #DigitalOcean #Droplet. I had to change OS but I didn't want to lose my first #VPS.
Did it with #debootstrap, docs and my backup as a model.
I haven't restored all services yet, I will probably do it during next several days.
😅

Michael Connor Buchan

Does anybody know if there's an-option in the #Ubuntu #server #installer to enable #accessibility, like there is in #Debian? My gut tells me no, but I've never tried before, and I want to install it now. If there isn't, I could #debootstrap myself a system, but I'd like to avoid that if at all possible.

Paula Gentle on Friendica

Wiederbelebung von 32-bit Hardware: Debootstrap

Ich möchte an dieser Stelle mal vielen herzlichen Dank sagen an die vielen Hacker, die sich in den unterschiedlichsten Bereichen um freie Software und die Adaption von #Hardware (besonders älterer) bemühen.
Im konkreten Fall speziell bei T o b i a s _ N a w r o c k i aus #Bochum und den Leuten, die #Debootstrap unter #Debian an den Start gebracht haben.
tobaste.de/tag/alix/
Dank Euch sind meine beiden #Alix 2D13 wieder mit aktueller und sicherer Software ausgestattet und einsatzbereit! libranet.de/display/0b6b25a8-1

ALIX – Tobaste.de

www.tobaste.de
Tzafrir

So #schroot and #debootstrap were also aviable in #Fedora. So it's possible to have a #Debian chroot.

I used debootstrap to install a Debian and an Ubuntu chroots.

Schroot took some love and care, though: it was missing some directories under /var/lib/schroot for copy-on-write top work.

It also interacted badly with the NIS we use at work. This took a number of workarounds. But we now have it working properly.