Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD

1 byte removed, 06:59, 15 June 2016
no edit summary
# You can create a partition by using the fdisk command. Issue the following command: <br><b><code><span style="color:#3366CC;font-size:1.2em;">fdisk /dev/vda</span></code></b> (or fdisk /dev/sda if there is no /dev/vda).
#At the '''fdisk''' prompt issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">p</span></code></b>. What does this do?
#Now issue the commands <b><code><span style="color:#3366CC;font-size:1.2em;">n</span></code></b> (new partition), <b><code><span style="color:#3366CC;font-size:1.2em;">p</span></code></b> (primary partition), <b><code><span style="color:#3366CC;font-size:1.2em;">3</span></code></b> (i.e. next available partition number). When prompted for initial block, press '''press enter ''' to accept the default beginning block size''', and type: <b><code><span style="color:#3366CC;font-size:1.2em;">+2G</span></code></b> at ending block (create 2GB for partition) and press ''''enter'''.
#At the fdisk prompt, issue the command <b><code><span style="color:#3366CC;font-size:1.2em;">p</span></code></b> to review the partition information, then issue the command <b><code><span style="color:#3366CC;font-size:1.2em;">w</span></code></b> to save partition table and exit (ignore WARNING message).
#You <u>'''must'''</u> restart your centos2 VM to allow changes to take effect.
13,420
edits

Navigation menu