OpenBSD 6.7 microSD card image
#1
Hi,

I have created an image from OpenBSD 6.7 for Rock64 board.

root password: rock64

I have added a user with the name rock64 (password same as username).

Following sets are installed:
  • bsd
  • bsd.mp
  • bsd.rd
  • base67.tgz
  • comp67.tgz
  • man67.tgz
  • game67.tgz
[Image: openbsd67-rock64_build2020-05-21_sets.png]

All current patches are installed.

How to use (You need a microSD card with at least 4GiB):


Code:
$ unxz -k openbsd67-rock64_build2020-05-21.img.xz
$ dd if=openbsd67-rock64_build2020-05-21.img of=/dev/sdx bs=1024


The image is on my private homepage (only 1TiB traffic):
[REMOVED]

SHA256 sum:
Code:
SHA256 (openbsd67-rock64_build2020-05-21.img.xz) = 2924afda7c3047e9e77e4e0410d667c24d4a1596d6a23016f1a2ffabe1b2454b

File size: 216MiB

Please can somebody also test the image and put it on a server with a greater traffic limit?
Tried it only with one  different microSD card.

[Image: openbsd67-rock64_build2020-05-21_hello.png]
  Reply
#2
I'm curious on how did you created the image. Did you created a microsd per https://ftp.openbsd.org/pub/OpenBSD/6.7/...TALL.arm64 instructions, then you installed it in an USB, then created an image from that USB?
I want to give OpenBSD a try on my regular pinebook 1080p so if you have the steps it would be helpful Smile
Thanks!
  Reply
#3
(05-22-2020, 05:29 AM)e-minguez Wrote: I'm curious on how did you created the image. Did you created a microsd per https://ftp.openbsd.org/pub/OpenBSD/6.7/...TALL.arm64 instructions, then you installed it in an USB, then created an image from that USB?
I want to give OpenBSD a try on my regular pinebook 1080p so if you have the steps it would be helpful Smile
Thanks!

Sorry, for my late response. Sure...

I used a very dirty solution to create the image. But should also work with other OS'es.  Big Grin


Step 1:

Zero-out a microSD card. This step isn't necessary, but it results in a smaller compressed image.


Code:
$ dd if=/dev/zero of=/dev/sdx bs=1024

Step 2:

Install OpenBSD with a custom partition layout. For example: Make a partition with 3GiB and remember the size.


Step 3:

Simple copy the image from the microSD card with a greater size, as the created partition.


Code:
$ dd if=/dev/sdx of=/path/to/image.img count=3.5G


Step 4:

Compress the image.

Code:
$ xz -k /path/to/image.img


That's all. Quick and dirty! Okay, could be improved, but works. Big Grin
Code:
/* Beware of bugs in the above code; I have only proved it correct, not tried it */
 Original quote by Donald E. Knuth
  Reply
#4
I think that the only concern is the ssh server keys will be the same on every board Big Grin
  Reply
#5
(05-31-2020, 04:41 AM)e-minguez Wrote: I think that the only concern is the ssh server keys will be the same on every board Big Grin

Oops! I had not thought about that.

Thanks for the feedback!
Code:
/* Beware of bugs in the above code; I have only proved it correct, not tried it */
 Original quote by Donald E. Knuth
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tutorial: Install OpenBSD on ROCK64 media board krjdev 31 42,600 04-29-2023, 04:32 AM
Last Post: newestssd
  Rock64 ethernet not working during install OpenBSD Enig123 4 6,840 05-25-2020, 02:29 PM
Last Post: Enig123
  OpenBSD: GPIO with the I2C device PCF8574(A) krjdev 0 3,833 08-09-2018, 06:41 AM
Last Post: krjdev
  AMENDED: OpenBSD, GigE Adapters/Chipsets, and ROCK64 STEREO AUDIO DAC ADD-ON BOARD jovval 1 4,256 08-07-2018, 02:44 AM
Last Post: krjdev

Forum Jump:


Users browsing this thread: 1 Guest(s)