grub.cfg

/boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'  d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
else
  search --no-floppy --fs-uuid --set=root d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
if [ "${grub_platform}" == "efi" ]; then
	menuentry "1) Microsoft Windows 8.1" {
		insmod part_gpt
		insmod fat
		insmod search_fs_uuid
		insmod chain
		search --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 BA93-BCDC
		chainloader /EFI/Microsoft/Boot/bootmgfw.efi
	}
fi
menuentry '2) Arch Linux on LVM' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod lvm
	insmod ext2
	set root='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'  d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
	else
	  search --no-floppy --fs-uuid --set=root d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
	fi
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=/dev/mapper/vg-arch rw  quiet nmi_watchdog=0 fastboot
	echo	'Loading initial ramdisk ...'
	initrd  /boot/intel-ucode.img /boot/initramfs-linux.img
}
submenu '--> Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod lvm
		insmod ext2
		set root='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'  d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
		else
		  search --no-floppy --fs-uuid --set=root d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=/dev/mapper/vg-arch rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /boot/intel-ucode.img /boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod lvm
		insmod ext2
		set root='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/D2eppl-37de-ELuc-Mby7-dckJ-VXrO-EIdiTY/glkKTh-MERV-vJto-WwD4-eaTY-Dad3-A2iX5W'  d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
		else
		  search --no-floppy --fs-uuid --set=root d81b0919-d1ae-42c4-a8de-5c0ecfe9b57a
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=/dev/mapper/vg-arch rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
	}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry '3) [loopback] archlinux-2017.08.01-x86_64.iso' {
        search --no-floppy --fs-uuid --set=root 29a6a71d-aa14-4476-ad01-a51d1297da05
        set imgdevpath='/dev/disk/by-uuid/29a6a71d-aa14-4476-ad01-a51d1297da05'
        set isofile='/arch/archlinux-2017.08.01-x86_64.iso'
        loopback loop $isofile
        linux (loop)/arch/boot/x86_64/vmlinuz root=UUID=29a6a71d-aa14-4476-ad01-a51d1297da05 img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
        initrd (loop)/arch/boot/x86_64/archiso.img
}
menuentry "4) [loopback] void-live-x86_64-20171007.iso (RAM)" {
        search --no-floppy --fs-uuid --set=root 29a6a71d-aa14-4476-ad01-a51d1297da05
        set voidlive="/void/void-live-x86_64-20171007.iso"
        loopback loop $voidlive
        linux (loop)/boot/vmlinuz iso-scan/filename=$voidlive \
		root=live:CDLABEL=VOID_LIVE ro init=/sbin/init \
		rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 gpt add_efi_memmap \
		vconsole.unicode=1 vconsole.keymap=us \
		locale.LANG=en_US.UTF-8  rd.live.ram
        initrd (loop)/boot/initrd
}
menuentry '5) FreeBSD 11.1' {
 	insmod ufs2
 	set root=(hd0,gpt10)
 	chainloader /boot/boot1.efi
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###



Kali terakhir halaman ini dikemaskini/disemak semula adalah pada .
Top