Changes

Jump to: navigation, search

SYA710-student-questions

1,338 bytes added, 02:54, 2 December 2008
no edit summary
'''Question 1. List the steps to mount newly created partition Automatically. The partition is '/dev/sda4' and the mount point to mount the partition is /DATA.''' 1. Open the file named '/etc/fstab/ in editor  vi /etc/fstab
1. Open the file named '/etc/fstab/ in editor.
2. make the following entry at the end of file
/dev/sda4 /DATA ext3 defaults 0 0
the newly created partition /dev/sda4 will automatically be mounted on /DATA
 
 
'''Question 2. To decrease in size a LV, the command lvreduce is used, what is the difference in between the two ways showed next? (Assuming that the file system size now is more than 2 Gb):'''
 
1- lvreduce /dev/SENECA/LUX -L2G
 
2- lvreduce /devSENECA/LUX -L -2G
 
Using the first command, the file system size will be 2 Gb, while in the second way we are subtracting 2 Gb from the current size,
if we don't know the current size we won't be able to know what size the file system will be exactly.
 
 
'''Question 3. What is "GRUB"?'''
 
Is a boot loader package, if a computer has more that one Operative System it allows to the users choose which one run when the computer starts.
 
 
'''Question 4. What information is found in /etc/fstab file?'''
 
The list about the devices/partitions/files or logical volumes and their file systems, through this file the OS will know how to mount them
when the computer starts.
 
 
 
'''Question 5. Explain Linux boot proccess ? '''
 
1) Code in ROM BIOS finds and loads 1st stage loader from boot device (MBR)
2) 1st stage loader finds and loads 2nd stage loader (GRUB)
3) 2nd stage loader finds and loads Linux kernel and initial ram disk
4) Kernel checks the system hardware, mounts the root device and loads the needed kernel modules.
5) Kernel runs init program (PID = 1)
1
edit

Navigation menu