hea Does this look right? Why no NetBSD partitions?
gpt show sd0
should show you the NetBSD partition.
Both the fdisk
and disklabel
look odd, but, they're what I see, too, after writing the images to a USB flash drive (I have no ARM HW at all...):
Script started on Sat Apr 5 20:16:14 2025
$ sudo fdisk sd0
fdisk: Cannot determine the number of heads
Disk: /dev/rsd0
NetBSD disklabel disk geometry:
cylinders: 15208, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 15330304, bytes/sector: 512
BIOS disk geometry:
cylinders: 954, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 15330304
Partitions aligned to 2048 sector boundaries, offset 63
Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
start 32768, size 163840 (80 MB, Cyls 2/10/9-12/60/48), Active
1: <UNUSED>
2: <UNUSED>
3: GPT Protective MBR (sysid 238)
start 1, size 32767 (16 MB, Cyls 0/0/2-2/10/8)
PBR is not bootable: Bad magic number (0x0000)
First active partition: 0
Drive serial number: 0 (0x00000000)
$ sudo gpt show sd0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 4 Pri GPT table
6 32762 Unused
32768 163840 1 GPT part - EFI System
196608 2899968 2 GPT part - NetBSD FFSv1/FFSv2
3096576 2043 Unused
3098619 4 Sec GPT table
3098623 1 Sec GPT header
3098624 12231680 Unused
$ sudo disklabel sd0
# /dev/rsd0:
type: SCSI
disk: Cruzer Blade
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 15208
total sectors: 15330304
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
6 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 15330304 0 unused 0 0 # (Cyl. 0 - 15208*)
e: 163840 32768 MSDOS # (Cyl. 32*- 195*)
f: 32767 1 unknown # (Cyl. 0*- 32*)
disklabel: boot block size 0
disklabel: super block size 0
$ ^D
exit
Script done on Sat Apr 5 20:17:11 2025
BTW, the disk image thus created (latest rock64 NetBSD-10.1_STABLE image + rock64 u-boot image inserted), boot fine in Qemu/aarch64 running on Ubuntu/amd64 24.04.2.