Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2025 21:36:43 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Chris <bsd-lists@bsdforge.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   =?UTF-8?Q?Re=3A_New_kernel_doesn=E2=80=99t_recognize_ufs_gpt_root_file?= =?UTF-8?Q?system?=
Message-ID:  <CANCZdfr8P=qB-1OnKTjX7nedGQcbinFXgoyUUd_SP0-=ndGJiA@mail.gmail.com>
In-Reply-To: <811fddf82af288d409fc5df1c5b5d958@bsdforge.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, Apr 19, 2025, 8:51 PM Chris <bsd-lists@bsdforge.com> wrote:

> Finally got a build world/kernel to complete. Following a
> installkernel with a boot -s resulted in the inability
> to mount root (/dev/gpt/FBSD15)
> It’s a ufs2 filesystem. I booted the 15-CURRENT
> usb stick. It recognized it. I performed fsck on
> it. No errors.
> An attempt to mount it from the new kernel at boot is:
> Mounting from ufs:/dev/gpt/FBSD15 failed with error 19.
>
> Can anyone suggest the best way forward please?
>

Maybe this is a custom kernel without the label code. What does '?' at
mountroot> prompt say? Does one of those work if you add 'ufs:/dev/' to the
front of each of the geoms listed? Most likely ada0p2 or nda0p2.

Warner

Thanks.
>
> —-Chris
>
> --
> sent from hardware written from and running on FreeBSD

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Apr 19, 2025, 8:51 PM Chris &lt;<a href="mailto:bsd-lists@bsdforge.com">bsd-lists@bsdforge.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Finally got a build world/kernel to complete. Following a<br>
installkernel with a boot -s resulted in the inability<br>
to mount root (/dev/gpt/FBSD15)<br>
It’s a ufs2 filesystem. I booted the 15-CURRENT<br>
usb stick. It recognized it. I performed fsck on<br>
it. No errors.<br>
An attempt to mount it from the new kernel at boot is:<br>
Mounting from ufs:/dev/gpt/FBSD15 failed with error 19.<br>
<br>
Can anyone suggest the best way forward please?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Maybe this is a custom kernel without the label code. What does &#39;?&#39; at mountroot&gt; prompt say? Does one of those work if you add &#39;ufs:/dev/&#39; to the front of each of the geoms listed? Most likely ada0p2 or nda0p2.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks.<br>
<br>
—-Chris<br>
<br>
-- <br>
sent from hardware written from and running on FreeBSD</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr8P=qB-1OnKTjX7nedGQcbinFXgoyUUd_SP0-=ndGJiA>