1,234
edits
Changes
→Investigation 2:
'''You need to be comfortable with these concepts on tests - make useful notes in your lab log book.'''
== Investigation 2: Create partition (command-line method) ==
'''Perform this investigation on the VM named ''<u>fedora2</u>''fedora1.'''
# There are two command-line programs that can be used for working with partitions on linux: fdisk (something rather unique) and cfdisk (something like the old DOS fdisk, if that means anything to you). cfdisk is easier to use, but fdisk is available on more systems by default. You can choose either tool for completing this investigation.# Give the full path to the hard drive device (vdb) as the first parameter to fdisk. If you don't understand what this means - you may want to do a review of some parts of ULI101.# Create a new primary partition on the drive, using up all the available free (unpartitioned) space. Tip: in fdisk use the 'h'command to get a list of all available commands.# Don'Answer t forget to save your changes.# Now we have a partition /dev/vdb2. But there is no filesystem on this partition yet. We need to create a filesystem (both system-config-lvm and gparted did the following step automatically)::* mkfs.ext4 /dev/vdb2 -L archive2# Run gparted again, look for the changes that happened after you created the Investigation 2 observations partition/ questions filesystem. '''Will you remember how to use fdisk or cfdisk and mkfs? Make notes in your lab log book.'''
== Investigation 3: Manually Mounting / Unmounting Filesystems ==