New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 201-450 Exam - Topic 7 Question 112 Discussion

Actual exam question for LPI's 201-450 exam
Question #: 112
Topic #: 7
[All 201-450 Questions]

During booting, when the Linux kernel loads an initramfs file, which command from the initramfs will be executed first, if present?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Fatima
2 months ago
/init is the way to go, no doubt about it!
upvoted 0 times
...
Mirta
2 months ago
Wait, are we sure about that? What if it's /linuxrc?
upvoted 0 times
...
Shad
2 months ago
It's definitely /init that gets executed first.
upvoted 0 times
...
Ryann
3 months ago
I thought it was /sbin/init, but I guess I was wrong!
upvoted 0 times
...
Eladia
3 months ago
Agreed! /init is the standard.
upvoted 0 times
...
Karrie
3 months ago
I’m leaning towards `/init` being the right choice, but I need to double-check if there are exceptions in certain scenarios.
upvoted 0 times
...
Jennie
3 months ago
I feel like `/linuxrc` could be the answer, but I’m a bit confused about its role compared to `/init`.
upvoted 0 times
...
Cecilia
4 months ago
I remember practicing a question like this, and I think `/sbin/init` is important, but it might not be the first one executed in initramfs.
upvoted 0 times
...
Youlanda
4 months ago
I think the first command executed is usually `/init`, but I’m not entirely sure if that’s always the case.
upvoted 0 times
...
Dylan
4 months ago
I'm a bit lost on this one. I know the initramfs is important, but I can't recall the specifics of which command is executed first. I'll have to review my notes and try to figure this out.
upvoted 0 times
...
Lina
4 months ago
/init, that's the answer. I remember learning about this in class. The initramfs is a critical part of the boot process, and /init is the first thing that gets run to prepare the system for the real root file system.
upvoted 0 times
...
Theola
4 months ago
Okay, I've got this. The initramfs is a temporary file system that's loaded into memory during the boot process. The first command executed from it is /init, which is responsible for setting up the environment before the real root file system is mounted.
upvoted 0 times
...
Adelina
5 months ago
Hmm, I'm a bit unsure about this. I know the initramfs is used to load drivers and modules before the real root file system is mounted, but I'm not sure which command is executed first.
upvoted 0 times
...
Justine
5 months ago
This is a tricky one, but I think I can figure it out. Let me think through the boot process and what the initramfs is responsible for.
upvoted 0 times
...
Jina
7 months ago
Dude, it's obviously /init. I mean, what else would it be? /initrd? That's just silly. *laughs*
upvoted 0 times
Yoko
6 months ago
Haha, I know right? /initrd would be a strange choice for sure.
upvoted 0 times
...
Beatriz
7 months ago
Yeah, you're right. /init is definitely the first command executed.
upvoted 0 times
...
...
Hillary
7 months ago
You know, I bet it's /rc.local. That's where all the fun stuff happens, am I right? *wink wink*
upvoted 0 times
Xuan
5 months ago
I think it's /sbin/init that is executed first.
upvoted 0 times
...
Xuan
7 months ago
No, it's actually /init that gets executed first.
upvoted 0 times
...
...
Ellsworth
8 months ago
Hold up, what if it's /linuxrc? I remember that from my old RedHat days, but I could be way off base here.
upvoted 0 times
Celeste
7 months ago
Yeah, /sbin/init is the correct command that will be executed first.
upvoted 0 times
...
Celeste
7 months ago
I think you're right, /linuxrc is not the first command to be executed.
upvoted 0 times
...
Celeste
7 months ago
It's actually /init that will be executed first.
upvoted 0 times
...
...
Merissa
8 months ago
I'm not sure, but I think C) /linuxrc could also be a possible command that gets executed first during booting.
upvoted 0 times
...
Agustin
8 months ago
I believe the correct answer is E) /sbin/init because it is commonly used as the init program in Linux systems.
upvoted 0 times
...
Leonardo
8 months ago
I'm pretty sure it's /sbin/init. That's the system initialization process, so it makes sense it would run first.
upvoted 0 times
Trinidad
7 months ago
I always thought it was /init, but /sbin/init makes more sense.
upvoted 0 times
...
Aleta
7 months ago
Yeah, /sbin/init is the system initialization process.
upvoted 0 times
...
Dorethea
8 months ago
I think you're right, /sbin/init is the first command executed.
upvoted 0 times
...
...
Linwood
8 months ago
Hmm, I think it's /init. That's the classic init script, right?
upvoted 0 times
Donte
7 months ago
I believe you're right. /init is the traditional init script that is executed first.
upvoted 0 times
...
Lai
8 months ago
Yes, you're correct! /init is indeed the first command executed from the initramfs.
upvoted 0 times
...
...
Staci
9 months ago
I think the answer is A) /init because it is the default init program in initramfs.
upvoted 0 times
...

Save Cancel