|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Upgrading encrypted 5.7 stable to -current
Hello
I have installed OpenBSD 5.7 release with full disk encryption. Since then I updated to stable using M:Tier. Now I want to upgrade to current (using snapshots). I downloaded miniroot58.fs, checked sha256sum, dd it to pendrive and boot-ed from it. I chose Upgrade. Unfortunetely upgrade script tells me that have only sd0 and sd1 drives. sd0 is physical HDD and sd1 is pendrive. Dmesg tells me that physical HDD is on sd0. Pendrive is attached at sd1. I tried point upgrade script at sd0. Code:
Root disk: sd0 root filesystem: rd0a checking filesystem ... OK mounting root filesystem ( mount_ffs /dev/sd0a on /mnt) : device busy. Failed. My /etc/fstab: Code:
5e133a9f96314b03.b none swap sw 5e133a9f96314b03.a / ffs rw 1 1 5e133a9f96314b03.h /home ffs rw,softdep,nodev,nosuid 1 2 5e133a9f96314b03.e /usr ffs rw,nodev 1 2 5e133a9f96314b03.d /var ffs rw,softdep,nodev,nosuid 1 2 |
|
|||
Is there a reason you're not using the bsd.rd from the snapshot and booting off the hard drive?
I upgrade using the bsd.rd so the normal boot process prompts for my passphrase and mounts my encrypted disk. Then at the boot> prompt, I specify the bsd.rd and go. Tim. |
|
|||
I would probably go with what jggimi suggested, but possibly with the latest snapshot bsd.rd instead, and reinstall whatever packages are needed. The process is so simple I find it prefferable to "upgrades".
|
|
|||
Thank you. I have done what jggimi suggested and it worked
(changed only d for a). Then upgrade. After that reboot and sysmerge. Exported PKG_PATH to snapshot directory on mirror, pkg_add -u. Touchpad doesn't worked and I think that Code:
fw_update -a -v Thank you for help. |
Tags |
from release to current, from stable to current, upgrade encrypted |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrading question [CURRENT] failing buildworld | jb_daefo | FreeBSD Installation and Upgrading | 0 | 11th July 2015 12:38 AM |
xkcd-viewer being stubborn both on -current and stable | daemonfowl | OpenBSD Packages and Ports | 7 | 19th July 2013 03:23 AM |
upgrading current to 5.4 beta results in libc.so.68.4 loading problem | daemonfowl | OpenBSD Installation and Upgrading | 5 | 14th July 2013 01:58 AM |
Questions, Ports / current|stable | ax0 | OpenBSD Installation and Upgrading | 42 | 16th April 2009 08:23 PM |
ports: stable or current? | schrodinger | OpenBSD Packages and Ports | 4 | 11th August 2008 01:18 PM |