Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions mbusb.d/scientific.d/generic.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
for isofile in $isopath/SL-*.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop "$iso_path"
probe --label --set=cd_label (loop)
menuentry "Start SL Live (EXTRA)" {
bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0"
linux (loop)/isolinux/vmlinuz0 $bootoptions
initrd (loop)/isolinux/initrd0.img
}
menuentry "Start SL Live (EXTRA) in basic graphics mode" {
bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset"
linux (loop)/isolinux/vmlinuz0 $bootoptions
initrd (loop)/isolinux/initrd0.img
}
menuentry "Test this media & start SL Live (EXTRA)" {
bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check"
linux (loop)/isolinux/vmlinuz0 $bootoptions
initrd (loop)/isolinux/initrd0.img
}
}
fi
done