galeb-howtos

Какода документи за Галеб
git clone https://git.sr.ht/~strahinja/galeb-howtos
Дневник | Датотеке | Референце | ЛИЦЕНЦА

чување 03c9ed79b2c760010fd91d9afa5c1a9a6f8c7450
родитељ fbf8c4ffcedd05580e4d89bf1a19802585b8adb3
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sat, 11 Nov 2023 13:33:53 +0100

booting.howto: Update Multi-booting section with more details

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

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

diff --git a/booting.howto b/booting.howto @@ -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)