Lab4-Linux Partition-22F

.pdf

School

Algonquin College *

*We aren’t endorsed by this school

Course

CST8101

Subject

Computer Science

Date

Apr 3, 2024

Type

pdf

Pages

19

Uploaded by CaptainField13890

Report
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 1 of 19 Linux partition Due date: at the end of your lab period Note: all commands in this lab will be used during quizzes and exams. Mark: 10 7 screenshots and 3 question Marking scheme: Missing any snapshot or wrong answer for each question would cost 1 mark Purpose: Create a Linux clone create and remove MBR partitions from a Linux Virtual Hard Disk (2 GB) change Sudo password (administrator password) install the tree application Procedure: Important: - in this lab, we will be using the Linux clone in case you mess things up. there are some questions in the lab, make sure you answer the questions in RED and have snapshots of your work. All commands in this lab are lowercase. Create a clone of your Linux os Please turn on and log in to your Ubuntu. You are learning how to shut down Linux through the command line ( Terminal). How to shutdown your Ubuntu in the command line or terminal: First, log in to your Ubuntu. On your Ubuntu desktop press Ctrl+alt+T at the same time. That takes you to the Terminal screen. On the user prompt type: sudo shutdown -h now press enter (all lower case) ( exam ) Provide the user password now your VM is off and you are on the VM main page.
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 2 of 19 3-In your VM screen select VM => Manage => Clone To create a clone partition. Click Next Click Next After going through the default setting the clone type screen comes up, select Create a full clone click Next
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 3 of 19 Click Next Then finish The cloning process takes a few minutes Click Close Adding a new virtual hard drive (2 GB) to the clone VM Select (highlight) your Linux clone from your VM library and add a new virtual hard disk. Double click on your VM hard Disk (SCSI), this brings up the Virtual Machine Settings as shown in Figure 1 below . Note: your hard drive type may not be SCSI, which is ok.
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 4 of 19 Figure 1 Double Click on the Hard Disk (SCSI) Select the Hard Disk and click on the Add button; located at the bottom of the screen on the left-hand side. This brings up the Add Hardware Wizard , see Figure 2. Select the Hard Disk and click the Next button. Figure 2 Add Hardware Wizard. Accept the default options from the Select a Disk Type Menu and click the Next button. Select the Create a new virtual disk radio button and click the Next button. Select a Maxim disk size of 2 GB and choose the Store virtual disk as a single file , as shown in Figure 3 below.
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 5 of 19 Figure 3 Hard Disk Size. Click the Next button and accept the default name for the disk file. Click Finish. You will now be taken to the Virtual Machine Settings menu, and you should see a 2 GB drive displayed. Click the OK button.
Lab 4 CST8101 – Computer Essentials ©Algonquin College March 24, 2024 Page 6 of 19 Screenshot 1 : showing 2 GB drive ( 1 Mark) your name Figure 1 ““ Power on the Virtual Machine (Clone Ubuntu) and log on to your Linux VM. Exercise 1: Viewing existing partitions from Terminal (clone) On the Ubuntu desktop screen, press the Ctrl + alt +T buttons at the same time. That takes to the terminal screen. Switch to the root user (administrator) with the command: sudo -s – root press enter When prompted enter your root password (user password) and hit enter , remember nothing will show on the screen when you type your password. ( Exam ). Linux is a case-sensitive operating system. Note : the prompt user has been changed from ~$ to ~ # (sudo prompt) ( Exam)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help