Look inside the USB Flash drive partition structure for GhostBSD-Arm64

 Look inside the USB Flash drive partition structure for GhostBSD-Arm64

 
Notice the boot, esp flags activated for the ESP FAT32 partition sdc1


Kingston 128GB USB 3.0 Flash drive

This is the contents view of gparted application on /dev/sdc USB 3.0 Flash Drive.  I think the software uses the Logical Block Address LBA of the disk and not the virtual  Heads, Sectors, & Cylinders view of a disk drive.



 
Partition 1,2,3 on USB Flash drive  50MB ESP EF00, 2GB Swap A502, 10GB A503

Here are the 3 partitions comprising the GhostBSD-ARM64 USB flash drive written from file Ghost14_selfbuilt.img  file.  Note, ESP type EF00  FreeBSD-swap A502, FreeBSD-ufs A503

Note the regular  menu commands:   i, l, p
i   show detailed information on a partition
p  print the partition table contents
l  list the know Partition Types

Information and attribute fields setings,  None set here




Expert menu of gdisk command

 Note:

a  set attributes
d  for display sector alignment information
i   show detailed information on a partition


Kingston DataTraveler 3.0  USB 3.0 128GB size.


FreeBSD partiton type codes a503 UFS , a502 swap


Verify disk,  gdisk verify information printed.


FDISK command output

root@mx16-Klik:~# fdisk -l /dev/sdc
Disk /dev/sdc: 115.23 GiB, 123730388992 bytes, 241660916 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F0D5B092-8BEB-11EE-A71E-DCA632D53D76

Device       Start      End  Sectors Size Type
/dev/sdc1        3   102402   102400  50M EFI System
/dev/sdc2   102403  4296706  4194304   2G FreeBSD swap
/dev/sdc3  4296707 25268226 20971520  10G FreeBSD UFS
root@mx16-Klik:~#

Edit /etc/rc.conf   file in the UFS partition

edit /etc/rc.conf file  add these two lines to test when booting up

rc_debug="YES"
rc_info="YES"





Comments

Popular posts from this blog

HDMI Audio sound patches into GhostBSD source code /usr/ghost14/ghostbsd-src SOLVED Jan20 2024

How to install GhostBSD-Arm64 into a USB Flash Drive stick April 24, 2024 update edition.

January 19, 2024 Howto Download a Raspberry Pi 4B bootable image from http://ghostbsdarm64.hopto.org/packages/