Which file the /proc filesystem lists parameters passed from the bootloaderto the kernel?
Answer: cmdline
Explanation:
The Linux/proc Directory is a Virtual Filesystem provided by linux kernel, /proc contains files and directories that let system administrators and programmers access system information.
If you misconfigured the bootloader, you can’t load the Linux. We have different Boot loader like lilo, grub etc. If you try to load the Linux using misconfigured bootloader you will get kernel panic, no init found or Kernel Panic – Not Suyncing: Attempt to kill init etc Error. At this time you can boot the system by passing different parameters from the bootloader. If you are using LILO bootloader press ctrl+x. If you are using grub, press a or e and editor pass the different parameter.
Before passing kernel parameter, you should know whatto pass, thefile /proc/cmdline contains the parameter can pass from bootloader.
For Grub Contains of/proc/cmdline ro root=LABEL=/ rhgb queit or /proc/cmdline ro root=/dev/hda2 This file shows the parameters passed to the kernel at the time it is started .This tells us that the kernel is mounted reaD.only (signi_ed by (ro))off of the second partition on the first IDE device (/dev/hda2).
For LILO BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.6.9-5.EL rhgb quiet root=LABEL=/l