Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2022 18:40:00 +0800
From:      Archimedes Gaviola <archimedes.gaviola@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   UFS in a USB flash drive (ufs:/dev/da0s1a)
Message-ID:  <CAJFbk7G%2BULUbhOpjFiZZ_szEFzdTkw=FLdzHrrwFnZ7sz3u1oA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000a41d3e05eaabc84b
Content-Type: text/plain; charset="UTF-8"

 Hi,

I have a scenario (see below) after which the FreeBSD kernel boots-up in my
embedded system, it is looking for the root filesystem. Now, I want to
build one from scratch based on the examples below using a UFS filesystem
in a USB flash drive -> ufs:/dev/da0s1a. Are there any available
step-by-step reference(s) that can help and guide me in the building
process?

...
Trying to mount root from cd9660:/dev/map/rootfs.uzip []...
mountroot: waiting for device /dev/map/rootfs.uzip...
Mounting from cd9660:/dev/map/rootfs.uzip failed with error 19.

Loader variables:

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:tank
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>
...

Thanks and best regards,
Archimedes

--000000000000a41d3e05eaabc84b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">
<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I have a scenario (see=
=20
below) after which the FreeBSD kernel boots-up in my embedded system, it
 is looking for the root filesystem. Now, I want to build one from=20
scratch based on the examples below using a UFS filesystem in a USB flash
 drive -&gt; ufs:/dev/da0s1a. Are there any available step-by-step=20
reference(s) that can help and guide me in the building process?</div><div>=
<br></div><div>...</div><div>

</div><div></div><div>Trying to mount root from cd9660:/dev/map/rootfs.uzip=
 []...<br>mountroot: waiting for device /dev/map/rootfs.uzip...<br>Mounting=
 from cd9660:/dev/map/rootfs.uzip failed with error 19.<br><br>Loader varia=
bles:<br><br>Manual root filesystem specification:<br>=C2=A0 &lt;fstype&gt;=
:&lt;device&gt; [options]<br>=C2=A0 =C2=A0 =C2=A0 Mount &lt;device&gt; usin=
g filesystem &lt;fstype&gt;<br>=C2=A0 =C2=A0 =C2=A0 and with the specified =
(optional) option list.<br><br>=C2=A0 =C2=A0 eg. ufs:/dev/da0s1a<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 zfs:tank<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd9660:/dev/cd=
0 ro<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (which is equivalent to: mount -=
t cd9660 -o ro /dev/cd0 /)<br><br>=C2=A0 ? =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 List valid disk boot devices<br>=C2=A0 . =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Yield 1 second (for background tasks)<br=
>=C2=A0 &lt;empty line&gt; =C2=A0 =C2=A0Abort manual input<br><br>mountroot=
&gt;</div><div></div><div>...<br></div><div><br></div><div>Thanks and best =
regards,</div><div>Archimedes</div></div></div>

--000000000000a41d3e05eaabc84b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7G%2BULUbhOpjFiZZ_szEFzdTkw=FLdzHrrwFnZ7sz3u1oA>