> thanks for great knowledge .
;-)
> |I don't understand how you mean the 2 GB. But fdisk creates partitions -
> |in this case the EFI and the OpenBSD. Check
>
> my experimental USB is only 2GB.
>
> that is
> dmesg | grep sdb
> [ 1268.887376] sd 3:0:0:0: [sdb] 3915776 512-byte logical blocks: (2.00
> GB/1.86 GiB)
>
>
> this is not practical only expirimental
> the next step is to install openbsd into usb ***harddisk ***
>
> --------
> regards
Sounds good, here an example for an SanDisk Extreme USB 3 USB stick with
64 GB.
# fdisk sd1
Disk: sd1 geometry: 7628/255/63 [122544516 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: EF 0 1 2 - 0 16 16 [ 64: 960 ] EFI Sys
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 16 17 - 7627 254 63 [ 1024: 122542796 ] OpenBSD
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Extreme
duid: ba584401973042a0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 7628
total sectors: 122544516
boundstart: 1024
boundend: 122543820
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 2097152 1024 4.2BSD 2048 16384 1 # /
b: 10950110 2098176 swap # none
c: 122544516 0 unused
d: 8388576 13048288 4.2BSD 2048 16384 1 # /tmp
e: 14185984 21436864 4.2BSD 2048 16384 1 # /var
f: 4194304 35622848 4.2BSD 2048 16384 1 # /usr
g: 2097152 39817152 4.2BSD 2048 16384 1 # /usr/X11R6
h: 14980544 41914304 4.2BSD 2048 16384 1 # /usr/local
i: 960 64 MSDOS
j: 4194304 56894848 4.2BSD 2048 16384 1 # /usr/src
k: 4194304 61089152 4.2BSD 2048 16384 1 # /usr/obj
l: 57260364 65283456 4.2BSD 2048 16384 1 # /home
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/sd1a 1005M 65.4M 889M 7% /
/dev/sd1l 26.9G 4.5G 21.0G 18% /home
/dev/sd1d 3.9G 12.0K 3.7G 0% /tmp
/dev/sd1f 2.0G 368M 1.5G 19% /usr
/dev/sd1g 1005M 204M 750M 21% /usr/X11R6
/dev/sd1h 7.0G 2.1G 4.5G 32% /usr/local
/dev/sd1k 2.0G 2.0K 1.9G 0% /usr/obj
/dev/sd1j 2.0G 2.0K 1.9G 0% /usr/src
/dev/sd1e 6.7G 11.7M 6.3G 0% /var
#
Check also the FAQ's and the corresponding manual pages. And partition
resizing during install.
Good luck.