Skip to content

Support for Secureblue #69

@woodknack

Description

@woodknack

I tried to make a config based on the bazzite config but ran into and issue

Loading Kernel...
error: file '/boot/vmlinuz' not found.

Here's my config

# Secureblue (Fedora Atomic-based Live ISO)
# https://secureblue.dev/

iso_pattern="secureblue-*.iso"

for isofile in ($dev,*)$iso_dir/$iso_pattern; do
	if [ -e "$isofile" ]; then
		regexp --set=isoname "$iso_dir/(.*)" "$isofile"

		submenu "$isoname ->" "$isofile" "$iso_dir/$isoname" {
			iso_path="$3"
			LOOPBACK "$2"
			probe --label --set=cd_label (loop)
			isocfg="iso-scan/filename=$iso_path"
			bootoptions="root=live:CDLABEL=$cd_label rd.live.image quiet rhgb"
			linux_path="($root)/boot/vmlinuz"
			initrd_path="($root)/boot/initramfs.img"

			menuentry "secureblue Live ISO" {
				echo Loading kernel...
				linux $linux_path $isocfg $bootoptions
				echo Loading initrd...
				initrd $initrd_path
			}
			menuentry "secureblue Live ISO (Basic Graphics Mode)" {
				echo Loading kernel...
				linux $linux_path $isocfg $bootoptions nomodeset
				echo Loading initrd...
				initrd $initrd_path
			}
		}
	fi
done

here's the cfg from the secureblue iso

set default="0"

function load_video {
  insmod all_video
}

load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod chain

set timeout=10

search --no-floppy --set=root -l 'titanoboa_boot'

menuentry 'secureblue Live ISO' --class fedora --class gnu-linux --class gnu --class os {
  linux ($root)/boot/vmlinuz quiet rhgb root=live:CDLABEL=titanoboa_boot rd.live.image 
  initrd ($root)/boot/initramfs.img
}

menuentry 'secureblue Live ISO (Basic Graphics Mode)' --class fedora --class gnu-linux --class gnu --class os {
  linux ($root)/boot/vmlinuz quiet rhgb root=live:CDLABEL=titanoboa_boot rd.live.image nomodeset 
  initrd ($root)/boot/initramfs.img
}

# menuentry 'Try secureblue (RAM Only)' --class fedora --class gnu-linux --class gnu --class os {
#   linux ($root)/boot/vmlinuz quiet rhgb root=live:CDLABEL=titanoboa_boot rd.live.ram rd.live.image 
#   initrd ($root)/boot/initramfs.img
# }
# submenu 'Troubleshooting -->' {
#   menuentry 'Install secureblue in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
#     linux ($root)/boot/vmlinuz quiet rhgb root=live:CDLABEL=titanoboa_boot rd.live.image nomodeset
#     initrd ($root)/boot/initramfs.img
#   }
# }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions