galeb

Једноставна статичка дистрибуција заснована на musl-у
git clone https://git.sr.ht/~strahinja/galeb
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување a09a452fcb7584088bfc76227449d994971b508b
родитељ 0bf465e7aabedca600a2824eeb9e8f2726c00efe
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sat, 11 Nov 2023 13:35:07 +0100

BOOTING: Update from galeb-howtos

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

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

diff --git a/BOOTING b/BOOTING @@ -220,10 +220,26 @@ 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: +particular GRUB's os-prober, when you have added a custom configuration snippet +in /etc/grub.d/40_custom: + + uuid=lsblk -no UUID /dev/sda2 + cat <<! >>/etc/grub.d/40_custom +menuentry "Galeb 2.2" --class os { + load_video + insmod gzio + insmod part_gpt + insmod ext2 + search --no-floppy --set=root --fs-uuid $uuid + linux /boot/vmlinuz root=UUID=$uuid rw rootdelay=1 rootfstype=ext4 + initrd /boot/initramfs.img +} +! + +you might want to then also 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=$(lsblk -no UUID $GALEB_PART)