Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

[BUG]: grub config fails to be generated #22

Open
axtloss opened this issue Aug 31, 2022 · 9 comments
Open

[BUG]: grub config fails to be generated #22

axtloss opened this issue Aug 31, 2022 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@axtloss
Copy link
Member

axtloss commented Aug 31, 2022

Describe the bug

for some people the grub config fails to be generated when installing through jade-gui

To reproduce the bug

just install crystal it seems

Expected behavior

the grub config gets generated and the user doesn't get sent to the shell

Screenshots

No response

Additional context

i suspect this may be an issue with the grub theme not being found, but im not sure why grub-mkconfig completely fails when doing this.

@axtloss axtloss added the bug Something isn't working label Aug 31, 2022
@ihatethefrench ihatethefrench moved this to Facing Issues in Issue Tracker Aug 31, 2022
@ihatethefrench
Copy link
Member

I've been doing some investigation, this might be an issue on BIOS systems specifically.

@axtloss
Copy link
Member Author

axtloss commented Sep 12, 2022

All reports I've seen were on uefi systems

@chiq2045
Copy link

The same thing happened to me. When I tried to manually install and configure grub I got the error message
/usr/bin/grub/probe: error: cannot find a device for / (is /dev mounted?)

/dev is mounted, but I suspect that there is some problem with grub looking for /boot, when it should be looking for @/boot?

@axtloss
Copy link
Member Author

axtloss commented Sep 16, 2022

how are you regenerating the grub config? and how did you mount the installation?

@fries1234
Copy link
Contributor

hi, if you see an @ when you mount your drive, thats a btrfs subvolume. to mount the jade created btrfs subvolumes, you should run this command

sudo mount /dev/yourdriveletterhere -o subvol=@ /mnt
sudo mount /dev/yourdriveletterhere -o subvol=@home /mnt/home

@SomethingGeneric
Copy link
Member

^ and then sudo mount /dev/yourdriveletterhere<p1> /mnt/boot/efi

@chiq2045
Copy link

@fries1234 I haven't tried your suggestion yet. It should have worked in my case, but I found that my issue stemmed from a broken grub config. So I went and completely deleted grub in order for the install to work. On a side note, I didn't know much about the btrfs filesystem - Thanks!

@wreedb
Copy link

wreedb commented Sep 17, 2022

So, I attempted install 3 times, once with options: no zramd and no autosnapshots. second time: zramd and no autosnapshots, and the third was with the default (both on) and that was the only one that generated a grub config it seems. the first two booted into efi shell

@ihatethefrench
Copy link
Member

I'm going to try and troubleshoot this further today

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
No open projects
Status: Facing Issues
Development

No branches or pull requests

6 participants