Linux 1 - Partitions and Boot Process
Terms
undefined, object
copy deck
- You have just added a second hard disk to your Linux computer. The new disk has a SCSI controller. When you create the first partition on this new disk, what will it be named?
- sdb1
- You create a filesystem by using the what command?
- mkfs
- This command is used to do a low level format & create a filesystem on a floppy diskette?
- fdformat
- floppy devices are usually listed as?
- dev/fd0 or dev/fd1
- Directory where shared libraries are stored?
- /lib
- Configuration files for the system are stored in this directory?
- /etc
- Virtual filesystem containing information about kernels and processes are stored in this directory?
- /proc
- Log files and other files that change while the system is running are stored in this directory?
- /var
- data structure used to store the above information pertaining to each file with the exception of the file's name.
- inode
- While loading, the kernel prints messages to the display and saves them to this file?
- /var/log/messages
- This command prints out the last messages in the kernel message buffer?
- dmesg
- It is responsible for creating processes that the rest of the system will use, such as login shells
- init daemon
- The init daemon's actions are controlled by this configuration file
- /etc/inittab
- Runlevels 0 and 6 are reserved for
- halt & reboot
- This mode is often used for system administration tasks such as recovering a corrupt filesystem
- single-user mode
- You can change the runlevel by using the command init. Its syntax is
- init [run level]
- This script handles tasks such as activating the swap partition, checking filesystem integrity, and mounting your filesystems.
- rc.sysinit
- pieces of kernel code that can be loaded and unloaded while your system is running.
- modules
- Common boot loader that can reside on your hard disk or your boot floppy. It is executed when the system boots.
- lilo
- lilo's config file is located here?
- /etc/lilo.conf
- Run this command every time you make any changes to the lilo configuration file.
- /sbin/lilo
- Only the superuser (root) account can run the shutdown command unless this file exists
- /etc/shutdown.allow