Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 71 discussion

Actual exam question from LPI's 101-500
Question #: 71
Topic #: 1
[All 101-500 Questions]

Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.)

  • A. menuentry
  • B. uefi
  • C. pxe-ifconfig
  • D. insmod
  • E. kpartx
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fabinnerself
Highly Voted 2 years, 5 months ago
I find this menuentry: dir: https://help.ubuntu.com/community/Grub2/Setup "From the GRUB 2 menu at boot, the user can also determine which Ubuntu is controlling the boot on a multi-OS system. By default, the first menuentry always lists an option from the installation which is in charge of GRUB 2. For example, if the first menuentry contains "on sda5, then the GRUB installed on sda5 OS is controlling the menu/boot." insmod: dir: https://www.gnu.org/software/grub/manual/grub/grub.html#insmod <<Then write a grub.cfg (/mnt/boot/grub/grub.cfg): menuentry "OS using grub2" { insmod xfs search --set=root --label OS1 --hint hd0,msdos8 configfile /boot/grub/grub.cfg }">> So A and D are OK
upvoted 6 times
SScott
2 years, 4 months ago
Yes good links and comments. grep -E 'insmod|menuentry' /boot/grub/grub.cfg and also /boot/grub2/grub.cfg confirms A & D. uefi is referenced but is a rem statement not a command https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-working_with_the_grub_2_boot_loader https://help.ubuntu.com/community/Grub2/Installing#:~:text=The%20GRUB%202%20menu%20is%20built%20by%20information%20contained%20in%20/boot/grub/grub.cfg pxe-ifconfig is invalid kpartx is related but not specifically in the grub2 config file https://linux.die.net/man/8/kpartx https://peter-low-level-programming.blogspot.com/2012/10/install-grub2-in-disk-image.html
upvoted 1 times
...
...
Amycert
Most Recent 1 year, 2 months ago
Selected Answer: AD
A. menuentry D. insmod
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...