Great. Now that works, start by pasting both command and results of:
% gpart show -p
ie, all of your disks in detail.
The command, as root, as given:
gpart show -p
And the result:
=> 63 312579632 ada3 MBR (149G)
63 312560577 ada3s1 ntfs [active] (149G)
312560640 19055 - free - (9.3M)
=> 63 312579632 diskid/DISK-5VM7Q5K9 MBR (149G)
63 312560577 diskid/DISK-5VM7Q5K9s1 ntfs [active] (149G)
312560640 19055 - free - (9.3M)
=> 63 976770992 ada0 MBR (466G)
63 975693957 ada0s1 ntfs [active] (465G)
975694020 1852 - free - (926K)
975695872 1071104 ada0s2 !39 (523M)
976766976 4079 - free - (2.0M)
=> 0 3907029168 ada1 BSD (1.8T)
0 3898605568 ada1a freebsd-ufs (1.8T)
3898605568 8388608 ada1b freebsd-swap (4.0G)
3906994176 34992 - free - (17M)
=> 40 3907029088 ada2 GPT (1.8T)
40 1024 ada2p1 freebsd-boot (512K)
1064 3898604536 ada2p2 freebsd-ufs (1.8T)
3898605600 8388608 ada2p3 freebsd-swap (4.0G)
3906994208 34920 - free - (17M)
=> 63 976770992 diskid/DISK-9VMV4Y01 MBR (466G)
63 975693957 diskid/DISK-9VMV4Y01s1 ntfs [active] (465G)
975694020 1852 - free - (926K)
975695872 1071104 diskid/DISK-9VMV4Y01s2 !39 (523M)
976766976 4079 - free - (2.0M)
=> 40 3907029088 diskid/DISK-ZFL46YCC GPT (1.8T)
40 1024 diskid/DISK-ZFL46YCCp1 freebsd-boot (512K)
1064 3898604536 diskid/DISK-ZFL46YCCp2 freebsd-ufs (1.8T)
3898605600 8388608 diskid/DISK-ZFL46YCCp3 freebsd-swap (4.0G)
3906994208 34920 - free - (17M)
As you can see, I have 4 HDDs in this computer: the 160 GB drive is my old WinXP, the 500 GB drive is my present Win10 installation. DISK-ZFL46YCC contains my present FreeBSD install. DISK-9VMV4Y01 is my second 2TB drive on which I had attempted an earlier install of FreeBSD-13.2-RELEASE .
When I do
cat /etc/fstab
I get this:
# Device Mountpoint FStype Options Dump Pass#
/dev/ada2b / ufs rw 1 1
/dev/ada1b none swap sw 0 0
# Added by auto-admin from /usr/local/sbin/auto-add-fdesc-mount
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
# linprocfs /compat/linux/proc linprocfs rw 0 0
# tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0
# linsysfs /compat/linux/sys linsysfs rw 0 0
# End auto-admin addition
The problem entry, as I see it is:
/dev/ada1b
As you can see from the output of
gpart show -p
, ada1 is the DISK-9VMV4Y01, but if I change that line to dev/ada2c, which should be the swap partition on ada2, the system returns that it can't find it.
So, either the naming of the drives as far as the system is concerned does not mean the same as the naming of the drives under
gpart show
, or the system is actually using ada1 as its swap drive.
Now, if I change these two lines from
/dev/ada2b / ufs rw 1 1
/dev/ada1b none swap sw 0 0
to
/dev/ada2a / ufs rw 1 1
/dev/ada2b none swap sw 0 0
the system crashes and I had to work very hard to recover.
Ken Gordon