Unable to use Opsi boot ISO with UEFI

ttblum
Beiträge: 97
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Unable to use Opsi boot ISO with UEFI

Beitrag von ttblum »

Hello,

I'm trying to use the OPSI boot ISO with UEFI for the first time. I used to use the PXE menu, but that's no longer available with UEFI boot.

I wrote opsi4.1.0-client-boot-cd_20180108.iso to a USB drive with rufus.

It boots OK. I select one time admin password, then select my 'Win10-x64' netboot product.

However, an error comes up saying:

Code: Alles auswählen

we are running in uefi mode
Running hardware audit
Writing log to service

An error occurred
Command '/usr/bin/lshw -xml 2>/dev/null' failed (139):
/bin/sh:  line 1:   1082 Segmentation fault      /usr/bin/lsh -xml 2> /dev/null
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von m.radtke »

Hi

this is not intended.

Can you start the is and then login to the bootimage and run the lshw command ans post the output?
Does it happen on all machines? Or is it simple one specific machine?

I can't reproduce the error here.

Cheers
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
ttblum
Beiträge: 97
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von ttblum »

Ok, what is the password to log in to the boot image/ISO?

It's happening on multiple computers.
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von uncle_scrooge »

Default credentials for the boot image are root/linux123


Edith asks: Can we have the brand/model, please?
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von m.radtke »

Try to Boot the 64 Bit Bootimage.
The windows Netboot products can Install from 64 Bit bootimages too.
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
ttblum
Beiträge: 97
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von ttblum »

This is happening on Dell 6420, Dell 6430, and Dell 7470 laptops so far.

If I get to a command prompt and type 'lshw -xml' it starts to flash 'PCI' but then immediately displays:

Code: Alles auswählen

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted
I downloaded and wrote opsi4.0.7-64bit-client-boot-cd_20170502.iso to a thumb drive with rufus. When I boot it in MBR mode I get:
Bild
No matter what arguments I put after 'install' I get: Could not find kernel image install.

So far I am not able to unattended install any MBR systems after installing the UEFI license. Only UEFI installs are working now.
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von m.radtke »

Is there any reason you arent using pxe boot?
How much RAM do these machines have?

Why haven't you tried the opsi4.1.0-client-boot-cd_20180108.iso with the 64 Bit bootimage ? Please at least with the latest stable release.
If you try to use the current opsi 4.0 Experimental bootimage, please also install the opsi-atftpd from experimental. The bootimage got larger and thus the opsi-atftpd had to get patched to support files >90MB

I personally haven't tried Rufus myself.
To get an EFI compatible USB stick you have to use 'dd' with bs=1M
With unetbootin you will get an MBR compatible USB stick.

The error you eccountered is nothing new it seems, currently can't say why this happens in your machines.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1594344
https://bugs.launchpad.net/ubuntu/+sour ... ug/1593233
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
ttblum
Beiträge: 97
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von ttblum »

We would like to be able to do MBR installs as well as UEFI installs, as some of our computers are older and don't support UEFI boot over network (like the Dell E6420).

When I the opsi4.1.0-client-boot-cd_20180108.iso 64 Bit Bootimage on an E7470, I get 'Segmentation fault' when running lshw.
The 'Segmentation Fault' or 'std::bad_alloc' errors occur whether I create the bootable drive with rufus, with dd, or with unetbootin.

The E6420 and E6430 have 4GB of RAM, the E7470 has 8GB of RAM.

I'm able to PXE UEFI boot on the E6430, but the following error appears during Windows 7 setup:

Bild
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von m.radtke »

Hi

Did you try different stcks? Verified the md5 sum of the ISO? Die you try to Strategie the stick in a different machine?

Does the dell machine Support Win7? Is your winpe uefi correct?

Cheers
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
ttblum
Beiträge: 97
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Unable to use Opsi boot ISO with UEFI

Beitrag von ttblum »

I tried, and I am able to UEFI PXE boot, and unattend install WIndows 7 OK on a Dell E7470.

This is a newer laptop, so maybe some special PXE booting/Windows 7 configuration is needed to make UEFI PXE booting/Windows 7 installation work on older laptops.

The version of lshw on opsi4.1.0-client-boot-cd_20180108.iso is B.02.16.

It looks like the lshw 'Segmentation fault' problem was fixed in later versions, is there any way to include a later version in the client-boot-cd?

https://bugzilla.redhat.com/show_bug.cgi?id=1087086

I think the latest is B.02.18:

https://ezix.org/project/wiki/HardwareLiSter
Antworten