> I try to keep the actual partition of the disk as it was before and do a fresh > install, but the snapshots looks like simply do not allow this now. > > You can select Custom label and it will show the previous label, but then when > you write it, obviously no changes are present, but when you Quit it, it comes > back to the same question and looks like you can't move on from there. > > Good if you want to use the auto label, but if you want to keep the old one, > then what really should be the step then? > > Here is an example: > > No label changes. > '/' must be configured! > The auto-allocated layout for wd0 is: > # size offset fstype [fsize bsize cpg] > a: 1.0G 0 4.2BSD 2048 16384 1 # / > b: 1.3G 2097648 swap > c: 74.5G 0 unused > d: 4.0G 4719456 4.2BSD 2048 16384 1 # /tmp > e: 6.0G 13109040 4.2BSD 2048 16384 1 # /var > f: 1.9G 25692912 4.2BSD 2048 16384 1 # /usr > g: 1.0G 29778336 4.2BSD 2048 16384 1 # /usr/X11R6 > h: 5.4G 31875984 4.2BSD 2048 16384 1 # /usr/local > i: 2.0G 43210944 4.2BSD 2048 16384 1 # /usr/src > j: 2.0G 47406240 4.2BSD 2048 16384 1 # /usr/obj > k: 49.9G 51601536 4.2BSD 2048 16384 1 # /home > Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] C > > You will now create a Sun-style disklabel on the disk. The disklabel defines > how OpenBSD splits up the disk into OpenBSD partitions in which filesystems > and swap space are created. You must provide each filesystem's mountpoint > in this program. > > This platform requires that partition offsets/sizes be on cylinder boundaries. > Partition offsets/sizes will be rounded to the nearest cylinder automatically. > Label editor (enter '?' for help at any prompt) > > p > OpenBSD area: 0-156301488; size: 156301488; free: 0 > # size offset fstype [fsize bsize cpg] > a: 1049328 0 4.2BSD 2048 16384 1 > b: 8389584 1049328 swap > c: 156301488 0 unused > d: 2097648 9438912 4.2BSD 2048 16384 1 > e: 20972448 11536560 4.2BSD 2048 16384 1 > f: 2097648 32509008 4.2BSD 2048 16384 1 > g: 10486224 34606656 4.2BSD 2048 16384 1 > h: 2097648 45092880 4.2BSD 2048 16384 1 > i: 109110960 47190528 4.2BSD 2048 16384 1 > > w > > q > No label changes.
Wait. Don't you see what is wrong above? Let me guess. The last time you used this disk, partition d was your /home partition, right, and i is /var? We don't know what partition to mount where. You failed to fill in the information, using at least the 'm' command, and then when you quit disklabel it correctly says: > '/' must be configured! Read what it says. The nice install script then nicely goes back to trying to see if you will learn to read next time. > The auto-allocated layout for wd0 is: > # size offset fstype [fsize bsize cpg] > a: 1.0G 0 4.2BSD 2048 16384 1 # / > b: 1.3G 2097648 swap > c: 74.5G 0 unused > d: 4.0G 4719456 4.2BSD 2048 16384 1 # /tmp > e: 6.0G 13109040 4.2BSD 2048 16384 1 # /var > f: 1.9G 25692912 4.2BSD 2048 16384 1 # /usr > g: 1.0G 29778336 4.2BSD 2048 16384 1 # /usr/X11R6 > h: 5.4G 31875984 4.2BSD 2048 16384 1 # /usr/local > i: 2.0G 43210944 4.2BSD 2048 16384 1 # /usr/src > j: 2.0G 47406240 4.2BSD 2048 16384 1 # /usr/obj > k: 49.9G 51601536 4.2BSD 2048 16384 1 # /home > Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] E > This platform requires that partition offsets/sizes be on cylinder boundaries. > Partition offsets/sizes will be rounded to the nearest cylinder automatically. > Label editor (enter '?' for help at any prompt)