3

I have to run a firmware update script that lives on the first hard drive of an Intel server board. I must use the UEFI shell to run this script, according to the Intel docs.

(Our servers have no external USB ports, so please don't suggest this.)

I have all the binary firmware blobs including the update script in /moo on blk0.

How do I mount the drive so I can run the script or do I need to mount the drive at all?

LTPCGO
  • 508
  • 1
  • 3
  • 15
mr.zog
  • 923
  • 3
  • 20
  • 39
  • Looks to me like `blk0` is typically a disk rather than a partition? Based on [this question and answer](https://stackoverflow.com/q/24372895/886887), mountable partitions should be `fsN` rather than `blkN` Are there any `fs` devices? – Harry Johnston Jan 08 '20 at 00:04
  • Nope. No fs devices :( – mr.zog Jan 08 '20 at 00:50
  • Is the server booting via UEFI? I'd have thought the UEFI boot partition, at least, would be available. – Harry Johnston Jan 08 '20 at 00:53
  • I have booted into the UEFI shell. I do not know what is mounted. How can I tell? – mr.zog Jan 08 '20 at 01:05
  • Let me rephrase. Is the main operating system that you have installed on the server configured to boot via UEFI? – Harry Johnston Jan 08 '20 at 01:08
  • 1
    The CentOS installed on our servers is not configured to boot using UEFI. – mr.zog Jan 09 '20 at 00:17
  • You may be stuck then; there probably aren't any FAT file systems for the UEFI shell to access. Although some server motherboards have an internal slot for a SD card or similar, so you might want to investigate that. – Harry Johnston Jan 09 '20 at 03:08
  • If there are FAT32 file systems, you should be able to access them after a `map -r` and changing to the assigned 'drive', i.e. FS0, FS1, etc. For other types of file systems such as ext3 or NTFS, you need to first load the appropriate driver if available. – fpmurphy Jan 11 '20 at 16:54
  • "The CentOS installed on our servers is not configured to boot using UEFI." I know this is (now) an old question, but really... you were still using BIOS in 2020?!? – Massimo May 26 '23 at 23:34
  • We found a way to use Intel's sdptool using IPMI to the BMC. This is great because it obviates the need to mess with binaries on the host OS. I have not documented the procedure yet but I hope to post something *somewhere* detailing all the steps. Honestly I don't understand the process well enough to explain yet. It's a **lot** of work and most of it was done by someone else on my team. – mr.zog Jan 09 '20 at 17:03
  • Did you ever get around to this? This question came up today as an unanswered question. – Michael Hampton Nov 23 '20 at 11:24
  • No, we didn't need to mount the OS disk. We didn't need to access anything through UEFI to update the firmware. – mr.zog Jan 25 '21 at 22:35

1 Answers1

2

A little late, but just came across this question, when having the same issue. This should mount all disks

Shell> map -r
Shell> fs0:
fs0:\>