Re: Unable to boot from internal hard disks on new PC

From: Johannes-Maria Kaltenbach <johannes-maria_at_t-online.de>
Date: Fri, 30 Dec 2022 15:12:39 UTC
Hi,

1) SSD:

On Thu, Dec 29, 2022 at 10:48:38AM +0100, Johannes-Maria Kaltenbach wrote:
> On Thu, Dec 29, 2022 at 06:31:28AM +1100, Ian Smith wrote:
> [..]
> >  > M2 Slot Info
> >  >   M2A: WD_BLACK SN770 500GB NVMe 4.0x4 @ 4.0x4
> >  >   M2P: N/A
> >
> > Main thing I've wondered: maybe it's expecting to boot off that,
> > at least preferably?
>
> Yes; I wanted to do this later, ...

this I tried today -- without success:

First I tried installing 13.1 (several times, >5).
First the screen went black and reboot after 'Fetching Base' and
Checksum. Further trials didn't go so far; they stopped with
error messages like

|error while fetching file:///mnt/usr/freebsd-dist/base.tgz
| : No such file or directory

or

|error while fetching file:///mnt/usr/freebsd-dist/MANIFEST
| : Invalid Argument

The corresponding partition (/) on the SSD was partially filled;
the errors occurred also when / was cleared before I tried again.


Then I tried installing 12.3.
The first two or three trials were as with 13.1 (reboot or error
messages), but once it run until the input of the root password,
optionally creating new users etc., but this screen was interrupted
by hundreds of identical error messages (always the same two lines;
fast; I couldn't write them down completely, missing parts indicated
as ???; rest complete)

| handle_???_???: got error 5 while accessing filesystem
| UFS /dev/gpt/nvd0p5 (/mnt) cylinder checksum failed: \
|       cg 170, cgp: 0x0 != bp: 0xb627aa83


/dev/gpt/nvd0p5 was not clear; after fsck -y it could be mounted,
but copying a file from the SATA disk to the SSD resulted in error.
/ (/dev/gpt/nvd0p5) seemed to be complete (I didn't check every
file; seems to be unreliable anyway.)


I created the partition table on /dev/gpt/nvd0 with gpart as:
| =>       40  976773088    nvd0  GPT  (466G)
|          40       2008          - free -  (1.0M)
|        2048     204800  nvd0p1  efi  (100M)
|      206848   67108864  nvd0p2  freebsd-swap  (32G)
|    67315712   41943040  nvd0p3  freebsd-ufs  (20G)       [-> /var]
|   109258752   41943040  nvd0p4  freebsd-ufs  (20G)       [-> /tmp]
|   151201792  825571328  nvd0p5  freebsd-ufs  (394G)      [-> /]
|   976773120          8          - free -  (4.0K)


2) SATA disks

In the (already very) long list of Bios items an values from 28 Dec
I marked the sub menus with a leading *. I had not yet opened all
these sub menus or the further sub menus therein.

I had already found (and posted)
Bios -> Favorites:
  SATA Controller(s)                            Enabled

which is just one line, not a sub menu.

Yesterday I found that something deeper there is a
SATA Configuration sub sub menu:

Bios -> Settings -> IO Ports -> SATA Configuration

with

  SATA Controller(s)                            Enabled
  Aggressive LPM Support                        Disabled

and then 8 blocks (SATA0, ..., SATA7), all with
the same values (apart from the numbers, 0-7):

  SATA0                                         [Not installed]
  Software Preserve                             Unknown
  Port0                                         Enabled
  SATA Port0 DevSlp                             Disabled
  Hot Plug                                      Disabled
  Configured as eSATA                           Hot Plug supported


Happy New Year!

Best regards,
Johannes-Maria