{"id":177,"date":"2026-05-03T09:26:04","date_gmt":"2026-05-03T09:26:04","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/?page_id=177"},"modified":"2026-05-04T01:09:41","modified_gmt":"2026-05-04T01:09:41","slug":"disk-partitioning","status":"publish","type":"page","link":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/disk-partitioning\/","title":{"rendered":"Disk Partitioning"},"content":{"rendered":"\n<p>Step 1: I used the command, sudo ls \/dev\/sd*, to see the current hard disk devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"107\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step1.png\" alt=\"\" class=\"wp-image-326\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step1.png 563w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step1-300x57.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step1-192x36.png 192w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<p>Step 2: I used the command, sudo fdisk -l, to list the hard disk partitions.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"261\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step2.png\" alt=\"\" class=\"wp-image-327\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step2.png 572w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step2-300x137.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step2-192x88.png 192w\" sizes=\"(max-width: 572px) 100vw, 572px\" \/><\/figure>\n\n\n\n<p>Step 3: I used the command, sudo parted -l, to list the partition table.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"716\" height=\"215\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step3.png\" alt=\"\" class=\"wp-image-328\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step3.png 716w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step3-300x90.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step3-192x58.png 192w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/figure>\n\n\n\n<p>Step 4: I made a new virtual hard disk named \u201cjkaur005.vdi\u201d with 300 MBs.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"468\" height=\"306\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step4.png\" alt=\"\" class=\"wp-image-329\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step4.png 468w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step4-300x196.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step4-192x126.png 192w\" sizes=\"(max-width: 468px) 100vw, 468px\" \/><\/figure>\n\n\n\n<p>Step 5: Loaded the new hard disk to the virtual machine.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"610\" height=\"222\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step5.png\" alt=\"\" class=\"wp-image-330\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step5.png 610w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step5-300x109.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step5-192x70.png 192w\" sizes=\"(max-width: 610px) 100vw, 610px\" \/><\/figure>\n\n\n\n<p>Step 6: I used the command, sudo ls \/dev\/sd*, to see the current hard disk devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"187\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step6.png\" alt=\"\" class=\"wp-image-331\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step6.png 593w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step6-300x95.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step6-192x61.png 192w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p>I used the command, sudo fdisk -l, to list the hard disk partitions.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"132\" src=\"http:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step7.png\" alt=\"\" class=\"wp-image-333\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step7.png 600w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step7-300x66.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step7-192x42.png 192w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>I used the command, sudo parted -l, to list the partition table.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"135\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step8-1.png\" alt=\"\" class=\"wp-image-334\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step8-1.png 516w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step8-1-300x78.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step8-1-192x50.png 192w\" sizes=\"(max-width: 516px) 100vw, 516px\" \/><\/figure>\n\n\n\n<p>Step 7: I used the command, sudo fdisk \/dev\/sdb, to create a new primary partition on the new virtual hard disk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"807\" height=\"390\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step9.png\" alt=\"\" class=\"wp-image-335\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step9.png 807w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step9-300x145.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step9-768x371.png 768w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step9-192x93.png 192w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure>\n\n\n\n<p>Step 8: I used the command, sudo mkfs.ext4 \/dev\/sdb1, to create an ext4 filesystem on the new partition.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"272\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step10.png\" alt=\"\" class=\"wp-image-336\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step10.png 757w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step10-300x108.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step10-192x69.png 192w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p>Step 9: I used the command, sudo ls \/dev\/sd*, to see the current hard disk devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"166\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step11.png\" alt=\"\" class=\"wp-image-337\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step11.png 678w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step11-300x73.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step11-192x47.png 192w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>I used the command, sudo fdisk -l, to list the hard disk partitions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"208\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step12.png\" alt=\"\" class=\"wp-image-338\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step12.png 596w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step12-300x105.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step12-192x67.png 192w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p>I used the command, sudo parted -l, to list the partition table.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"582\" height=\"198\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step13.png\" alt=\"\" class=\"wp-image-339\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step13.png 582w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step13-300x102.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step13-192x65.png 192w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/figure>\n\n\n\n<p>Step 10-11: I used the command, sudo mkdir \/cyse, to make a new directory. I used the command, sudo mount \/dev\/sdb1 \/cyse, to mount the new partition under the new directory. I used the command, df, to check the mounting point of the new partition.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"335\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step14.png\" alt=\"\" class=\"wp-image-340\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step14.png 668w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step14-300x150.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step14-192x96.png 192w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/figure>\n\n\n\n<p>Step 12: I used the command, sudo touch jkaur005.txt, to make a new file and used vi editor to put my name in the file.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"167\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step15.png\" alt=\"\" class=\"wp-image-341\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step15.png 658w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step15-300x76.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step15-192x49.png 192w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/figure>\n\n\n\n<p>Step 13-14: I used the command, sudo umount \/dev\/sdb1, to unmount the \/cyse directory. The \/cyse directory was empty after unmounting it.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"210\" src=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step16.png\" alt=\"\" class=\"wp-image-342\" srcset=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step16.png 607w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step16-300x104.png 300w, https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-content\/uploads\/sites\/41176\/2026\/05\/6step16-192x66.png 192w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: I used the command, sudo ls \/dev\/sd*, to see the current hard disk devices. Step 2: I used the command, sudo fdisk -l, to list the hard disk partitions.&nbsp; Step 3: I used the command, sudo parted -l, to list the partition table.&nbsp; Step 4: I made a new virtual hard disk named &hellip; <a href=\"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/disk-partitioning\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Disk Partitioning<\/span><\/a><\/p>\n","protected":false},"author":24635,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/pages\/177"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/users\/24635"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":3,"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/pages\/177\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/pages\/177\/revisions\/343"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/jasprit-kaur-2-ids493spring2026\/wp-json\/wp\/v2\/media?parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}