Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 16 discussion

Actual exam question from RedHat's EX200
Question #: 16
Topic #: 1
[All EX200 Questions]

SIMULATION -
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
# cat /etc/grub.conf
# cd /boot
# lftp it
# get dr/dom/kernel-xxxx.rpm
# rpm -ivh kernel-xxxx.rpm
# vim /etc/grub.conf
default=0

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Roldo97
Highly Voted 3 years, 3 months ago
To update Kernel: #rpm -ivh [kernel.rmp] --> Install a rpm package in verbose mode OR #yum install kernel --> (If you're using repositories) It's important to know that this doesn't replace the actual kernel. It is installed along the actual kernel and you can select any available kernel to boot the system in case of troubleshooting. Also, the system onlny saves a maximum of 4 kernels. If you already have 4, and install a 5th kernel, this one will replace the oldest kernel. ----------- To set a default kernel: - We can use grubby command tool. #grubby --default-kernel --> Get default kernel (It's probably that the latest installed be selected) #grubby --info=ALL | grep ^kernel --> This command list all kernel paths for the available kernels. #grubby --set-default=[kernel path obtained from the above command] Reboot and verify #uname -r --> Get the loaded kernel
upvoted 20 times
AbidBajwa
2 years, 6 months ago
well explained and very informative
upvoted 1 times
...
...
adolfoale
Highly Voted 3 years, 3 months ago
# yum update kernel
upvoted 7 times
kitkat
1 year, 10 months ago
Although what Roldo97 mentioned above is detailed, this should also work because once new Kernel is installed it automatically becomes the first one to boot with.
upvoted 1 times
kitkat
1 year, 10 months ago
It would be different story if a specific version will be mentioned and we need to make that as the first one. Then we need to use the options with grubby to set to defined kernel number.
upvoted 1 times
...
...
...
sovafal192
Most Recent 1 year, 7 months ago
rpm -ivh [kernel.rpm] ###* change the default kernel: https://access.redhat.com/solutions/4326431 ###* fastest to my mind: grep ^id /boot/loader/entries/* ###* select the id of the installed kernel grub2-set-default <ID>
upvoted 1 times
...
noobasty
2 years, 6 months ago
Is this still part of syllabus?
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...