Linux Interview Questions Part5
Linux Interview Questions Part5
HOME
Servers
NETWORKING
STORAGE
Sponsors/Partners
Our Services
ABOUT
Beginner's ForumBeginner's ForumHere to help the beginners
HOME
SERVERS
NETWORKING
STORAGE
SPONSORS/PARTNERS
OUR SERVICES
ABOUT
LINUX BASICS – INTERVIEW QUESTIONS AND ANSWERS -BOOTING PART 1
May 23, 2021 Sreehari CK One comment
It’s been a while without a Linux/Unix post, now we are starting a series here. A
series posts with some of the basics, in a Q&A format. We are attempting to help
you improve your basics, which can be helpful in your revision for job interviews
as well.
Here comes the first part, where we will be discussing some of the Q&As from the
booting part. This will be helpful for those who are at an L1- L2 level in your
Linux knowledge.
———————————————————
GDM (GNOME Display Manager) — The default display manager for Red Hat Enterprise
Linux.
KDM — KDE’s display manager which allows the user to shutdown, restart or log in to
the system
There may be times when you are unable to get Red Hat Enterprise Linux running
completely enough to access files on your system’s hard drive. Using rescue mode,
you can access the files stored on your system’s hard drive, even if you cannot run
Red Hat Enterprise Linux from that hard drive
———————————————————
By booting the system from other installation boot media, such as USB flash
devices.
By booting the system from the Red Hat Enterprise Linux CD-ROM #1.
Once you have booted using one of the described methods, add the keyword rescue as
a kernel parameter. For example, for an x86 system, type the following command at
the installation boot prompt: linux rescue
If a driver that is part of the Red Hat Enterprise Linux 6 distribution prevents
the system from booting, How to blacklist that driver
Boot the system into rescue mode with the command linux rescue
rdblacklist=name_of_driver
———————————————————
#vi /mnt/sysimage/boot/grub/grub.conf
Create a new file under /etc/modprobe.d/ that contains the command blacklist
name_of_driver
What is single user mode, how to enter into single user mode ?
Single-user mode provides a Linux environment for a single user that allows you to
recover your system from problems that cannot be resolved in networked multi-user
environment. You do not need an external boot device to be able to boot into
single-user mode, and you can switch into it directly while the system is running
———————————————————
At the GRUB boot screen, press any key to enter the GRUB interactive menu.
Select Red Hat Enterprise Linux with the version of the kernel that you want to
boot and press the a to append the line.
Type single as a separate word at the end of the line and press Enter to exit GRUB
edit mode. Alternatively, you can type 1 instead of single
What is emergency mode, how to enter in to emergency mode, main difference between
single user mode and emergency mode
Emergency mode, provides the minimal bootable environment and allows you to repair
your system even in situations when rescue mode is unavailable. In emergency mode,
the system mounts only the root file system, and it is mounted as read-only. Also,
the system does not activate any network interfaces and only a minimum of the
essential services are set up.
At the GRUB boot screen, press any key to enter the GRUB interactive menu.
Select Red Hat Enterprise Linux with the version of the kernel that you want to
boot and press the a to append the line.
Type emergency as a separate word at the end of the line and press Enter to exit
GRUB edit mode.
———————————————————
In emergency mode, you are booted into the most minimal environment possible. The
root file system is mounted read-only and almost nothing is set up. The main
advantage of emergency mode over single-user mode is that the init files are not
loaded. If init is corrupted or not working, you can still mount file systems to
recover data that could be lost during a re-installation.
In single-user mode, your computer boots to runlevel 1. Your local file systems are
mounted, but your network is not activated. You have a usable system maintenance
shell.
Hope you have enjoyed reading this post. Please feel free to add your feedback in
the comments section.
tagged with answers, booting, init, Interview, Linux, linuxqa, question, runlevel
LINUX
UNIX
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Search …
RECENT POSTS
Device does not come back after deleting it from Network Flow Analysis (NFA)
Splunk Part II – Installation
Splunk Interview Questions and Answers – Part II
00:00
03:04
SUBSCRIBE NOW..!
ARCHIVES
Archives
Select Month
CATEGORIES
Categories
Select Category