← 목록으로

OpenBSD 7.9 에서 8.0 으로 업그레이드하기 (작성중)

OpenBSD 공식 업그레이드 문서(영문)

8.0 버전으로의 업그레이드는 7.9에서만 가능하며, 더 이전 버전을 사용한다면 버전을 한 단계씩 순차적으로 올려서 7.9 버전까지 만들어야 한다.

공식 업그레이드 방식

  • 무인 업그레이드 (권장) — 설치 세트 전체를 적용하는 일반적인 업그레이드에 사용한다. sysupgrade가 세트 다운로드, 서명 검증, 재부팅, 설치를 자동으로 진행한다.

  • 대화형 업그레이드 — 게임 세트처럼 일부 설치 세트를 빼거나 설치 소스를 직접 고를 때 사용한다.

  • 수동 업그레이드 — 커널과 설치 세트를 직접 교체할 때 사용한다.

무인 업그레이드

  1. 업그레이드 전 OpenBSD 버전과 커널을 확인

1줄일반 텍스트
# uname -a
요약1줄
1줄일반 텍스트
OpenBSD openbsd 7.9 GENERIC.MP#449 amd64
  1. 8.0 설치 세트를 내려받아 검증하고, 재부팅해 업그레이드한다. (자동. `-R 8.0` 부분 생략 가능)

1줄일반 텍스트
# sysupgrade -R 8.0
요약557줄
557줄일반 텍스트
Fetching from http://MIRROR_IP/openbsd/8.0/amd64/

SHA256.sig   100% |*************************************|  2144       00:00    
Signature Verified

BUILDINFO    100% |*************************************|    54       00:00    
Verifying old sets.

INSTALL.amd64 100% |************************************| 44889       00:00    
base80.tgz   100% |*************************************|   530 MB    00:03    
bsd          100% |*************************************| 32494 KB    00:00    
bsd.mp       100% |*************************************| 32653 KB    00:00    
bsd.rd       100% |*************************************|  4782 KB    00:00    
comp80.tgz   100% |*************************************|    99 MB    00:00    
game80.tgz   100% |*************************************|  2743 KB    00:00    
man80.tgz    100% |*************************************|  8417 KB    00:00    
xbase80.tgz  100% |*************************************| 47568 KB    00:00    
xfont80.tgz  100% |*************************************| 23022 KB    00:00    
xserv80.tgz  100% |*************************************| 11739 KB    00:00    
xshare80.tgz 100% |*************************************|  4568 KB    00:00    
Verifying sets.
Fetching updated firmware.
fw_update: add none; update vmm; keep amd
Upgrading.
syncing disks... done

rebooting...

>> OpenBSD/amd64 BOOT 3.68

boot> 

booting hd0a:/bsd.upgrade: 4387730+1852417+3896264+0+716800 [118+503808+355282]=0xb2e010

entry point at 0xffffffff81001000

Copyright (c) 1982, 1986, 1989, 1991, 1993

	The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2026 OpenBSD. All rights reserved.  https://www.OpenBSD.org


OpenBSD 8.0 (RAMDISK_CD) #79: Tue Oct  6 23:24:34 MDT 2026

    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD

real mem = 8573001728 (8175MB)

avail mem = 8312205312 (7927MB)

random: good seed from bootblocks

mainbus0 at root

bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5260 (11 entries)

bios0: vendor SeaBIOS version "rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org" date 04/01/2014

bios0: QEMU Standard PC (i440FX + PIIX, 1996)

acpi0 at bios0: ACPI 1.0

acpi0: tables DSDT FACP APIC SSDT HPET WAET

acpitimer0 at acpi0: 3579545 Hz, 24 bits

acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat

cpu0 at mainbus0: apid 0 (boot processor)

cpu0: Virtual CPU, 3793.87 MHz, 19-50-00

cpu0: cpuid 1 edx=78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> ecx=f7f83203<SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV>

cpu0: cpuid 6 eax=4<ARAT>

cpu0: cpuid 7.0 ebx=219c07ab<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> ecx=40068c<UMIP,PKU> edx=88000010<STIBP,SSBD>

cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>

cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG> ecx=8003f7<LAHF,CMPLEG,SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,CPCTR>

cpu0: cpuid 80000008 ebx=1302d205<IBPB,IBRS,STIBP,STIBP_ALL,SSBD,VIRTSSBD>

cpu0: 64KB 64b/line 2-way D-cache, 64KB 64b/line 2-way I-cache

cpu0: 512KB 64b/line 16-way L2 cache

cpu0: apic clock running at 1000MHz

cpu at mainbus0: not configured

ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins

acpihpet0 at acpi0: 100000000 Hz

acpiprt0 at acpi0: bus 0 (PCI0)

"ACPI0006" at acpi0 not configured

acpipci0 at acpi0 PCI0

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"QEMU0002" at acpi0 not configured

com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo

com0: console

"PNP0303" at acpi0 not configured

"PNP0F13" at acpi0 not configured

acpicmos0 at acpi0

"ACPI0010" at acpi0 not configured

"QEMUVGID" at acpi0 not configured

acpicpu at acpi0 not configured

pvbus0 at mainbus0: KVM

pci0 at mainbus0 bus 0

pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02

"Intel 82371SB ISA" rev 0x00 at pci0 dev 1 function 0 not configured

pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility

pciide0: channel 0 disabled (no drives)

atapiscsi0 at pciide0 channel 1 drive 0

scsibus0 at atapiscsi0: 2 targets

cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2

uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11

"Intel 82371AB Power" rev 0x03 at pci0 dev 1 function 3 not configured

vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02

vga1: aperture needed

wsdisplay at vga1 not configured

virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Memory Balloon" rev 0x00

virtio0: no matching child driver; not configured

ppb0 at pci0 dev 5 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci1 at ppb0 bus 1

virtio1 at pci0 dev 10 function 0 "Qumranet Virtio Storage" rev 0x00

vioblk0 at virtio1

virtio1: msix per-VQ

scsibus1 at vioblk0: 1 targets

sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >

sd0: 65536MB, 512 bytes/sector, 134217728 sectors

virtio2 at pci0 dev 18 function 0 "Qumranet Virtio Network" rev 0x00

vio0 at virtio2: 1 queue, address MASKED_MAC, mtu 1500

virtio2: msix per-VQ

ppb1 at pci0 dev 30 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci2 at ppb1 bus 2

ppb2 at pci0 dev 31 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci3 at ppb2 bus 3

usb0 at uhci0: USB revision 1.0

uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1

isa0 at mainbus0

pckbc0 at isa0 port 0x60/5 irq 1 irq 12

pckbd0 at pckbc0 (kbd slot)

wskbd0 at pckbd0 mux 1

enable mbufs in high memory

uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2

uhidev0: iclass 3/0

uhid at uhidev0 not configured

softraid0 at root

scsibus2 at softraid0: 256 targets

root on rd0a swap on rd0b dump on rd0b

WARNING: CHECK AND RESET THE DATE!

erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 8.0 installation program.
Performing non-interactive upgrade...
Terminal type? [vt220] vt220
Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] sd0
Checking root filesystem (fsck -fp /dev/sd0a)... OK.
Mounting root filesystem (mount -o ro /dev/sd0a /mnt)... OK.
Force checking of clean non-root filesystems? [no] no
/dev/sd0a (MASKED_DUID.a) on /mnt type ffs (rw, local, wxallowed)

Let's upgrade the sets!
Location of sets? (cd0 disk http nfs or 'done') [http] disk
Is the disk partition already mounted? [yes] yes
Pathname to the sets? (or 'done') [8.0/amd64] /home/_sysupgrade/

Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
    [X] bsd           [X] base80.tgz    [X] game80.tgz    [X] xfont80.tgz
    [X] bsd.mp        [X] comp80.tgz    [X] xbase80.tgz   [X] xserv80.tgz
    [X] bsd.rd        [X] man80.tgz     [X] xshare80.tgz
Set name(s)? (or 'abort' or 'done') [done] done
Directory does not contain SHA256.sig. Continue without verification? [no] yes

