Question: I use Fedora. Please help me with this Review how your hard drive looks like lsblk > [ yourlastname ] _ Linux _ Partition fdisk
I use Fedora. Please help me with this
Review how your hard drive looks like
lsblk yourlastnameLinuxPartition
fdisk l yourlastnameLinuxPartition
ls dev grep yourlastnameLinuxPartition
blkid yourlastnameLinuxPartition
Configure your partitions so that it looks like the following
sda: GiB
sda: GiB
sda: GiB
Creating a new partition:
fdisk devsda
create the new partitions with the following parameters:
review your menu and become familiar with your options. Refer to your menu often and frequently.
new partition
accept the default partition it should be partition
default byte number for the beginning of the unallocated space Enter
sda is G
to review your new partition table, enter the letter p
Do this for sda and sda Make sdaG and sdaG
Review above how you are to partition your hard drive. Use the letter p to view
Make sure you save. Use w
You need to format sda
mkfs t extdevsda
Make a sub directory in your Desktop directory. Name it ITSC This will be your mounting point for sda
cd homeyour home directoryDesktop
mkdir ITSC
Navigate to ITSC and make some random files in the directory and use ls l
touch file file file
notice the owner of each file
Navigate back to the Desktop
cd
Make sure you are back at your Desktop
Execute the command
ls l ITSCyourlastnameLinuxPartition
Change ownership of the ITSC from root to your username and group
for example, sudo chown garza.garza ITSC
instead of garza, use your own username and groupname
Run the tree command and append the information to your last namepartitionlab.txt
To install tree
sudo yum install tree
Mount sda to ITSC
sudo mount devsda ITSC
notice the permissions for ITSC are root again. Why?
Use chown command to change the ownership for the sda mounted at ITSC
sudo chown garza.garza ITSC
ls l to verify
Navigate back to the ITSC Notice you no longer see files and You should see a subdirectory called lostfound. If you dont see it then you have not mounted sda to ITSC
Create new files in the mounted partition. Navigate back into ITSC and create files A B and C
Navigate back to the Desktop directory and run the tree command and append the information to yourlastnameLinuxPartition
Create another directory and name it Linux. Repeat the steps
format devsda to ext
At your Desktop again, create a directory called Linux and mount devsda to it
Repeat the same steps to mount sda to a directory called Homework on your Desktop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
