From nobody Mon Oct 10 11:11:10 2022 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmGSR12Pqz4f9yS for ; Mon, 10 Oct 2022 11:11:19 +0000 (UTC) (envelope-from SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmGSQ172bz3n6j for ; Mon, 10 Oct 2022 11:11:18 +0000 (UTC) (envelope-from SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl) Date: Mon, 10 Oct 2022 13:11:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1665400270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uGZprFz/Shf5XwltsTYDyWH1DaVd9iqq36ddktXIJJw=; b=IA2LiVuEMFnf/Mzq4cbLSFsRZrnq3UX/ils9QWj+dWMN8qlclB2LwvJ6QjExWY3piXvhTh OnajceXUWdKtQiAeclZPAmy1jUj7VVVToiV7zOLX5mbQAeLHnITNArPtyx53RN24cEYmqf slfjySHsX+5kslhrt8KG6sC5CYSE6v3EBQKR6mzXHhM+Zjo655QDqYA1MvR2Uxwtes0Yk/ +1zLjjc3sfPcMSNQZ0WM+NTmTbaqFTNQJSHqTmQwtXKiYlELXWVCogdn8VBTuLpAktuLrT v5Q0+6WSpdnshX9GyNiciTAWW9JPuPSQ07DpnJWBm3kz63smAnV8RRFNhHdQMQ== From: Ronald Klop To: Archimedes Gaviola Cc: freebsd-fs@freebsd.org Message-ID: <1630032913.129053.1665400270350@localhost> In-Reply-To: References: Subject: Re: UFS in a USB flash drive (ufs:/dev/da0s1a) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_129052_1213203895.1665400270294" X-Mailer: Realworks (627.29) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4MmGSQ172bz3n6j X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=IA2LiVuE; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-3.16 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; NEURAL_HAM_SHORT(-0.97)[-0.971]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=7aXz=2L=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_129052_1213203895.1665400270294 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Archimedes Gaviola 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: > : [options] > Mount using filesystem > 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) > 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  

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--