Booting to grub rescue

#1

Just left windows 10 to go back to a linux OS after about 10 years not running one. I'm a bit rusty. And to make matters worse... I've broken something.

The basis of my problem is that when I try to boot, the first thing it says is that my sector size isn't big enough, "Error invalid sector size 65535" and after it spams that 3 times it switches to "No such cryptodisk found." Following that, it falls into grub rescue mode, and ...... here I am. I searched for someone with my issue, but it looks like nobody ever responded to his question, and it was closed on March 2nd.

I'm currently booted onto the actual pc (not from a Livecd, but I do have one ready)

What can I do to avail my situations?

#2


Use the magnifying glass and sort by last post

#3

Thanks for the speedy reply friend. I've been searching the forums for over an hour, and I have yet to find anything viable to fixing this problem. Each time I get involved with a solution, a new issue arises, and prevents me from moving forward. I appreciate the screen shot of how to use the search engine; it's done me loads of good so far. Now I'm not only certain that my original problem is still jacked up, but I'm also under the impression that I've screwed up a few different things as well. Any help would be highly appreciated at this point.

#4
#5

I don't have that version livecd. Thank you for your efforts.

#6

I was able to boot into my actual system, Just now I have no idea on what to do next, because I thought I was supposed to be on the livecd. Not sure how that works.

#7

(and above)!!!

Paste output from

$ inxi -Fxxxz
#8

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

#11
  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
#12

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:

#15

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....

#16

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
#18

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.

#19

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:

#20

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

#21

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 @petsam.
He can clear up a few things.

#22

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

#23

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

#25

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.

#26

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