Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 46D78225F56 for <~alpine/users@lists.alpinelinux.org>; Thu, 25 Jan 2024 18:55:15 +0000 (UTC) Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4TLVPr5dnkzDqJ4 for <~alpine/users@lists.alpinelinux.org>; Thu, 25 Jan 2024 18:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1706208912; bh=5OIYL1161F37YVwGSEOs6XGM2TWv1ZE8uaPtUs0+3xU=; h=Subject:From:To:Date:In-Reply-To:References:From; b=gS2f79NjB47C987lwCYjeWM+rj3EpqkM+JgaqcaS350YIgezqXHtxW5R1AOjtHvXE RZH5FR3j/a2zlKWvIC4JeEfNurRDnhUF7mmdutaUsGtqnxVKuELt3u8ccCKwq6YpfT E/UFhpDVz7Cvovl0H4NAQo86r2xNJHW/qJtbMie4= X-Riseup-User-ID: 18A95DD506B892AC2D9D9123F678AEDE01E4243EFF4B555A9D8B70D6523702BD Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4TLVPd1C6bzJmxn for <~alpine/users@lists.alpinelinux.org>; Thu, 25 Jan 2024 18:55:00 +0000 (UTC) Message-ID: <9f76a9108e2ac6d8cda76035c695a6acdb6aba01.camel@riseup.net> Subject: Re: vultr alpine linux-lts-dev cannot boot.. From: Ralf Mardorf To: ~alpine/users@lists.alpinelinux.org Date: Thu, 25 Jan 2024 19:54:58 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Thu, 2024-01-25 at 12:08 -0500, Brian Cook wrote: > I had a usb utility that would boot a linux system from the usb using > the kernel on the usb.. but cannot find the name of it.. Hi, for this bad practice you need a bootloader on the USB device and a kernel. You can boot into a kernel, that does not belong to a Linux install's root directory. For example, if you have got a Linux dual boot machine, you can boot into the kernel from one and the root directory of the other install. This usually works without issues, but it's not really safe to do so. When using a systemd based Linux distro you can use systemd-nspawn from another systemd Linux. This is safe, but doesn't allow to fix everything. If a distro isn't based on systemd or you need to fix something that can not be done when using systemd-nspawn, then chroot is the way to go. In short, even if there are several possibilities that can work, basically a chroot is often what it will come down to in the end. OTOH sometimes you only need to mount your Alpine Linux and edit something. You can even run apk from another Linux and use the "--root" option. apk fix --root /mnt/point/of/alpine/ package_name Regards, Ralf