Booting to grub rescue

(and above)!!!

Paste output from

$ inxi -Fxxxz

"Cannot find EFI directory" I tried this exact same thing 20 minutes ago. I remember it saying this after it didn't work.

  Host: Lucy Kernel: 4.19.28-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: KDE Plasma 5.15.2 tk: Qt 5.12.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: SABERTOOTH 990FX v: Rev 1.xx 
  serial: <filter> UEFI: American Megatrends v: 1604 date: 10/16/2012 
CPU:
  Topology: 8-Core model: AMD FX-8320 bits: 64 type: MCP arch: Bulldozer 
  L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 60706 
  Speed: 1912 MHz min/max: N/A Core speeds (MHz): 1: 1912 2: 3760 3: 2101 
  4: 3570 5: 1863 6: 3453 7: 2665 8: 3253 
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: ZOTAC 
  driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c03 
  Device-2: AMD Cape Verde XT [Radeon HD 7770/8760 / R7 250X] 
  vendor: ASUSTeK driver: radeon v: kernel bus ID: 06:00.0 
  chip ID: 1002:683d 
  Display: x11 server: X.Org 1.20.4 driver: nouveau,radeon FAILED: ati 
  unloaded: modesetting alternate: fbdev,nv,vesa compositor: kwin_x11 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: NV136 v: 4.3 Mesa 18.3.4 direct render: Yes 
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 chip ID: 1002:4383 
  Device-2: NVIDIA GP106 High Definition Audio vendor: ZOTAC 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1 
  Device-3: AMD Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 
  Series] 
  vendor: ASUSTeK Oland/Hainan/Cape driver: snd_hda_intel v: kernel 
  bus ID: 06:00.1 chip ID: 1002:aab0 
  Device-4: Microsoft type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 3-2:2 chip ID: 045e:076f 
  Device-5: Logitech G430 Surround Sound Gaming Headset type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 11-2:2 
  chip ID: 046d:0a4d 
  Sound Server: ALSA v: k4.19.28-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK P8P67 and other motherboards driver: r8168 
  v: 8.045.08-NAPI port: 9000 bus ID: 09:00.0 chip ID: 10ec:8168 
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1020.46 GiB used: 5.99 GiB (0.6%) 
  ID-1: /dev/sda vendor: A-Data model: SP900 size: 59.63 GiB 
  speed: 6.0 Gb/s serial: <filter> scheme: GPT 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-21WN4A0 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 1A01 scheme: MBR 
  ID-3: /dev/sdc type: USB vendor: SanDisk model: Cruzer Dial 
  size: 29.32 GiB serial: <filter> rev: 1.00 scheme: MBR 
