Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lenovo Drive Erase Utility + UEFI + IPXE
2019-08-01, 14:40 (This post was last modified: 2019-08-01 15:20 by thehumm.)
Post: #5
RE: Lenovo Drive Erase Utility + UEFI + IPXE
(2019-08-01 00:59)NiKiZe Wrote:  you are setting root-path, but that is never used - you should start with the absolute minimal case, meaning rip everything else out.
The imgfetch and boot could be replaced with just
chain ${base-url}/BootX64.efi || goto failed

However I don't think that this is the actual issue, so lets go for the hack
grab wimboot, you can find it at git.ipxe.org

and then do:
imgfree
initrd -n bootx64.efi ${base-url}/BootX64.efi bootx64.efi
chain wimboot || goto failed

what will happen now is that a virtual fat32 fs will be created by wimboot, and bootx64.efi will be started from that drive.
If the exe is needed as well then it can be loaded with an initial initrd

Hi,

Thanks so much for your reply.

I managed to get it to work on some older model machines but not the new machines we are deploying this year (Lenovo T480 and X380 Yoga). That's weird, maybe something with their UEFI firmware implementation? They are currently running on the latest BIOS revision available from Lenovo.

For these troublesome models:
I updated my copy of wimboot just to be sure, but it seems this does the same issue of black screen, sitting there forever and can control alt delete to reboot.

Checking the start up messages, it seems to get the BootX64.efi and wimboot files and then wimboot says it finds bootmgfw.efi file bootx64.efi, reads and loads it then the black screen shows up. Here is the current config:

:LENOVO
echo Booting ThinkPad Drive Erase for ${initiator-iqn}
set base-url http://myserver/techtools/Both/ThinkPadDriveErase
imgfree
initrd -n bootx64.efi ${base-url}/BootX64.efi bootx64.efi
chain wimboot || goto failed
goto start

This also seems to work on the older models but not the newer ones:

:LENOVO
echo Booting ThinkPad Drive Erase for ${initiator-iqn}
set base-url http://myserver/techtools/Both/ThinkPadDriveErase
chain ${base-url}/BootX64.efi || goto failed
goto start


Any other suggestions for these new devices that you may be aware of? Thanks in advance.

Hardware Tests:

Doesn't Work:
L380 Yoga
T480
X380 Yoga

Works:
X1 Carbon
T530 / T430s (Presumably works since 530 works and this is the 14 inch version of the same unit) / X230 (But unsupported since not SSD / Encrypted Drive)
T540 / T440
Yoga 12
Yoga 260
Yoga 370 (Presumably works but not yet tested)
Yoga P40
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Lenovo Drive Erase Utility + UEFI + IPXE - thehumm - 2019-08-01 14:40



User(s) browsing this thread: 1 Guest(s)