Thanks Theo.
Here is what happened beforehand:
Welcome to the OpenBSD/amd64 6.8 installation program.
WARNING: / was not properly unmounted
Starting non-interactive mode in 5 seconds...
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
Terminal type? [vt220]
System hostname? (short form, e.g. 'foo') PcEngines2
Available network interfaces are: re0 re1 re2 athn0 vlan0.
Which network interface do you wish to configure? (or 'done') [re0]
IPv4 address for re0? (or 'dhcp' or 'none') [dhcp] 172.24.10.25
Netmask for re0? [255.255.255.0]
IPv6 address for re0? (or 'autoconf' or 'none') [none]
Available network interfaces are: re0 re1 re2 athn0 vlan0.
Which network interface do you wish to configure? (or 'done') [done] re1
Symbolic (host) name for re1? [PcEngines2]
IPv4 address for re1? (or 'dhcp' or 'none') [dhcp] 172.24.20.1
Netmask for re1? [255.255.255.0]
IPv6 address for re1? (or 'autoconf' or 'none') [none]
Available network interfaces are: re0 re1 re2 athn0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) 172.24.10.24
add net default: gateway 172.24.10.24
DNS domain name? (e.g. 'example.com') [my.domain] Hendrickson.Melbourne.FL.US
DNS nameservers? (IP address list or 'none') [none] 172.24.10.24, 172.24.10.25
Password for root account? (will not echo)
Password for root account? (again)
Passwords do not match, try again.
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Change the default console to com0? [yes]
Available speeds are: 9600 19200 38400 57600 115200.
Which speed should com0 use? (or 'done') [115200]
Setup a user? (enter a lower-case loginname, or 'no') [no] kjh
Full name for user kjh? [kjh] Kenneth J. Hendrickson
Password for user kjh? (will not echo)
Password for user kjh? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no]
What timezone are you in? ('?' for list) [US/Eastern]
Available disks are: sd0 sd1.
Which disk is the root disk? ('?' for details) [sd0]
Disk: sd0 geometry: 15566/255/63 [250069680 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: DA 0 1 1 - 7782 254 63 [ 63: 125033832 ] <Unknown ID>
*3: A6 7783 1 1 - 15565 254 63 [ 125033958: 125033832 ] OpenBSD
Use (W)hole disk MBR, whole disk (G)PT, (O)penBSD area or (E)dit? [OpenBSD] e
You will now create a single MBR partition to contain your OpenBSD data. This
partition must have an id of 'A6'; must *NOT* overlap other partitions; and
must be marked as the only active partition. Inside the fdisk command, the
'manual' command describes all the fdisk commands in detail.
Disk: sd0 geometry: 15566/255/63 [250069680 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: DA 0 1 1 - 7782 254 63 [ 63: 125033832 ] <Unknown ID>
*3: A6 7783 1 1 - 15565 254 63 [ 125033958: 125033832 ] OpenBSD
Enter 'help' for information
sd0: 1> ?
help Command help list
manual Show entire OpenBSD man page for fdisk
reinit Re-initialize loaded MBR (to defaults)
setpid Set the identifier of a given table entry
disk Edit current drive stats
edit Edit given table entry
flag Flag given table entry as bootable
update Update machine code in loaded MBR
select Select extended partition table entry MBR
swap Swap two partition entries
print Print loaded MBR partition table
write Write loaded MBR to disk
exit Exit edit of current MBR, without saving changes
quit Quit edit of current MBR, saving current changes
abort Abort program without saving current changes
sd0: 1> exit
The auto-allocated layout for sd0 is:
# size offset fstype [fsize bsize cpg]
a: 1024.0M 125033958 4.2BSD 2048 16384 1 # /
b: 4304.1M 127131104 swap
c: 122104.3M 0 unused
d: 4096.0M 135945952 4.2BSD 2048 16384 1 # /tmp
e: 6615.0M 144334528 4.2BSD 2048 16384 1 # /var
f: 6144.0M 157882144 4.2BSD 2048 16384 1 # /usr
g: 1024.0M 170465056 4.2BSD 2048 16384 1 # /usr/X11R6
h: 8564.4M 172562208 4.2BSD 2048 16384 1 # /usr/local
i: 61051.7M 63 unknown
j: 2048.0M 190102176 4.2BSD 2048 16384 1 # /usr/src
k: 6144.0M 194296480 4.2BSD 2048 16384 1 # /usr/obj
l: 21088.1M 206879392 4.2BSD 2048 16384 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] c
Label editor (enter '?' for help at any prompt)
sd0> p
OpenBSD area: 125033958-250067790; size: 125033832; free: 28
# size offset fstype [fsize bsize cpg]
a: 2104480 133435904 4.2BSD 2048 16384 1
b: 8401932 125033958 swap
c: 250069680 0 unused
d: 2104512 135540384 4.2BSD 2048 16384 1
e: 4209024 137644896 4.2BSD 2048 16384 12960
f: 4209056 141853920 4.2BSD 2048 16384 12960
g: 4209024 146062976 4.2BSD 2048 16384 1
h: 5365696 244702080 4.2BSD 2048 16384 12960
i: 125033832 63 unknown
j: 2104512 150272000 4.2BSD 2048 16384 12960
k: 10490432 152376512 4.2BSD 2048 16384 12960
l: 2104512 162866944 4.2BSD 2048 16384 12960
m: 2104544 164971456 4.2BSD 2048 16384 12960
n: 58733632 167076000 4.2BSD 2048 16384 12960
o: 16787904 225809632 4.2BSD 2048 16384 12960
p: 2104544 242597536 4.2BSD 2048 16384 12960
sd0> n a
mount point: [none] /
sd0> n e
mount point: [none] /tmp
sd0> n f
mount point: [none] /var
sd0> n h
mount point: [none] /home
sd0> n j
mount point: [none] /root
sd0> n k
mount point: [none] /var/crash
sd0> n l
mount point: [none] /var/log
sd0> n m
mount point: [none] /var/mail
sd0> n n
mount point: [none] /usr
sd0> n o
mount point: [none] /usr/obj
sd0> n p
mount point: [none] /usr/local/src
sd0> p
OpenBSD area: 125033958-250067790; size: 125033832; free: 28
# size offset fstype [fsize bsize cpg]
a: 2104480 133435904 4.2BSD 2048 16384 1 # /
b: 8401932 125033958 swap
c: 250069680 0 unused
d: 2104512 135540384 4.2BSD 2048 16384 1
e: 4209024 137644896 4.2BSD 2048 16384 12960 # /tmp
f: 4209056 141853920 4.2BSD 2048 16384 12960 # /var
g: 4209024 146062976 4.2BSD 2048 16384 1
h: 5365696 244702080 4.2BSD 2048 16384 12960 # /home
i: 125033832 63 unknown
j: 2104512 150272000 4.2BSD 2048 16384 12960 # /root
k: 10490432 152376512 4.2BSD 2048 16384 12960 # /var/crash
l: 2104512 162866944 4.2BSD 2048 16384 12960 # /var/log
m: 2104544 164971456 4.2BSD 2048 16384 12960 # /var/mail
n: 58733632 167076000 4.2BSD 2048 16384 12960 # /usr
o: 16787904 225809632 4.2BSD 2048 16384 12960 # /usr/obj
p: 2104544 242597536 4.2BSD 2048 16384 12960 # /usr/local/c
sd0> ?
Available commands:
? | h - show help n [part] - set mount point
A - auto partition all space p [unit] - print partitions
a [part] - add partition q - quit & save changes
b - set OpenBSD boundaries R [part] - resize auto allocated partition
c [part] - change partition size r - display free space
D - reset label to default s [path] - save label to file
d [part] - delete partition U - undo all changes
e - edit drive parameters u - undo last change
g [d|u] - [d]isk or [u]ser geometry w - write label to disk
i - modify disklabel UID X - toggle expert mode
l [unit] - print disk label header x - exit & lose changes
M - disklabel(8) man page z - delete all partitions
m [part] - modify partition
Suffixes can be used to indicate units other than sectors:
'b' (bytes), 'k' (kilobytes), 'm' (megabytes), 'g' (gigabytes) 't' (terabytes)
'c' (cylinders), '%' (% of total disk), '&' (% of free space).
Values in non-sector units are truncated to the nearest cylinder boundary.
sd0> w
sd0> q
No label changes.
newfs: /dev/rsd0a is mounted on /mnt
/dev/rsd0h: 2620.0MB in 5365696 sectors of 512 bytes
13 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0j: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0e: 2055.2MB in 4209024 sectors of 512 bytes
11 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0n: 28678.5MB in 58733632 sectors of 512 bytes
142 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0p: 1027.6MB in 2104544 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0o: 8197.2MB in 16787904 sectors of 512 bytes
41 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0f: 2055.2MB in 4209056 sectors of 512 bytes
11 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0k: 5122.3MB in 10490432 sectors of 512 bytes
26 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0l: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0m: 1027.6MB in 2104544 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
Available disks are: sd1.
Which disk do you wish to initialize? (or 'done') [done]
On Friday, February 26, 2021, 09:05:52 PM EST, Theo de Raadt <deraadt@openbsd.org> wrote:
Kenneth Hendrickson <dsp_stap@yahoo.com> wrote:
...
> No label changes.
> newfs: /dev/rsd0a is mounted on /mnt
^^^
Well you had that partition mounted, probably with a different disklabel
and sizes, so it was not newfs'd.
You did something manual earlier. You didn't show that which created
the problem.
No comments:
Post a Comment