Difference between revisions of "SYA710-student-questions"

From CDOT Wiki
Jump to: navigation, search
Line 25: Line 25:
  
 
   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.
 
   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.
 +
 +
 +
'''What information is found in 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.

Revision as of 18:42, 30 November 2008

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

2. make the following entry at the end of file

   /dev/sda4   /DATA      ext3    defaults     0 0

3. save the file and reboot

the newly created partition /dev/sda4 will automatically be mounted on /DATA


Question 2. To decrease in size a file system, 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 SENECA/LUX -L2G

2- lvreduce SENECA/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.


What information is found in 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.