mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
cdrom: Add grub.cfg that allows to install IPFire
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
search --file --no-floppy --set=root /EFI/BOOT/grub.cfg
|
||||
set prefix=($root)/EFI/BOOT/
|
||||
search.fs_label "NAME VERSION ARCH" root
|
||||
set prefix=($root)/EFI/BOOT
|
||||
|
||||
34
config/cdrom/grub.cfg
Normal file
34
config/cdrom/grub.cfg
Normal file
@@ -0,0 +1,34 @@
|
||||
set default="1"
|
||||
|
||||
function load_video {
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod all_video
|
||||
}
|
||||
|
||||
load_video
|
||||
set gfxpayload=keep
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
set timeout=60
|
||||
|
||||
menuentry 'Install NAME VERSION ARCH' --class ipfire --class gnu-linux --class gnu --class os {
|
||||
linux /boot/isolinux/vmlinuz
|
||||
initrd /boot/isolinux/instroot
|
||||
}
|
||||
|
||||
submenu 'Other Installation Options -->' {
|
||||
menuentry 'Install NAME VERSION (Text Mode)' --class ipfire --class gnu-linux --class gnu --class os {
|
||||
linux /boot/isolinux/vmlinuz novga
|
||||
initrd /boot/isolinux/instroot
|
||||
}
|
||||
|
||||
menuentry 'Unattended installation' --class ipfire --class gnu-linux --class gnu --class os {
|
||||
linux /boot/isolinux/vmlinuz installer.unattended
|
||||
initrd /boot/isolinux/instroot
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user