Previously, I was dual booting Windows 10 with Ubuntu, but I decided to replace Ubuntu with Manjaro. My 1TB HDD is sda and my 256 GB SSD is sdb. I have split the SSD between Windows and Linux. During the Manjaro install, I reformatted sdb6 (my old root partition) and mounted it as /, and I mounted (without reformatting) sdb1 as /boot/efi (but I'm thinking maybe it was supposed to be as /boot?). Anyway, when I turn on my computer, I get a
grub> screen. With the "search and set" method described here, I am able to successfully boot into Manjaro. After booting, I ran
sudo update-grub, but that did not appear to fix the problem. I still get the grub screen and have to manually set all the variables every time I boot.
Here is the output of
sudo tree /boot: https://pastebin.com/QDYxDDJ7
The output of
sudo update-grub: https://pastebin.com/atjcv5S6
cat /boot/grub/grub.cfg: https://pastebin.com/CXgH0Jr2
Partitions on sdb:
Device Start End Sectors Size Type /dev/sdb1 2048 616447 614400 300M EFI System /dev/sdb2 616448 878591 262144 128M Microsoft reserved /dev/sdb3 878592 250728447 249849856 119.1G Microsoft basic data /dev/sdb4 498274304 500117503 1843200 900M Windows recovery environment /dev/sdb5 250728448 266352639 15624192 7.5G Linux swap /dev/sdb6 266352640 315181055 48828416 23.3G Linux filesystem /dev/sdb7 315181056 498274303 183093248 87.3G Linux filesystem
Relevant entry in
/dev/sdb1 on /boot/efi type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
Edit with more info:
At the GRUB prompt, I can type
configfile (hd1,gpt6)/boot/grub/grub.cfg and it will load the normal boot menu. Then, I can select Manjaro and it says "Error: file 'boot/grub/grubenv' not found," then it boots Manjaro normally. However, I still have to do this every time it boots.