Installing bsd          100% |**************************| 32494 KB    00:00    
Installing bsd.mp       100% |**************************| 32653 KB    00:00    
Installing bsd.rd       100% |**************************|  4782 KB    00:00    
Installing base80.tgz   100% |**************************|   530 MB    00:18    
Installing comp80.tgz   100% |**************************|    99 MB    00:08    
Installing man80.tgz    100% |**************************|  8417 KB    00:02    
Installing game80.tgz   100% |**************************|  2743 KB    00:00    
Installing xbase80.tgz  100% |**************************| 47568 KB    00:03    
Installing xshare80.tgz 100% |**************************|  4568 KB    00:02    
Installing xfont80.tgz  100% |**************************| 23022 KB    00:01    
Installing xserv80.tgz  100% |**************************| 11739 KB    00:00    
Installing BUILDINFO    100% |**************************|    54       00:00    
Location of sets? (cd0 disk http nfs or 'done') [done] done
Making all device nodes... done.
Multiprocessor machine; using bsd.mp instead of bsd.
fw_update: add none; update none; keep amd,vmm
Relinking to create unique kernel... done.

CONGRATULATIONS! Your OpenBSD upgrade has been successfully completed!

reboot: rebooted by root
syncing disks... done

rebooting...

>> OpenBSD/amd64 BOOT 3.68

boot> 

booting hd0a:/bsd: 23201717+4826128+459968+0+1392640 [2119612+137+1572048+1266956]=0x213be70

entry point at 0xffffffff81001000

[ using 4959856 bytes of bsd ELF symbol table ]

Copyright (c) 1982, 1986, 1989, 1991, 1993

	The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2026 OpenBSD. All rights reserved.  https://www.OpenBSD.org


OpenBSD 8.0 (GENERIC.MP) #84: Tue Oct  6 23:13:49 MDT 2026

    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

real mem = 8573001728 (8175MB)

avail mem = 8290574336 (7906MB)

random: good seed from bootblocks

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root

bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5260 (11 entries)

bios0: vendor SeaBIOS version "rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org" date 04/01/2014

bios0: QEMU Standard PC (i440FX + PIIX, 1996)

acpi0 at bios0: ACPI 1.0

acpi0: sleep states S5

acpi0: tables DSDT FACP APIC SSDT HPET WAET

acpi0: wakeup devices

acpitimer0 at acpi0: 3579545 Hz, 24 bits

acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat

cpu0 at mainbus0: apid 0 (boot processor)

cpu0: Virtual CPU, 3794.95 MHz, 19-50-00

cpu0: cpuid 1 edx=78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> ecx=f7f83203<SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV>

cpu0: cpuid 6 eax=4<ARAT>

cpu0: cpuid 7.0 ebx=219c07ab<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> ecx=40068c<UMIP,PKU> edx=88000010<STIBP,SSBD>

cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>

cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG> ecx=8003f7<LAHF,CMPLEG,SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,CPCTR>

cpu0: cpuid 80000008 ebx=1302d205<IBPB,IBRS,STIBP,STIBP_ALL,SSBD,VIRTSSBD>

cpu0: 64KB 64b/line 2-way D-cache, 64KB 64b/line 2-way I-cache

cpu0: 512KB 64b/line 16-way L2 cache

cpu0: smt 0, core 0, package 0, type P

mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges

cpu0: apic clock running at 1000MHz

cpu1 at mainbus0: apid 1 (application processor)

cpu1: Virtual CPU, 3795.05 MHz, 19-50-00

cpu1: smt 0, core 0, package 1, type P

ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins

acpihpet0 at acpi0: 100000000 Hz

acpiprt0 at acpi0: bus 0 (PCI0)

"ACPI0006" at acpi0 not configured

acpipci0 at acpi0 PCI0

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"QEMU0002" at acpi0 not configured

com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo

com0: console

"PNP0303" at acpi0 not configured

"PNP0F13" at acpi0 not configured

acpicmos0 at acpi0

"ACPI0010" at acpi0 not configured

"QEMUVGID" at acpi0 not configured

acpicpu0 at acpi0: C1(@1 halt!)

acpicpu1 at acpi0: C1(@1 halt!)

pvbus0 at mainbus0: KVM

pvclock0 at pvbus0

pci0 at mainbus0 bus 0

pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02

pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00

pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility

pciide0: channel 0 disabled (no drives)

atapiscsi0 at pciide0 channel 1 drive 0

scsibus1 at atapiscsi0: 2 targets

cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2

uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11

piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9

iic0 at piixpm0

vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02

wsdisplay at vga1 not configured

virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Memory Balloon" rev 0x00

viomb0 at virtio0

virtio0: msix shared

ppb0 at pci0 dev 5 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci1 at ppb0 bus 1

virtio1 at pci0 dev 10 function 0 "Qumranet Virtio Storage" rev 0x00

vioblk0 at virtio1

virtio1: msix per-VQ

scsibus2 at vioblk0: 1 targets

sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >

sd0: 65536MB, 512 bytes/sector, 134217728 sectors

virtio2 at pci0 dev 18 function 0 "Qumranet Virtio Network" rev 0x00

vio0 at virtio2: 1 queue, address MASKED_MAC, mtu 1500

virtio2: msix per-VQ

ppb1 at pci0 dev 30 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci2 at ppb1 bus 2

ppb2 at pci0 dev 31 function 0 "Red Hat Qemu PCI-PCI" rev 0x00

pci3 at ppb2 bus 3

isa0 at pcib0

isadma0 at isa0

fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

pckbc0 at isa0 port 0x60/5 irq 1 irq 12

pckbd0 at pckbc0 (kbd slot)

wskbd0 at pckbd0 mux 1

pms0 at pckbc0 (aux slot)

wsmouse0 at pms0 mux 0

pcppi0 at isa0 port 0x61

spkr0 at pcppi0

usb0 at uhci0: USB revision 1.0

uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1

vmm0 at mainbus0: SVM/RVI

enable mbufs in high memory

uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2

uhidev0: iclass 3/0

ums0 at uhidev0: 5 buttons, Z dir

wsmouse1 at ums0 mux 0

vscsi0 at root

scsibus3 at vscsi0: 256 targets

softraid0 at root

scsibus4 at softraid0: 256 targets

root on sd0a (MASKED_DUID.a) swap on sd0b dump on sd0b

Automatic boot in progress: starting file system checks.
/dev/sd0a (MASKED_DUID.a): file system is clean; not checking
pf enabled
clearing /tmp
starting network
reordering: ld.so libc libcrypto ssh-agentfd0 at fdc0 drive 1: density unknown

 smtpd-ca smtpd-control smtpd-dispatcher smtpd-lka smtpd-queue smtpd-scheduler sshd-auth sshd-session httpd smtpd sshd.
ssh-keygen: generating new host keys: MLDSA44-ED25519 
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: /dev/sd0b: Device not configured
checking quotas: done.
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
running rc.sysmerge
===> Adding the _rtrd group
===> Adding the _rtrd user
===> Updating /etc/changelist
===> Updating /etc/login.conf
===> Updating /etc/ssl/cert.pem
===> Updating /var/nsd/etc/nsd.conf
===> Updating /etc/mail/aliases
---- /etc/ssh/sshd_config unhandled, re-run sysmerge to merge the new version
starting network daemons: sshd smtpd sndiod.
running rc.firsttime
fw_update: add none; update none; keep amd,vmm
Checking for available binary patches...
Run syspatch(8) to install:
001_ppp		002_nsd		003_aesgmac	004_video	005_dbupdate
006_isakmpd	007_xlibs	008_pffq	009_unveil
starting local daemons: cron.
Mon Nov  9 16:45:44 KST 2026

OpenBSD/amd64 (openbsd) (tty00)

login: 

OpenBSD/amd64 (openbsd) (tty00)

login: root
Password:
Last login: MASKED_TIME on tty00
OpenBSD 8.0 (GENERIC.MP) #84: Tue Oct  6 23:13:49 MDT 2026

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

You have new mail.

Signature Verified로 서명 검증을 확인한다.

CONGRATULATIONS! 이후 다시 부팅해 OpenBSD 8.0 (GENERIC.MP)와 login:이 나오면 업그레이드가 끝난 것이다.

  1. OpenBSD 8.0으로 부팅했는지 확인한다.

1줄일반 텍스트
uname -a
요약1줄
1줄일반 텍스트
OpenBSD openbsd 8.0 GENERIC.MP#84 amd64

글을 불러오고 있습니다.