Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

125 bytes removed, 12:21, 10 November 2015
no edit summary
<li>Quit the '''system-config-lvm''' application.</li>
<li>In the terminal as root, issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">ls /dev/vd*</span></code></b><br><br>'''NOTE:''' If nothing displays, issue the command: '''ls /dev/sd*''' and use that device pathname '''/dev/sda''' instead.<br><br>
<li>Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">fdisk /dev/vda</span></code></b><br><br>Remember that we are using a Virtual Machine, so the hard disk appears as '''/dev/vda''' instead of /dev/sda.<br><br></li>
<li>At the fdisk prompt issue the command: '''p'''. What does this do?</li>
<li>Now issue the commands '''n''' (new partition), '''p''' (primary partition), '''3''' (i.e. next available partition number). When prompted for initial block, '''press enter to accept the default beginning block size''', and '''type: +2G''' at ending block (create 2GB for partition) and '''press enter'''. </li>
13,420
edits

Navigation menu