new config files
This commit is contained in:
parent
c677f4f4f2
commit
87ddd454a9
3 changed files with 69 additions and 0 deletions
48
config_files/srv/tftp/grub/grub.cfg
Normal file
48
config_files/srv/tftp/grub/grub.cfg
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
set default="0"
|
||||
set timeout=-1
|
||||
|
||||
if loadfont unicode ; then
|
||||
set gfxmode=auto
|
||||
set locale_dir=/locale
|
||||
set lang=en_US
|
||||
fi
|
||||
terminal_output gfxterm
|
||||
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=black/light-gray
|
||||
if background_color 44,0,30; then
|
||||
clear
|
||||
fi
|
||||
|
||||
function gfxmode {
|
||||
set gfxpayload=""
|
||||
if [ "" = "keep" ]; then
|
||||
set vt_handoff=vt.handoff=7
|
||||
else
|
||||
set vt_handoff=
|
||||
fi
|
||||
}
|
||||
|
||||
set linux_gfx_mode=keep
|
||||
|
||||
export linux_gfx_mode
|
||||
|
||||
|
||||
menuentry "LMDE 7 via HTTP ISO fetch (OEM mode)" --class linuxmint {
|
||||
set gfxpayload=keep
|
||||
linux /vmlinuz boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live oem-mode quiet splash --
|
||||
initrd /initrd.lz
|
||||
}
|
||||
|
||||
|
||||
menuentry 'Ubuntu 26.04' {
|
||||
gfxmode $linux_gfx_mode
|
||||
linux /vmlinuz $vt_handoff quiet splash root=/dev/ram0 ramdisk_size=1500000 cloud-config-url=/dev/null ip=dhcp url=http://192.168.0.1/ubuntu-26.04-desktop-amd64.iso
|
||||
initrd /initrd.lz
|
||||
}
|
||||
|
||||
menuentry "LMDE 7 via HTTP ISO fetch debug" --class linuxmint {
|
||||
set gfxpayload=keep
|
||||
linux /vmlinuz boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live debug=1 --
|
||||
initrd /initrd.lz
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue