Changes

Jump to: navigation, search

SYA710 Lab01

22 bytes removed, 06:16, 9 September 2008
PART B (Container is a partition):
<li>Use fdisk to make primary partition #4 of about 1GB size.<br>
</li>
 
<li>Inform the kernel of the change in the partition table with the
command:<br>
<brpre> partprobe <br> <br/pre>
</li>
<li>Make an ext3 file system in the new partition:<br>
<brpre> mkfs -t ext3 /dev/sda4<br>  <br/pre>
</li>
<li>Make a new directory (mkdir /mnt1) and mount the file system onto it like this<br>
<brpre> mount /dev/sda4 /mnt1 <br> <br/pre>
</li>
<li>Now copy the contents of your /home directory to this new file
system like this:<br>
  <brpre> cp -a /home/* /mnt1 <br> <br/pre>
</li>
<li>Add the following line for your /etc/fstab file<br>
<li>Login as root and open a console window.</li>
<li>Enter the command<br>
<brpre> mount -a <br> <br/pre>
</li>
<li>Enter the 'df -Thi' command to verify that /dev/sda4 is mounted
</li>
</ol>
 
=== PART C (Container is a logical volume): ===
Perform the following steps:
63
edits

Navigation menu