Workbook 4: System Initialization and Services Flashcards
POST is performed in what stage of the Linux boot process?
The first, in BIOS
What are the four initilization stages of Linux?
- BIOS
- Bootloader
- Kernel
- /sbin/init
Grub usually performes three tasks, what are they?
- Compose a kernel command line.
- Load an initial ramdisk (initrd), if necessary.
- Load and pass control to the Linux kernel
What is inside the initrd (initial ramdisk)?
Kernel Modules
What are the two stages of a boot loader?
- The MBR - locating the BS program
- Bootloader Proper
Where does GRUB live?
/boot/grub
Where is the grub configuration file?
/boot/grub/grub.conf
You see the line “password $2$MrXSq0xS$0LXqkBTfpywyD3TVCao3d0” in your Grub configuration file, what is the password you enter when accessing grub at boot?
$2$MrXSq0xS$0LXqkBTfpywyD3TVCao3d0. (While this looks like a hash, it does not include the –md5 flag, so it’s seen as plain text)
What grub configuration keyword would prevent you from seeing the grub bootloader during boot?
- hiddenmenu
- timeout=0
What command do you use to create a hashed password to use in Grub?
grub-md5-crypt
What init level would power the machine off?
init 0
What init level would you use to reset the root password?
init 1
What init level would you use if you wanted a multiuser mode without networking?
init 2
What init level would you use if you want a full operating mode, but no graphical interface?
init 3
What init level would you use if you had your own implementing local policy?
init 4