Creating And Formatting Partitions In The External Media - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

5. Configuring Software Environment
Figure 5‒18: Configuration for connecting the keyboard, display, and USB flash drive to the unit
5.15.2 Creating and formatting partitions in the external media
In the external media to be used for the functions, create and format partitions in advance. The following describes
how to create partitions in the external media and then create a file system.
1. Check the block device of the unit.
Run the lsblk command to check the block device before the external media is connected. If the external media
is not connected, only sda is displayed.
$ lsblk -d
NAME MAJ:MIN RM
sda
8:0
$
2. Connect the external media to the unit.
3. Check the block device of the unit.
Run the lsblk command to check the block device before the external media is connected. The part added to the
information shown in step 1 indicates the device name assigned to the external media. In the following example,
sdb is the device name assigned to the external media.
$ lsblk -d
NAME MAJ:MIN RM
sdb
9:0
$
4. Create a partition in the external media.
Run the gdisk command to create new partitions in the external media.
Perform steps 2 to 10 in (2) Creating partitions.
$ gdisk /dev/sdb
5. Create a file system in the partition.
Use the mkfs command to create a file system in the partition you created. You can create a FAT32 or an EXT4
file system. FAT32 can be used in Linux and Windows, but individual files must not exceed 4 GB. EXT4 can be
used in Linux only.
• Example of running the command to create a FAT32 file system
$ sudo mkfs -t vfat /dev/sdb1
$
• Example of running the command to create an EXT4 file system
$ sudo mkfs -t ext4 /dev/sdb1
$
78
SIZE RO TYPE MOUNTPOINT
0
80G
0 disk
SIZE RO TYPE MOUNTPOINT
0
16G
0 disk

Advertisement

Table of Contents
loading

Table of Contents