The Computer Oracle

How do I check the current boot parameter list in Linux?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3

--

Chapters
00:00 How Do I Check The Current Boot Parameter List In Linux?
00:22 Accepted Answer Score 55
00:48 Answer 2 Score 0
01:05 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.