Which of the following is the grub 2 boot loader configuration file?
Show 3.2.1 About the GRUB Configuration FileThe GRUB configuration file,
Specifies the kernel entry that GRUB should boot by default. GRUB counts the kernel entries in the configuration file starting at 0. The directive timeout Specifies the number of seconds that GRUB should wait for keyboard input before booting the default kernel. Pressing any alphanumeric key within this period displays the GRUB menu. The default timeout is 5 seconds. A value of 0 causes GRUB to boot the default kernel immediately. A value of -1 or no value at all causes GRUB to wait indefinitely until you press a key. splashimage Specifies the splash screen that hides boot messages. Pressing hiddenmenu If specified, instructs GRUB not to display the GRUB menu by default unless a key is pressed. password If specified with the arguments Following these directives are For Linux systems, the title contains a description of the kernel and the kernel version number in parentheses. Each
If specified, you must enter the correct GRUB password to boot the specified kernel or operating system. See Section 3.2.2, “Configuring a GRUB Password”. root Specifies the root partition, which can be on a local disk or on a SAN-attached disk. The first hard drive detected by the BIOS is named hd0, the second is named # kernel Specifies the kernel version to be booted as a path relative to the root of the boot partition, together with any kernel boot parameters. See Section 3.2.1.1, “Kernel Boot Parameters”. initrd Specifies the
Note The
name The following sample entries are taken from a GRUB configuration file: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Oracle Linux Server (3.6.39-400.17.1.el6uek.x86_64) root (hd0,0) kernel /vmlinuz-2.6.39-400.17.1.el6uek.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rd_LVM_LV=VolGroup/lv_root rd_NO_DM rhgb quiet initrd /initramfs-2.6.39-400.17.1.el6uek.x86_64.img title Oracle Linux Server (2.6.32-358.0.1.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-358.0.1.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rd_LVM_LV=VolGroup/lv_root rd_NO_DM rhgb quiet crashkernel=auto initrd /initramfs-2.6.32-358.0.1.el6.x86_64.img In this example, the default kernel is the Unbreakable Enterprise Kernel (3.6.39-400.17.1.el6uek.x86_64) and the other bootable kernel is the Red Hat Compatible Kernel (2.6.32-358.0.1.el6.x86_64). As this system
has a separate Which of the following is the grub bootloader configuration file?The GRUB menu interface configuration file is /boot/grub/grub. conf. The commands to set the global preferences for the menu interface are placed at the top of the file, followed by stanzas for each operating kernel or operating system listed in the menu.
What is grub 2 boot screen?GRUB 2 is the default boot loader and manager for Ubuntu since version 9.10 (Karmic Koala). As the computer starts, GRUB 2 either presents a menu and awaits user input or automatically transfers control to an operating system kernel. GRUB 2 is a descendant of GRUB (GRand Unified Bootloader).
Which directory contains the configuration file for grub 2?The secret formula is in the /etc/default directory, with a file called, naturally enough, grub, which is then used in concert with a simple terminal command. The /etc/default directory contains configuration files for a few programs such as Google Chrome, useradd, and grub. The /etc/default/grub file is very simple.
What is grub configuration file?The GRUB configuration file, /boot/grub/grub. conf , starts with the default , timeout , splashimage , and hiddenmenu directives: default. Specifies the kernel entry that GRUB should boot by default. GRUB counts the kernel entries in the configuration file starting at 0.
|