Re: adding firmware during installation
On 17/11/2021 08:29, Luca Ferrari wrote: On Tue, Nov 16, 2021 at 3:03 PM Noth wrote: Run the installer as usual, then once that has finished: umount /mnt2 (this is where the install sets are) remove installer usb drive and insert usb drive with the firmware mount /dev/sd1a (or sd1i if using vfat) /mnt2 cp /mnt2/iwn-firmware-version.tgz /mnt/root chroot /mnt pkg_add /root/iwn-firmware-version.tgz exit reboot! Thanks, however, if I have to install the drivers and reboot, it does make more sense to me to reboot and install the driver then. I was searching for a method to add the driver at the beginning of the installation. Nevermind, problem solved. Luca I think you might want to check out the release(8) manpage. Build a release, add the firmware into the $RELEASEDIR before the sh checkflist step or possibly the make release one (I haven't tried this) and complete the creation of the installation images. Worth doing in a VM for ease of use. Good luck! Noth
Re: adding firmware during installation
On Tue, Nov 16, 2021 at 3:03 PM Noth wrote: > > Run the installer as usual, then once that has finished: > > umount /mnt2 (this is where the install sets are) > > remove installer usb drive and insert usb drive with the firmware > > mount /dev/sd1a (or sd1i if using vfat) /mnt2 > > cp /mnt2/iwn-firmware-version.tgz /mnt/root > > chroot /mnt > > pkg_add /root/iwn-firmware-version.tgz > > exit > > reboot! Thanks, however, if I have to install the drivers and reboot, it does make more sense to me to reboot and install the driver then. I was searching for a method to add the driver at the beginning of the installation. Nevermind, problem solved. Luca
Re: adding firmware during installation
You didn't say what you used for boot, but I guess it is minirootXX.img. Use installXX.img or installXX.iso - I don't remember what is the difference between them or what is the purpose for each one, I didn't used them in years. Those images contain the sets and you can proceed with full disk install. Then, you can fix the firmware using the fw_update command, not the pkg_add if I recall correctly. In the meantime, maybe someone more knowledgeable can give you some useful advice with minirootXX.img and firmware, if that is possible to install.
Re: adding firmware during installation
Run the installer as usual, then once that has finished: umount /mnt2 (this is where the install sets are) remove installer usb drive and insert usb drive with the firmware mount /dev/sd1a (or sd1i if using vfat) /mnt2 cp /mnt2/iwn-firmware-version.tgz /mnt/root chroot /mnt pkg_add /root/iwn-firmware-version.tgz exit reboot! On 16/11/2021 12:34, Luca Ferrari wrote: Hi all, I'm installing OpenBSD 7.0 on a Lenovo Thinkpad T410, and I need the firmware iwn-firmware-5.11p1.tgz for the wireless card. Therefore, I opened a shell from the installer, mounted the USB stick I placed the downloaded firmware on, and now I'm stuck: I cannot install it because pkg_add is not available, as well as I cannot extract it to /etc/firmware. How to proceed from here? Note: I can solve installing the system without networking and then add the firmware later on, but I would understand how to do it within the installation process. Thanks, Luca
Re: adding firmware during installation
Hi, if you need a comfortable installation you would need to integrate them into the installation blob. AFAIK this is tricky. -Stefan > -Ursprüngliche Nachricht- > Von: Luca Ferrari > Gesendet: Dienstag, 16. November 2021 14:46 > An: Kapfhammer, Stefan > Cc: misc@openbsd.org > Betreff: Re: adding firmware during installation > > On Tue, Nov 16, 2021 at 2:30 PM Kapfhammer, Stefan > wrote: > > yes, you need to do stuff manually, because you are going an unusual way. > > the fact is, as far as I understand, that before installing etc.tgz the > system will > not have /etc/firmware writable, and at that time I can simply reboot and > install manually. > So apparently there is not a "comfortable" way to do this during the > installation procedure. > > Luca
Re: adding firmware during installation
Hi, yes, you need to do stuff manually, because you are going an unusual way. -Stefan > -Ursprüngliche Nachricht- > Von: Luca Ferrari > Gesendet: Dienstag, 16. November 2021 13:18 > An: Kapfhammer, Stefan > Cc: misc@openbsd.org > Betreff: Re: adding firmware during installation > > On Tue, Nov 16, 2021 at 12:44 PM Kapfhammer, Stefan > wrote: > > extract the files of the firmware package before and place them in > > [mountpoint-during-installation]/etc/firmware. > > Sorry, but this is not clear to me: what do you mean with mountpoint? > Because I'm installing from rd0a, that is not writable (I mean, it has no > space), > while the disk on which the system will be installed (wd0) is formatted later > than the network connection configuration. > Therefore, extracting it to wd0a/etc/firmaware will require me to manually > enter on the shell again and do the ifconfig stuff before packages. Is this > what you mean? > > Luca
Re: adding firmware during installation
On Tue, Nov 16, 2021 at 2:30 PM Kapfhammer, Stefan wrote: > yes, you need to do stuff manually, because you are going an unusual way. the fact is, as far as I understand, that before installing etc.tgz the system will not have /etc/firmware writable, and at that time I can simply reboot and install manually. So apparently there is not a "comfortable" way to do this during the installation procedure. Luca
Re: adding firmware during installation
Hi, extract the files of the firmware package before and place them in [mountpoint-during-installation]/etc/firmware. -Stefan > -Ursprüngliche Nachricht- > Von: owner-m...@openbsd.org Im Auftrag > von Luca Ferrari > Gesendet: Dienstag, 16. November 2021 12:34 > An: misc@openbsd.org > Betreff: adding firmware during installation > > Hi all, > I'm installing OpenBSD 7.0 on a Lenovo Thinkpad T410, and I need the > firmware iwn-firmware-5.11p1.tgz for the wireless card. > Therefore, I opened a shell from the installer, mounted the USB stick I placed > the downloaded firmware on, and now I'm stuck: I cannot install it because > pkg_add is not available, as well as I cannot extract it to /etc/firmware. > How to proceed from here? > > Note: I can solve installing the system without networking and then add the > firmware later on, but I would understand how to do it within the installation > process. > > Thanks, > Luca
Re: adding firmware during installation
On Tue, Nov 16, 2021 at 12:44 PM Kapfhammer, Stefan wrote: > extract the files of the firmware package before and place them > in [mountpoint-during-installation]/etc/firmware. Sorry, but this is not clear to me: what do you mean with mountpoint? Because I'm installing from rd0a, that is not writable (I mean, it has no space), while the disk on which the system will be installed (wd0) is formatted later than the network connection configuration. Therefore, extracting it to wd0a/etc/firmaware will require me to manually enter on the shell again and do the ifconfig stuff before packages. Is this what you mean? Luca
Re: adding firmware during installation
On Tue, Nov 16, 2021 at 12:49 PM Jan Stary wrote: > But you already have the iwn firmware, > so you must have some other connection ... I don't have ethernet connection, or it would be easier! I have downloaded the firmware from another computer, and placed into a second USB stick that I mount during the installation phase. That allows me to have it available even without internet connection. Luca
Re: adding firmware during installation
If iwn is your _only_ connection, you need to have the iwn firmware. Can you install with ethernet plugged it? That will download the firmware for you. But you already have the iwn firmware, so you must have some other connection ... On Nov 16 12:34:16, fluca1...@gmail.com wrote: > Hi all, > I'm installing OpenBSD 7.0 on a Lenovo Thinkpad T410, and I need the > firmware iwn-firmware-5.11p1.tgz for the wireless card. > Therefore, I opened a shell from the installer, mounted the USB stick > I placed the downloaded firmware on, and now I'm stuck: I cannot > install it because pkg_add is not available, as well as I cannot > extract it to /etc/firmware. > How to proceed from here? > > Note: I can solve installing the system without networking and then > add the firmware later on, but I would understand how to do it within > the installation process. > > Thanks, > Luca > >
adding firmware during installation
Hi all, I'm installing OpenBSD 7.0 on a Lenovo Thinkpad T410, and I need the firmware iwn-firmware-5.11p1.tgz for the wireless card. Therefore, I opened a shell from the installer, mounted the USB stick I placed the downloaded firmware on, and now I'm stuck: I cannot install it because pkg_add is not available, as well as I cannot extract it to /etc/firmware. How to proceed from here? Note: I can solve installing the system without networking and then add the firmware later on, but I would understand how to do it within the installation process. Thanks, Luca