You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.5 KiB
48 lines
1.5 KiB
set default="0"
|
|
set timeout="10"
|
|
set hidden_timeout_quiet=false
|
|
set gfxmode=auto
|
|
insmod efi_gop
|
|
insmod efi_uga
|
|
insmod gfxterm
|
|
terminal_output gfxterm
|
|
set color_normal=black/black
|
|
set color_highlight=black/white
|
|
loadfont /boot/grub/unicode.pf2
|
|
background_image /boot/grub/bootlogo.png
|
|
|
|
set default_settings="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 consoleblank=0 apparmor=0 net.ifnames=0 biosdevname=0"
|
|
set perch_settings="slax.flags=perch,automount"
|
|
set live_settings="slax.flags=automount"
|
|
set ram_settings="slax.flags=toram"
|
|
set debug_settings="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 apparmor=0 debug net.ifnames=0 biosdevname=0"
|
|
set linux_64="/minios/boot/vmlinuz"
|
|
set initrd_img="/minios/boot/initrfs.img"
|
|
set default=0
|
|
set message="Загружаем ядро и рамдиск... Подождите..."
|
|
|
|
menuentry "Запуск MiniOS с сохранением изменений"{
|
|
echo $message
|
|
search --set -f $linux_64
|
|
linux $linux_64 $default_settings $perch_settings
|
|
initrd $initrd_img
|
|
}
|
|
menuentry "Запуск MiniOS в чистом режиме"{
|
|
echo $message
|
|
search --set -f $linux_64
|
|
linux $linux_64 $default_settings $live_settings
|
|
initrd $initrd_img
|
|
}
|
|
menuentry "Запуск MiniOS с загрузкой в RAM"{
|
|
echo $message
|
|
search --set -f $linux_64
|
|
linux $linux_64 $default_settings $ram_settings
|
|
initrd $initrd_img
|
|
}
|
|
|
|
menuentry "Запуск MiniOS в режиме отладки"{
|
|
echo $message
|
|
search --set -f $linux_64
|
|
linux $linux_64 $debug_settings
|
|
initrd $initrd_img
|
|
}
|
|
|