Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Commit

Permalink
Update fedora.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive committed Jul 4, 2017
1 parent be20b5e commit 66edb3e
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions boot/grub/distro/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ if test -f (loop)/images/pxeboot/vmlinuz*; then
linux (loop)/images/pxeboot/vmlinuz* boot=images quiet iso-scan/filename="$isofile" inst.stage2=hd:UUID="$loopuuid";
initrd (loop)/images/pxeboot/initrd*;
}
fi
menuentry $"Boot Fedora Live From ISO (Live CD)" --class $icon{
set kcmdline="rd.live.image quiet";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
menuentry $"Boot Fedora From ISO (Live CD, Fail Safe)" --class $icon{
set kcmdline="rd.live.image nomodeset";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
menuentry $"Boot Fedora From ISO (Live CD, Rescue)" --class $icon{
set kcmdline="rd.live.image rescue";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
fi;
if test -f $vmlinuz_img -a -f $initrd_img; then
menuentry $"Boot Fedora From ISO (Live CD)" --class $icon{
set kcmdline="rd.live.image quiet";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
menuentry $"Boot Fedora From ISO (Live CD, Fail Safe)" --class $icon{
set kcmdline="rd.live.image nomodeset";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
menuentry $"Boot Fedora From ISO (Live CD, Rescue)" --class $icon{
set kcmdline="rd.live.image rescue";
linux $vmlinuz_img $kcmdline $linux_extra;
initrd $initrd_img;
}
fi;

0 comments on commit 66edb3e

Please sign in to comment.