3 starting linux from usb disk, 1 deploy filesystem to the usb disk, Table 6-1 – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 77: Partitions on usb disk, Start linux

Start Linux
COMX-P2020 BSP User Guide (6806800L84B)
77
6.3
Starting Linux from USB Disk
The Linux kernel and filesystem can be put to the USB disk for production deployment. As such
the USB sticks included in the COMX-P2020 kit will contain the following images as per the
partitions mentioned.
6.3.1
Deploy Filesystem to the USB Disk
The following method can deploy filesystem to an empty 4G Byte USB Disk:
1. Start COMX-P2020 to Linux with NFS file system.
2. Insert a 4G Byte USB sticks to COMX-P2020 and fdisk the USB disk as the above partition
table.
[root@COMX-P2020 /root]#fdisk /dev/sda
...
Device Boot Start End Blocks Id System
/dev/sda1 1 142 1140583+ 83 Linux
/dev/sda2 143 265 987997+ 6 FAT16
/dev/sda3
266
396
1052257+ 82 Linux swap / Solaris
/dev/sda4 397 518 979965 83 Linux
3. Format the partition with the following command:
[root@COMX-P2020 root]# umount /dev/sda1
Table 6-1 Partitions on USB Disk
Partition Number
Size
Type
Contents
1
1G
Ext2
(System ID = 83)
Inflated rootfs required for HD
boot
2
1G
FAT16
(System ID = 6)
uImage, comx.dtb, rootfs-
dev.ext2.img, rootfs-
usr.ext2.img, rootfs-
min.ext2.img
3
1G
Linux swap
(System ID = 82)
4
1G
Ext2
(System ID = 83)
uImage, comx.dtb, rootfs-
dev.ext2.img, rootfs-
usr.ext2.img, rootfs-
min.ext2.img