DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th October 2017
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 18
Default fw_update not found in OpenBSD 6.2 miniroot.fs usb

Hello everyone, i'm installing OpenBSD 6.2 with the "miniroot.fs" install with a usb pendrive, if i run

ifconfig -a

I get only "lo0" (loopback) and "re0" (ethernet interface) but when i run "fw_update -i" to get the device firmware i need to manually download, i get a "fw_update: not found"

Is the command "fw_update" not included in the miniroot.fs install image?
Reply With Quote
  #2   (View Single Post)  
Old 29th October 2017
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 264
Default

Try to find it, to check :

Code:
$ whereis fw_update
/usr/sbin/fw_update
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.

Last edited by LeFrettchen; 29th October 2017 at 10:22 PM.
Reply With Quote
  #3   (View Single Post)  
Old 29th October 2017
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 18
Default

Quote:
Originally Posted by LeFrettchen View Post
Try to find it, to check :

Code:
$ whereis fw_update
/usr/sbin/fw_update
I also don't have whereis

Code:
sh: whereis: not found
Reply With Quote
  #4   (View Single Post)  
Old 29th October 2017
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 264
Default

So try to list it (find it manually)

You'll get
Code:
$ ls /usr/sbin/fw*
/usr/sbin/fw_update
or
Code:
$ ls /usr/sbin/fw*
ls: /usr/sbin/fw*: No such file or directory
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #5   (View Single Post)  
Old 29th October 2017
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 18
Default

I only have this

Code:
# ls /usr/sbin/
chroot installboot pwd_mkdb
Reply With Quote
  #6   (View Single Post)  
Old 29th October 2017
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 264
Default

Well, neither fw_update(1) nor pkg_add(1) are part of your install

Miniroot seems to be a real MINI-boot.

Quote:
minirootXX.fs
A disk image that can be written to a USB flash drive or similar device. The file sets are not included, but they can be pulled down from the internet or another local disk.
You'll have to include the file sets.
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #7   (View Single Post)  
Old 29th October 2017
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 18
Default

So my best bet is to install using the install62.fs in my usb, and install from there without internet connection, and later add the firmware from within my current install, i will try that now
Reply With Quote
  #8   (View Single Post)  
Old 29th October 2017
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 18
Default

From the install62.fs in my usb pendrive, i could install the base system okay, so now i can issue the fw_update command, so I've downloaded the missing firmwares it said but when i perform the command to install them, it gives me an error

First i installed with the "install62.fs" from usb.

Then, after first boot i logged in as root and perform fw_update:

Code:
# fw_update -i
Missing: athn-firmware vmm-firmware uvideo-firmware

so i mounted the usb with the downloaded firmwares from other computer to this one and performed the fw_update command with the "-p path" parameter to install the missing firmwares and get the following error for each firmware

Code:
# fw_update -p /mnt/usb/
file: /mnt/usb/vmm-firmware-1.10.2p4.tgz: unsigned package (signify(1) doesn't see old-style signatures)
file: /mnt/usb/uvideo-firmware-1.2p2.tgz: unsigned package (signify(1) doesn't see old-style signatures)
file: /mnt/usb/athn-firmware-1.1p2.tgz: unsigned package (signify(1) doesn't see old-style signatures)
I have this files in my /mnt/usb path

Code:
# ls /mnt/usb
.Trash-1000
SHA256.sig
athn-firmware-1.1p2.tgz
uvideo-firmware-1.2p2.tgz
athn-firmware-1.1p2.tgz
Reply With Quote
  #9   (View Single Post)  
Old 29th October 2017
ibara's Avatar
ibara ibara is offline
WR Slowest SNOBOL4 laptop
 
Join Date: Jan 2014
Posts: 523
Default

As fw_update(1) is a wrapper for the package tools, they are not in the miniroot (as that would entail also having to include perl and a bunch of other things).
Reply With Quote
Reply

Tags
fw_update

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
./configure not found on OpenBSD 6.2 notooth OpenBSD General 2 21st October 2017 11:55 PM
Why cannot the alias be found ? sw2wolf OpenBSD General 5 1st April 2012 11:46 PM
wd0 not found at install shep OpenBSD Installation and Upgrading 8 15th June 2010 02:41 AM
mk.conf not found mtm0 NetBSD Package System (pkgsrc) 2 4th September 2009 04:42 PM
kernel not found isamu FreeBSD Installation and Upgrading 13 24th October 2008 12:24 AM


All times are GMT. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick