I am triple booting Ubuntu, Debian, and Fedora. When I installed Fedora from a liveCD I got excited and kept hitting next, not realizing I was not installing GPT, but rather LVM.
After doing this I cannot boot from a hard disk. The EFI menu doesn't even show my hard drive as a boot option (although it detects it in hardware).
I have a work-around currently, which is odd in how it works, I use a liveboot USB (Yumi) and choose to run Linux from hard drive, and I can choose between the distros I have on my computer. However I need this USB to boot into a distribution.
I am unsure exactly how to restore my system.
My computer came with Ubuntu installed, ASUS XC200 (netbook). I called Asus tech support, they wanted to re-image.. I will not give up so easily.
/dev/sda1 (fat32, with boot flag) has an
EFI directory on it for Ubuntu (assuming Ubuntu was loading GRUB> chainloading Debian).
How do I start to fix this? And what information do people need?
(I have no CD/DVD Player)
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root.
When I run
modprobe there is nothing with efivars.
Update/Things I tried so far:
- Lost extra flashdrives with Kali
- & Debian
- & Ubuntu 14.04
- still have Yumi with Ubuntu 12.04.
Steps taken recently (after following answers):
- Ran Live Ubuntu
/dev/sdaexcept the fat partition (GPT/ESP)
- Tried to do install of Ubuntu, didn't work problem with grub and EFI on my GPT partition
fsckjust in case (fine)
- Used parted/gparted to wipe all then make GPT and other partitions(set boot flag on ESP)
- Tried Install again (didn't work same error)
- Partitions looked funny, (missing space)... Scratched Head
- Wiped partitions/Made partition for LiveUSB onto Harddrive
ddto write LiveUSB to
/dev/sda4(believe this was number)
- This booted, but needed my USB to be in place so was useless
- Tried to use
gfdisk, made me reboot lost session
- Split my LiveUSB
- Downloaded Arch .iso, and
dd'd onto 2nd USB partition (LiveUSB)
- Kept Ubuntu LiveUSB session up, went through partial install (up to chroot of Arch while in live session)
- Had problems with things working right
- Ran Arch Live, went through install (zapping and initial creation of partitions worked better than on parted/gparted)
- Used directions to do
syslinux(from within Arch Install Guide)
- Basically rewrote all my efi to brand new
- Running great on Arch
- Unsure whether/how to answer my own question