Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 079E7223234 for <~alpine/users@lists.alpinelinux.org>; Fri, 26 May 2023 16:23:27 +0000 (UTC) Received: by mail-ua1-x92d.google.com with SMTP id a1e0cc1a2514c-783f88ce548so624555241.1 for <~alpine/users@lists.alpinelinux.org>; Fri, 26 May 2023 09:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685118205; x=1687710205; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=49HyYZbUv1L8/JtaarynFCEms3vkSyp615ooaP2jQNQ=; b=pc+u7GWItxb3sooYDST/3AlO5hEDr1NfUtyO6FsPkdlHkIvZmRsxx82FEqpoJ6gauR Xzjpa/yp6aUFuUINSm9gPquYozrJU40XQ2N+qcNAR4YPKhsmpEUsyhPNsyh7rIAgHguw ica5TG3GMd14nLBmRJoK+NjsXdFlIhfRjaPVqVPpavnUE13YOuMKqxbPCYOvkzX+jhcJ 7UyTozi4AMF35aVOPv2ETPzQW5yS6qUb/Cn1Cdkn3Tbl7SriKS4MT/L7T75hkPTQK86i DeoC225ot7I9Dqn1upgNopDFE64K5rD8DbsxVhga9Aon1VuF570yKZlwhotrnpSKAAHF vJXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685118205; x=1687710205; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=49HyYZbUv1L8/JtaarynFCEms3vkSyp615ooaP2jQNQ=; b=T6RYHe1+dWXqXWvm9WsOyFbl2IYyX/RVAkTe3O4hRMGPJ4PAOuJz2otnM8vN2V4wHW uasYWJ3lQCG4XM963hqGSQMbkxuF8We8/j070pGba/39z4ot54mO7FIN8zsV4j/dZb8n hfJYrAR32tFlk2E854EVxgUqrRmCn5qwvkn/GfVEYOgO/yYv3B5pp90kNQH3/23u9I6x VaXC0kLVxDFY/FhnEXQKuuk09edaMPS0qug96lwiwNxv/ANov89p6Wj4Lrzie0MjMoIy qJNjFgESnwZyj6iUmIJVFMz5P/O2pZAJMo98AAaU6kf1cZpWllT9ozwiv9StHirb1kxq 6c3Q== X-Gm-Message-State: AC+VfDyWyeRoWnjVILeWXiq2GnF6Bj4XdP+hB5nFsD/OjrjtIWA6ug06 zySibZIiyNl+F+H0ThAls0VnGPQiNPk9h0Q8ZOY= X-Google-Smtp-Source: ACHHUZ7ML6REjE9jtvRN9wA4PMzIk0pYfBU5cXp+qJb1hxdJmW5urJ9S9ZfHalqfVedsROPBFYkXKNtky5YbBaZIU0Y= X-Received: by 2002:a1f:3fd6:0:b0:457:4c34:a62e with SMTP id m205-20020a1f3fd6000000b004574c34a62emr37413vka.3.1685118205651; Fri, 26 May 2023 09:23:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Konstantin Kulikov Date: Fri, 26 May 2023 19:23:14 +0300 Message-ID: Subject: Re: Install on single partition and without a bootloader To: Ralf Mardorf Cc: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" > Would > > BOOTLOADER="" > > or > > Bootloader=flase > > or else be for not installing a bootloader? It's BOOTLOADER=none https://git.alpinelinux.org/alpine-conf/tree/setup-disk.in#n697 > So let's assume I would have /dev/sda1 ext4 free for Alpine's / > including /boot. /dev/sda2 would provide a Linux swap and I don't want > to install a bootloader at all. > > How can I achieve this by using the setup-scripts? I'd say it's easier to install manually using apk like this: apk add --root /mnt --initdb --allow-untrusted --repository https://mirror.yandex.ru/mirrors/alpine/edge/main alpine-base Most distros ship apk-tools in their repos so you don't need to do it from alpine. This skips one important thing however - populating /etc/runlevels/{sysinit,boot,shutdown}. For bubblewrap/unshare/chroot purposes you don't need it. But if you do, you can fill it manually from any working alpine installation.