Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Sent here by someone on #archlinux for help with UEFI Shell

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Veovis Muaddib
n00b
n00b
Posts: 1
Joined: Wed Dec 07, 2011 6:49 am

Sent here by someone on #archlinux for help with UEFI Shell

  • Quote

Post by Veovis Muaddib » Wed Dec 07, 2011 7:36 am

I was wondering if I could have some assistance in booting grub-efi from UEFI shell. It's for Arch Linux, but I was told to come here instead, because you guys seem to have better documentation on using UEFI shell. Running ASUS EeePC 1215b.

Here's what I get upon startup, copied by hand to this machine:

Code: Select all

Device mapping table
fs0           :HardDisk - Alias hd12a1 blk0         [SUSPECTED /DEV/SDA1, MY EFI PARTITION]
                ~Snip~
blk0         :HardDisk - Alias hd12a1 fs0           [DUPLICATE OF FS0?]
                ~Snip~
blk1         :HardDisk - Alias (null)                    [MY /]
                ~Snip~
blk2         :HardDisk - Alias (null)                    [MY SWAP]
                ~Snip~
blk3         :HardDisk - Alias (null)                    [MAIN DISK?]


Shell> mount fs0

Success - Force file system to mount

Shell > ls
ls/dir: Cannot open current directory - No Mapping

Shell  > cd efi             [DIRECTORY GRUB IS IN]
cd: Cannot find mapped device

Shell  > mount blk0

Success - Force file system to mount

Shell > ls
ls/dir: Cannot open current directory - No Mapping

Shell  > cd efi
cd: Cannot find mapped device

Shell  > mount hd12a1

Success - Force file system to mount

Shell > ls
ls/dir: Cannot open current directory - No Mapping

Shell  > cd efi
cd: Cannot find mapped device
Mount doesn't seem to take more than one argument, so I don't know what's going on here.
Top
tomk
Bodhisattva
Bodhisattva
User avatar
Posts: 7221
Joined: Tue Sep 23, 2003 1:41 pm
Location: Sat in front of my computer

  • Quote

Post by tomk » Thu Dec 08, 2011 5:37 pm

Moved from Other Things Gentoo to Off the Wall, support for other distributions belongs in OTW.

Moved from Off the Wall to Unsupported Software after [post=8281864]dewhite's update[/post] (and the subsequently added OTW flair, which has been left behind. --pjp, 2018.11.18
Search | Read | Answer | Report | Strip
Top
Veovis Muaddib
n00b
n00b
Posts: 1
Joined: Wed Dec 07, 2011 6:49 am

  • Quote

Post by Veovis Muaddib » Thu Dec 08, 2011 10:08 pm

I was pretty tired that night, and couldn't find this section. I was looking at the Gentoo sections and scrolled down too fast I think. Thanks, and sorry for the inconvenience.
Top
dewhite
Tux's lil' helper
Tux's lil' helper
Posts: 107
Joined: Sun Mar 16, 2003 8:18 am
Location: Houston, Texas, USA
Contact:
Contact dewhite
Website

  • Quote

Post by dewhite » Wed Nov 14, 2018 10:18 pm

I'm aware that this thread is _very_ old. However, I was running into a similar issue today while trying to flash upgraded firmware to an LSI HBA and I think it would have been helpful if an answer had been posted here for other Googlers to find.

In my case - the issue was that the EFI shell hadn't defaulted to one of the multiple filesystems that were mounted at boot. This is likely the same issue this fellow from 2011 was experiencing because his shell prompt read: "Shell >" instead of leading with the disk location.

One simply needs to enter the filesystem location where they expect to find their files at that prompt by typing, for example:

Code: Select all

fs0:
followed by a carriage return.

The prompt will change to fs0:> and commands for "dir" or "ls" or "cd" should work as expected. In my case, 3 filesystems had been automatically mounted at boot (fs0, fs1, and fs2). I eventually found the files I was looking for in fs1. Changing between filesystems is as simple as typing in fsX: and pressing "return" again, where X is a number between 0 and infinity. The shell command "map" (or "map -b" for a paged view) can also be used to list all devices and filesystems for some clues about what all was detected and mounted by the shell at boot.

Good luck all!
Work FS: SM X10SRA | E5-2667v3 | 4x16Gb ECC RAM | Mirrored NVMe LUKS root | 2x 8TB ZFS Mirror
Home FS: HP Z440 | E5-2667v3 | 4x16Gb ECC RAM | Mirrored NVMe LUKS root | 2x 14TB ZFS Mirror
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic