How do I check the current boot parameter list in Linux?
--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Magical Minnie Puzzles
--
Chapters
00:00 Question
00:31 Accepted answer (Score 51)
00:59 Thank you
--
Full question
https://superuser.com/questions/458082/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #boot #grub
#avk47
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Magical Minnie Puzzles
--
Chapters
00:00 Question
00:31 Accepted answer (Score 51)
00:59 Thank you
--
Full question
https://superuser.com/questions/458082/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #boot #grub
#avk47
ACCEPTED ANSWER
Score 55
The bootloader (grub in this case) will pass the boot parameters to the Linux kernel in a memory buffer called the kernel command line. The kernel command line, along with other console messages output during boot, should be in the system log, retrievable with the dmesg
command.
A copy of the kernel command line is also in the file /proc/cmdline
.
ANSWER 2
Score 0
If your boot type is EFI, you can just type in cli after Linux booted:
efibootmgr -v
to see the current boot options and which partition/device you booted from.
Look at man efibootmgr
if you are curious.