Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I must update an Intel S3420GPLC board. BIOS, BMC, FRU / SDR, the whole thing.

Everything is pretty much automated in the Intel download. You're supposed to boot to the integrated EFI shell, mount the USB disk/key, and launch the startup.nsh script included in the download.

Thing is, I tried with both a 4GB USB key and a larger 60GB USB disk, with poor results. Both have, of course, FAT32 filesystems.

When plugging them in and running map -r from the EFI shell, the key is not even listed. The disk shows up as blk0 and I can switch to it. Problem is getting to the script:

  • ls or dir commands returns "Cannot open current directory - Not found"
  • cd update returns "Target directory not found"

It doesn't look like the disk is correctly mounted either. Any pointers on commands I could try or BIOS settings that could be off?

Edit, new info:

  • I tried again with yet another hard disk, which yielded the same results than the first.
  • The USB ports / controller do not seem to be the problem, those I used all worked with a keyboard.
  • mount blk0 fs0 simply created an alias to blk0 but did not make it any more readable.
share|improve this question

1 Answer 1

The first problem that you write in UNIX style. But the UEFI uses DOS style. So your sequence of commands:

map
mount blk0 aaa
aaa:            // !!! change disk in dos stile
cd EFI\debian    // use backslashes
grubx64.efi      // run bootloader without "./"

The second problem - you have nothing written about the disk partitioning system. You can`t use DOS partition system. Use GPT(GUID Partition Table). In Linux use gdisk. (fdisk does not fit).

As the partition types use EF00 for the boot disk(fat32), 0700 for the root partition (Ext4 for example)

so your drive will look like this:

gdisk -l /tmp/disk
GPT fdisk (gdisk) version 0.8.7

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /tmp/disk: 2048 sectors, 1024.0 KiB
Logical sector size: 512 bytes
Disk identifier (GUID): 21FCB27E-DBE0-47F9-9D03-811638115E24
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 2014
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              34              53   10.0 KiB    EF00  EFI System
   2              54            2014   980.5 KiB   0700  Microsoft basic data
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.