DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st December 2020
niks007 niks007 is offline
Port Guard
 
Join Date: Oct 2020
Location: Germany and India
Posts: 24
Default OpenBSD raw image creation with partitions

Hi,

How can I create image on openbsd 6.7 build host using /dev/vnd1a or /dev/rsd ?

I want to create image with many partition and install few pkgs in image during image creation.

I used vnconfig but it failed with device not configured
Reply With Quote
  #2   (View Single Post)  
Old 1st December 2020
niks007 niks007 is offline
Port Guard
 
Join Date: Oct 2020
Location: Germany and India
Posts: 24
Default

if you have any other suggestion for cloud image creation would be appreciate !!

Thanks
Reply With Quote
  #3   (View Single Post)  
Old 2nd December 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Hello. vnconfig(8) is used with standard files in a filesystem. You can use dd(1) to create a sparse image file, but vmctl(8) is an easier tool to produce the same thing. For example, $ vmctl create -s 10g my.drive. Once created, vnconfig(8) can then be used to provision a vnd(4) device using the image file. For example, # vnconfig vnd0 my.drive. After that, fdisk(8), disklabel(8), newfs(8), and mount(8) can all be used as you would with a "real" disk drive, using /dev/[r]vnd0{a-p}.
Reply With Quote
Reply

Tags
cloud, images

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenBSD] Customize Xenodm (background image , change keyboard , change xterm) jonsec OpenBSD General 23 26th June 2020 12:19 AM
New Firewall Creation Amithapr OpenBSD Security 11 27th October 2016 02:05 PM
Bootable OpenBSD system image tetra_user OpenBSD Installation and Upgrading 3 23rd June 2014 07:08 AM
Thread creation kalimuthu NetBSD General 0 7th December 2010 05:11 PM
Image Titles JMJ_coder Feedback and Suggestions 4 1st July 2008 05:40 AM


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick