On Sat, Mar 17, 2018 at 03:59:01AM +0000, Rodney Polkinghorne wrote:
> Hi
> 
> This is my first post here, I appreciate how much work you all do, please
> be gentle. :-)
> 
> Could someone please tell me how to install the latest snapshot, or point
> me at some instructions that work?  I tried the following:
> 
> 1. Download bsd.rd and SHA256.sig from
> http://mirror.aarnet.edu.au/pub/OpenBSD/snapshots/
> 
> 2. Fail to verify the 6.3 signatures, because I'm running 6.1.  (It would
> be nice if the signify man page had instructions to download and verify
> openbsd-<future version>-base.pub.)
> 
> 3. Reboot, with boot> boot sd0a:/root/bsd.rd
> 
> 4. Choose to install to sd1 (a USB key), default options, location of sets
> is http, HTTP server is mirror.aarnet.edu.au.
> 
> 5. The default server directory is pub/OpenBSD/6.3/i386, override that with
> snapshots instead of 6.3
> 
> 6. Leave all sets selected, and say done
> 
> At this point, the installer reported that SHA256.sig had downloaded and
> verified, and that bsd downloaded but failed its checksum test.
> 
> Possibly the answer is to ignore the checksums, but I want to ask first.
> 
> Rodney Polkinghorne

You need to be sure to use the bsd.rd from the snapshot!
You say install, which is very different from upgrade.
Even with a fresh install, if you want to keep something like the
existing /home directory, just don't include it in the new disklabel.
But be sure to be able to correctly include the correct mount
directories for the existing partitions which will come up if you pick a
custom disklabel. For example typing 'n a' will let you enter / as the
partition mount point. I wouldn't try upgrading if you want a snapshot
since so much changes. Note that you can put the files on the directory
that you don't want to get newfs to run on, but be sure NOT to add it in
the disklabel until you are done with the install.
Also, using ! will get you into the shell if you get confused.

I recommend backing up the partition you want to keep, /etc and the
list of packages you will need to re-install. Sometimes packages you
were using have been dropped, so be prepared to deal with that.

If you have another USB, install the OS and play around with it until
you get a good idea of what's going on. It's kind of cool once you see
all the tricks you can do. Just be sure to play around after you have
OpenBSD installed so that you will find that the original disklabel
shows up during an install under the custom option, just without the
mount points showing up.

Also, watch where the mount points start and end. You can growfs a
partition if and only if you are using the partition that follows it.
Which means that you should add partitions in the order that let's you
sacrifice the next one if you find something like /usr/local too small.
/usr/local followed by /var would be a bad idea since messing with /var
is possible but a real pain to do.

Have some fun. umount a partition that isn't essential and run fsck, not
fsck -fp on it and see what gets done.

Enjoy!
Chris Bennett


Reply via email to