Partition:
  ID-1: / size: 58.14 GiB used: 5.99 GiB (10.3%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 34.8 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
  GPU: device: nouveau temp: 33 C fan: 1770 device: radeon temp: 42 C 
Info:
  Processes: 232 Uptime: 33m Memory: 17.58 GiB used: 1.76 GiB (10.0%) 
  Init: systemd v: 241 Compilers: gcc: 8.2.1 Shell: bash v: 5.0.0 
  running in: konsole inxi: 3.0.32 
1 Like

So, Nvidia and AMD GPU, puh.

You install with free or non-free graphic card drivers?
But for this I'm not really helpful, stay tuned somebody will know to help. :slight_smile:

I use both because I couldn't buy 2 1060's and I have 3 monitors. I guess I installed with free? becasue they seem to be working fine? I'm just trying to fix the booting issue primarily, that's what's got me stuck at the moment.

When I try doing the "Simple First Start" I get all the way to 'sudo grub-install /dev/sda and then I get the response "cannot find EFI director."

Still trying to fix this. Can anyone out there help me? I've been working on this for 2 days. No luck....

Please go through this topic.

Here's a rough test F pertinent for that OP. Of course his partition is (0,gpt2). So change what applies to you. Remember I had totally no experience with encrytption, but i would suggest that to prevent future incidences like this, make a grub rescue cd with the correct gub.cfg in it.

So here's Test F

TEST F (from test D)


grub> insmod cryptodisk
grub> insmod luks
grub> insmod gcry_rijndael
grub> insmod gcry_rijndael
grub> insmod gcry_sha256


grub> cryptomount hd0,gpt2
grub> set root=(crypto0)
grub> probe -u $root --set=pqr
grub> cat /etc/crypttab

<note> copy the uuid for sda2 and set to $abc

grub> set abc=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
grub> linux   /boot/vmlinuz-4.19-x86_64 root=UUID=$pqr rw cryptdevice=UUID=$abc:luks-$abc root=/dev/mapper/luks-$abc 
grub> initrd  /boot/initramfs-4.19-x86_64.img
grub> boot
1 Like

Rodger. Will give it a shot. If it's any help, this was a windows 10 pc, that was on the same drive, untill I installed manjaro over the top of it.

In order for me to run this test.... I have to be in grub. Which means I cannot reply, or read any of these messages until I am back running a live CD. This may take a moment.

Good luck, remember up to here from test A to test f, that's the limit of how far I can go. But you can ping the OP of that link there if you need help too.

ps: I'm not too available these few days, as well.
ps: My name's not Rodger. :laughing:

I have no idea what the format is for grub. (hd0,gpt2) I guess I don't put /dev/sda2/ on there.

Do you mean you don't know if your system is uefi or bios-legacy?
If you don't mean that, what 'format' are we talking about?
Other thatn pinging the OP there, you can ping @AgentS.
He can clear up a few things.

I think it's UEFI, but I honestly have no idea how to even check.

If you can access your OS (installed), checking /etc/fstab should tell you.

When I goto install grub I get the error: cannot find Efi directory

When I type /etc/fstab I get bash: /etc/stab: Permission denied.

Of course. So try with both. One at a time.

I see the fstab file in the etc directory, but I do not know how to run it.

In a terminal
cat /etc/fstab
will allow you to read it.

And post these:

sudo inxi -Dpuoxxxz
lsblk -f
[josh@Lucy ~]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=c7aeb6a7-7c6a-47d3-a82a-a535b9c90e84 /              ext4    defaults,noatime,discard 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
[josh@Lucy ~]$ 

[josh@Lucy ~]$ sudo inxi -Dpuoxxxz
[sudo] password for josh: 
Drives:
  Local Storage: total: 1020.46 GiB used: 9.28 GiB (0.9%) 
  ID-1: /dev/sda vendor: A-Data model: SP900 size: 59.63 GiB 
  speed: 6.0 Gb/s serial: <filter> scheme: GPT 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-21WN4A0 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 1A01 scheme: MBR 
  ID-3: /dev/sdc type: USB vendor: SanDisk model: Cruzer Dial 
  size: 29.32 GiB serial: <filter> rev: 1.00 scheme: MBR 
Partition:
  ID-1: / size: 58.14 GiB used: 9.28 GiB (16.0%) fs: ext4 dev: /dev/sda2 
  uuid: c7aeb6a7-7c6a-47d3-a82a-a535b9c90e84 
  ID-2: /home/josh/mnt raw size: 59.33 GiB size: N/A (hidden?) 
  used: N/A (hidden?) fs: ext4 dev: /dev/sda2 
  uuid: c7aeb6a7-7c6a-47d3-a82a-a535b9c90e84 
Unmounted:
  ID-1: /dev/sda1 size: 300.0 MiB fs: vfat label: N/A uuid: 406A-744A 
  ID-2: /dev/sdb1 size: 931.51 GiB fs: ntfs label: New Volume 
  uuid: C4940C70940C66F0 
  ID-3: /dev/sdc1 size: 1.95 GiB fs: iso9660 label: M1804 
  uuid: 2019-03-12-09-50-33-00 
  ID-4: /dev/sdc2 size: 4.0 MiB fs: vfat label: MISO_EFI uuid: F464-EFAB 
[josh@Lucy ~]$ 
[josh@Lucy ~]$ lsblk -f
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                   
├─sda1
│    vfat         406A-744A                                           
└─sda2
     ext4         c7aeb6a7-7c6a-47d3-a82a-a535b9c90e84   45.9G    16% /home/josh
sdb                                                                   
└─sdb1
     ntfs   New Volume
                  C4940C70940C66F0                                    
sdc  iso966 M1804 2019-03-12-09-50-33-00                              
├─sdc1
│    iso966 M1804 2019-03-12-09-50-33-00                              
└─sdc2
     vfat   MISO_EFI
                  F464-EFAB                                           
[josh@Lucy ~]$ 

Your /home and / (aka root) are one and the same.
For SSD the fstab entry for root should be / ext4 rw,relatime,data=ordered 0 1
My suggestion, disconnect the other drives, so you have only the A-Data SSD, boot from live media and do a proper install in UEFI mode. If you have data you want to save, do that first.
If you want a separate /home partition then create one for it but make sure you follow the instructions
https://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide

Forum kindly sponsored by