galeb

Једноставна статичка дистрибуција заснована на musl-у
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување c298245d98c8879fe65c3185752355298a215ab9
родитељ 878e167c135f25d4b7d5850fa07cc98a679ee6f5
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Tue, 12 Sep 2023 19:39:21 +0200

BOOTING: Update from galeb-howtos

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MBOOTING | 44+++++++++++++++++++++++++++++++++++++++++++-
измењених датотека: 1, додавања: 43(+), брисања: 1(-)

diff --git a/BOOTING b/BOOTING @@ -9,7 +9,7 @@ Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -A copy of the license is included in the file LICENSE.fdl. +A copy of the license is included in the file LICENSE. Foreword @@ -125,6 +125,19 @@ command $ lsblk -no PARTUUID /dev/sda2 +Alternatively, if that produces no output or output consisting of just +whitespace, the following command can be used: + + $ blkid /dev/sda2 | + awk 'BEGIN { FS="="; RS=" " } + { + if ($1=="PARTUUID") + { + gsub(/["\n]/, ""); + print $2 + } + }' + NVME SSDs require the nvme and nvme_core kernel modules, and the partition device pathnames usually become /dev/nvme0n1p1 and /dev/nvme0n1p2, respectively: @@ -209,6 +222,35 @@ since it will be automatically generated by fallback shim whenever you choose to boot from the Galeb USB medium. +Multi-booting +------------- + +If you are using Galeb with other distributions which are using GRUB, and in +particular GRUB's os-prober, you might want to add an exception to +/etc/default/grub so a new menu item for Galeb's partition doesn't get added +by os-prober every time there is a kernel update. First, take note of the UUID +of the partition where Galeb is installed: + + # GALEB_PART=/dev/sda2 + # GALEB_UUID=$(blkid $GALEB_PART | + awk 'BEGIN { FS="="; RS=" " } + { + if ($1=="UUID") + { + gsub(/["\n]/, ""); + print $2 + } + }') + +then append it to /etc/default/grub in your other distro: + + # cat <<! >> /etc/default/grub + GRUB_OS_PROBER_SKIP_LIST=$GALEB_UUID@$GALEB_PART + ! + +You should then regenerate GRUB's configuration file in your distro. + + See also --------