Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 27th October 2019
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
Join Date: Sep 2014
Posts: 268
Default Install image to which USB partition?

I apologise for this ridiculously simple question, but I want to ensure I do this correctly. (And further my mediocre knowledge.)

I want to write the install66.fs image to a USB stick that currently has OpenBSD 6.5 using FreeBSD. The stick shows up as:
$ ls /dev/da0*
/dev/da0   /dev/da0s1 /dev/da0s4
fdisk shows:
parameters extracted from in-core disklabel are:
cylinders=972 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=972 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 239 (0xef),(EFI System Partition)
    start 64, size 960 (0 Meg), flag 0
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
The data for partition 3 is:
The data for partition 4 is:
sysid 166 (0xa6),(OpenBSD)
    start 1024, size 920512 (449 Meg), flag 80 (active)
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 255/ sector 63
Should the image be written to da0s4 leaving the boot partition intact or would that confuse the installer?
If written to da0s1 would all four partitions be replaced or would the resulting image be a mess?
Or should the drive be wiped clean before installing the image?

The last option would obviously work, but is it necessary?
Reply With Quote

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
Install OpenBSD in more than one disk partition? betweendayandnight OpenBSD Installation and Upgrading 6 17th July 2015 05:51 PM
Clean install of OpenBSD but keeping existing partition table daemonbak OpenBSD Installation and Upgrading 8 27th May 2015 10:39 PM
Preserving existing OpenBSD partition layout during a re-install J65nko Guides 3 17th February 2010 03:55 AM
Image Titles JMJ_coder Feedback and Suggestions 4 1st July 2008 05:40 AM
How to make an image from a DVD PatrickBaer FreeBSD General 11 25th May 2008 11:48 AM

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

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