[EDK DEV] map -r blows up startup.nsh

Subject: [EDK DEV] map -r blows up startup.nsh

From: <Mark_A_Young@Dell.com>

To: <dev@edk.tianocore.org>

Date: 2008-07-03 16:26:25

map -r blows up startup.nsh

Our BIOS boots uEFI via \efi\boot\bootx64.efi ( a file, not in flash ) and only loads drivers to only map fs0: (the ueFI boot device) which is a USB key.

The startup.nsh on this key is:

@echo -off
echo %0 Executing
:: connect -r
map -r
echo Startup done

My goal is to cause all filesystems fs0: thru fs4: to be mounted in startup.nsh, but if map -r is executed from startup.nsh I see:

Shell: Cannot read from file - Media Changed
Shell>

I can do a connect -r and map -r manually, just fine, and then all 5 filesystems will be mapped and startup.nsh moves from fs0: to fs2:

My question is this: Is this a bug? Does this work in anybody elses BIOS (or shell)?  I maintain it is a bug but others are telling me it is not.

Mark A. Young
 Systems Engineer/Senior Consultant
 (512) 725-0111
 Mark_A_Young@Dell.com