From the course: Advanced Linux: The Linux Kernel
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Demo kernel command line args - Linux Tutorial
From the course: Advanced Linux: The Linux Kernel
Demo kernel command line args
- [Instructor] Let's look at interrupting GRUB and setting a kernel command line parameter. So I have a VM here in Microsoft Azure, and if you're using that, you can find the zero console here underneath help. So I'm going to do a reset VM hard. Hit the reset, and then hit escape button immediately. I hit it a couple of times. I got this. I'm going to exit out of that to get here. And then if you read the little paragraph on the bottom, you can do an E to edit, so I'm going to do E, and I'm going to do my down arrow and look for the Linux line with a kernel and the command line arguments. And there we have one. I go down one line, then I go back. Easy way to get at the end of the line. I'm going to add a command on an argument. I'm just going to make one up. I'm going to call it new_cmd_arg. There is none with that name. And then if you read the little paragraph below, I could do a control X or an F 10 boot. I'm going to do a control X and now it should boot with no problems. And now…
Contents
-
-
-
-
(Locked)
Understanding the bootloader GRUB1m 41s
-
Configuring GRUB3m 24s
-
(Locked)
Kernel command line parameters3m 38s
-
(Locked)
Demo kernel command line args1m 54s
-
(Locked)
Process 1 and start-up services2m 49s
-
(Locked)
Challenge: GRUB, command line parameters, boot sequence1m 1s
-
(Locked)
Solution: GRUB, command line parameters, boot sequence1m 59s
-
(Locked)
-
-
-
-