1,885
edits
Changes
→Investigation 2: How do you create a vfat or ext2 filesystem?
=== Investigation 2: How do you create a vfat or ext2 filesystem? ===
{{Admon/tip | Flash drives with no partition table | If your device name ends in a letter (for example, it is <code>/dev/sdb</code> instead of <code>/dev/sdb1</code>), add <code>-I</code> to the <code>mkfs</code> commands in this section. This is because your USB flash drive does not have a partition table, which normally causes an error; the <code>-I</code> option tells mkfs to proceed anyways.}}
# Unmount your USB flash drive.
# Solve the error and unmount the device.
# Consult the man pages for <code>mkfs</code> and <code>mkfs.ext3</code> to see how to reformat the device to a ext3 file system with a volume label that is the same as your learn ID.
# Enter the command to reformat the device. {{Admon/tip|Flash drives with no partition table|If your device name ends in a letter (for example, it is <code>/dev/sda</code> instead of <code>/dev/sda1</code>), add <code>-I</code> to the command. This is because your USB flash drive does not have a partition table, which normally causes an error; the <code>-I</code> option tells mkfs to proceed anyways.}}
# The dumpe2fs /dev/sda1 command will allow us to see detailed information about ext2/ext3 filesystems. Use it to confirm your volume label is correct and record the size of your journal.
# Mount the device again as an ext3 filesystem.