Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2022 13:11:10 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Archimedes Gaviola <archimedes.gaviola@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: UFS in a USB flash drive (ufs:/dev/da0s1a)
Message-ID:  <1630032913.129053.1665400270350@localhost>
In-Reply-To: <CAJFbk7G%2BULUbhOpjFiZZ_szEFzdTkw=FLdzHrrwFnZ7sz3u1oA@mail.gmail.com>
References:  <CAJFbk7G%2BULUbhOpjFiZZ_szEFzdTkw=FLdzHrrwFnZ7sz3u1oA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_129052_1213203895.1665400270294
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

 
Van: Archimedes Gaviola <archimedes.gaviola@gmail.com>
Datum: maandag, 10 oktober 2022 12:40
Aan: freebsd-fs@freebsd.org
Onderwerp: UFS in a USB flash drive (ufs:/dev/da0s1a)
> 
> 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


Hi,

>From your mail I don't really understand what your level of skills with FreeBSD is. I assume the scenario with cd9660 and error 19 is not your biggest concern. You just want to install on a USB flash drive.

Does this help: https://docs.freebsd.org/en/books/handbook/bsdinstall/ ?

Regards,
Ronald.
 
------=_Part_129052_1213203895.1665400270294
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>&nbsp;
<p><strong>Van:</strong> Archimedes Gaviola &lt;archimedes.gaviola@gmail.com&gt;<br>
<strong>Datum:</strong> maandag, 10 oktober 2022 12:40<br>
<strong>Aan:</strong> freebsd-fs@freebsd.org<br>
<strong>Onderwerp:</strong> UFS in a USB flash drive (ufs:/dev/da0s1a)</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<div>
<div>
<div>Hi,</div>

<div>&nbsp;</div>

<div>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 -&gt; ufs:/dev/da0s1a. Are there any available step-by-step reference(s) that can help and guide me in the building process?</div>

<div>&nbsp;</div>

<div>...</div>

<div>&nbsp;</div>

<div>&nbsp;</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 variables:<br>
<br>
Manual root filesystem specification:<br>
&nbsp; &lt;fstype&gt;:&lt;device&gt; [options]<br>
&nbsp; &nbsp; &nbsp; Mount &lt;device&gt; using filesystem &lt;fstype&gt;<br>
&nbsp; &nbsp; &nbsp; and with the specified (optional) option list.<br>
<br>
&nbsp; &nbsp; eg. ufs:/dev/da0s1a<br>
&nbsp; &nbsp; &nbsp; &nbsp; zfs:tank<br>
&nbsp; &nbsp; &nbsp; &nbsp; cd9660:/dev/cd0 ro<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)<br>
<br>
&nbsp; ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List valid disk boot devices<br>
&nbsp; . &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Yield 1 second (for background tasks)<br>
&nbsp; &lt;empty line&gt; &nbsp; &nbsp;Abort manual input<br>
<br>
mountroot&gt;</div>

<div>&nbsp;</div>

<div>...</div>

<div>&nbsp;</div>

<div>Thanks and best regards,</div>

<div>Archimedes</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
Hi,<br>
<br>
>From your mail I don't really understand what your level of skills with FreeBSD is. I assume the scenario with cd9660 and error 19 is not your biggest concern. You just want to install on a USB flash drive.<br>
<br>
Does this help: <a href="https://docs.freebsd.org/en/books/handbook/bsdinstall/">https://docs.freebsd.org/en/books/handbook/bsdinstall/</a>; ?<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
------=_Part_129052_1213203895.1665400270294--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1630032913.129053.1665400270350>