[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB -- Debian overrides? Or maybe I just don't understand it well...



David Wright composed on 2023-12-20 00:00 (UTC-0600):

> In case it's not clear, "generically symlinked" means that
> /vmlinuz is a symlink pointing to the most recent linux-image.
> (Similarly for initrd.) I added the following to
> /etc/grub.d/07_custom:
 
>   menuentry 'My bullseye' $menuentry_id_option 'custom' {
>       load_video
>       set gfxpayload=keep
>       insmod gzio
>       insmod part_gpt
>       insmod ext2
>       search --no-floppy --set=root --label noah03
>       echo    'Load /vmlinuz …'
>       linux   /vmlinuz root=LABEL=noah03 ro systemd.show_status=true quiet
>       echo    'Load initial ramdisk /initrd.img …'
>       initrd  /initrd.img
>   }
 
A bit less is needed here in custom.cfg:
menuentry "Debian 13 Trixie defkernel 3 on P10" {
        load_video
        set gfxpayload=keep
        search --no-floppy --set=root --hint-baremetal=ahci0,gpt10 --label zd8p10deb13
        linux /vmlinuz root=LABEL=zd8p10deb13 noresume consoleblank=0 preempt=full mitigations=off
        initrd /initrd.img
}
menuentry "Slackware 15.0 GUI on P25"{
	load_video
	set gfxpayload=keep
	search --no-floppy --set=root --hint-efi=hd0,gpt25 --label zd8p25slack
	linux /boot/vmlinuz rw root=LABEL=zd8p25slack noresume consoleblank=0 mitigations=off
	initrd /boot/initrd.gz
}
# lsblk -f | egrep 'fat|slack|deb13'
├─sda1  vfat   FAT32 ZD8P01ESP    20A0-2A08
├─sda10 ext4   1.0   zd8p10deb13  e37c3e3c...
├─sda25 ext4   1.0   zd8p25slack  6664eb9b...
# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Tumbleweed"
# rpmqa grub2-2.1
grub2-2.12~rc1-12.1.x86_64
#
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata


Reply to: