Changes

Jump to: navigation, search

SYA710-midterm

1,332 bytes added, 15:57, 27 November 2008
Example Midterm Test Questions
</pre>
<pre>2. Describe the process to create two partitionson drive sdb (1 and 2), make them into physical volumevolumes, create a volume group, named seneca containing sdb1 and a logical volume (500M) named home. Format the logical volume as an ext3 filesystem, and label it, myhome. Then extent the volume group and logical volume by 1GB and then resize the filesystemthe file system to fill it. <pre>
1st COMMAND: fdisk /dev/sdb
</pre>
[[Image:lvm.png]]
<pre>
3. Steps to compile the linux kernel
<pre>
4. '''Steps to reduce the LV (logical Volume)'''
1. To reduce the volume the file system has to reduced first.
ref:RHCE exam Book
</pre>
 
<pre>
5. Kick Start Procedure
 
- Install Fedora
- sudo yum -y install k3b isomaster
- use k3b to rip Fedora Installation DVD into ISO
- use isomaster to copy file "/root/anaconda-ks.cfg" from local Fedora partition into the ISO file, put it in root directory in the ISO file, "/ks.cfg"
- open "ks.cfg" find the line...
"bootloader --location=mbr --driveorder=sda,sdb --apppend="rhgb quiet""
- change to
"bootloader --location=sdb --driveorder=sda,sdb --apppend="rhgb quiet""
-save and add to the image ISO, make sure the name is "ks.cfg" on ISO Image.
-if u're not running with root, use root to copy it to avaliable directory and make sure it's readable for your current user
-in your image list, open /isolinux/isolinux.cfg
-find "label linux" and edit the line "append initrd=initrd.img" to "append initrd=initrd.img ks=cdrom"
-save "isolinux.cfg" and add to the image ISO
- use k3b to burn iso image to a new DVD
- boot the target PC with the new Fedora installation DVD\
- in boot prompt, press "c" to add boot option
- type "ks=cdrom" to let installation read the ks.cfg from DVD rom
- sit back and have a cup of tea.. ^^
 
</pre>

Navigation menu