Chroot from Garuda Hyprland live USB to Garuda Dragonized does not work properly

I just ran into an issue where I needed to chroot into my Dragonized system to fix the bootloader. All I had was my Hyperland live usb.

When doing this the process fails at the ‘grub-install’ step to install into the efi partition. You are given a ‘vfat is not a supported filesystem’ or some variation of that. I was having to learn Hyprland on the fly and researching similar vfat errors to no avail.

The fix was to create new live usb of Dragonized and boot with that. Once that’s done everything works properly. Maybe this is a known or expected issue but I figured I’d drop it in to the Newbie section just in case someone else gets stuck on it.

What was your method for setting up the chroot?

2 Likes

The same exact method as outlined here: How to chroot Garuda Linux

I also noticed that in the Hyprland live environment I couldn’t bring up Gparted. It would always give a ‘cannot open display’ error. The fix for that was to install ‘xorg-xhost’. So maybe there are just some parts of that live environment that aren’t quite bug-free.

You can use chroot from garuda-welcome app too.
Can you post the log from gparted in terminal?

I got this only if I start a GUI over ssh on my server. Ahh, you try gparted GUI in chroot?

1 Like

I don’t have the log now as I fixed the issue by overwriting my Garuda Hyperland USB with Dragonized. If I get the chance I’ll try re-creating a Hyprland usb and see if I can get a log.

I was just using Gparted in the Hyprland live environment; not using it through the chrooted system. If I started it from the Hyprland app menu it just wouldn’t start. Typing Gparted through a terminal would state, ‘cannot open display: 0’ or somesuch.

There is no substantive difference between the live environments these two ISOs provide that would cause a Grub installation from a chroot to succeed in one and not the other.

I have tested the Hyprland live environment and have confirmed everything is working as expected.

 ╭─garuda@garuda in ~ as 🧙 took 21ms
 ╰─λ sudo mount /dev/nvme0n1p2 /mnt
 ╭─garuda@garuda in ~ as 🧙 took 60ms
 ╰─λ sudo garuda-chroot /mnt/dr460nized2
sh-5.2# mount /dev/nvme0n1p1 /boot/efi
sh-5.2# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=dr460nized2 --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
sh-5.2# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2024-06-23 22:37:41 | eos-sway/.snapshots/66/snapshot    | post | libcbor libfido2 pam-u2f                                                 |
Found snapshot: 2024-06-23 22:37:41 | eos-sway/.snapshots/65/snapshot    | pre  | pacman -S pam-u2f                                                        |
Found snapshot: 2024-06-23 22:34:08 | eos-sway/.snapshots/64/snapshot    | post | alsa-lib alsa-plugins alsa-ucm-conf alsa-utils aom autotiling bash-compl |
Found snapshot: 2024-06-23 22:32:17 | eos-sway/.snapshots/63/snapshot    | pre  | pacman -Su                                                               |
Found snapshot: 2024-06-23 22:31:20 | eos-sway/.snapshots/62/snapshot    | post | archlinux-keyring                                                        |
Found snapshot: 2024-06-23 22:31:16 | eos-sway/.snapshots/61/snapshot    | pre  | pacman -S --noconfirm archlinux-keyring                                  |
Found snapshot: 2024-06-09 21:50:28 | eos-sway/.snapshots/60/snapshot    | post | zsh                                                                      |
Found snapshot: 2024-06-09 21:50:28 | eos-sway/.snapshots/59/snapshot    | pre  | pacman -Rs zsh                                                           |
Found snapshot: 2024-06-09 19:53:30 | eos-sway/.snapshots/58/snapshot    | post | ripdrag-git                                                              |
Found snapshot: 2024-06-09 19:53:29 | eos-sway/.snapshots/57/snapshot    | pre  | pacman -S ripdrag                                                        |
Found snapshot: 2024-06-09 19:35:47 | eos-sway/.snapshots/56/snapshot    | post | zsh                                                                      |
Found snapshot: 2024-06-09 19:35:46 | eos-sway/.snapshots/55/snapshot    | pre  | pacman -S zsh                                                            |
Found snapshot: 2024-05-28 21:30:06 | eos-sway/.snapshots/54/snapshot    | post | appimagelauncher libappimage squashfuse                                  |
Found snapshot: 2024-05-28 21:30:05 | eos-sway/.snapshots/53/snapshot    | pre  | pacman -Rs appimagelauncher                                              |
Found snapshot: 2024-05-28 21:29:14 | eos-sway/.snapshots/52/snapshot    | post | joplin-beta-appimage librewolf mailcap                                   |
Found snapshot: 2024-05-28 21:29:13 | eos-sway/.snapshots/51/snapshot    | pre  | pacman -Rs joplin-beta-appimage librewolf                                |
Found snapshot: 2024-05-28 20:58:27 | eos-sway/.snapshots/50/snapshot    | post | abseil-cpp adwaita-cursors adwaita-icon-theme adwaita-icon-theme-legacy  |
Found snapshot: 2024-05-28 20:57:06 | eos-sway/.snapshots/49/snapshot    | pre  | pacman -Syu --needed antiword arj autotiling bat bemenu-wayland brightne |
Found snapshot: 2024-05-07 22:42:46 | eos-sway                           | N/A  | N/A                                                                      |
Found snapshot: 2024-05-01 20:48:08 | dr460nized2/.snapshots/18/snapshot | post | flameshot                                                                |
Found snapshot: 2024-05-01 20:48:08 | dr460nized2/.snapshots/17/snapshot | pre  | pacman -S flameshot                                                      |
Found snapshot: 2024-05-01 20:44:45 | dr460nized2/.snapshots/16/snapshot | post | ttf-fantasque-nerd                                                       |
Found snapshot: 2024-05-01 20:44:44 | dr460nized2/.snapshots/15/snapshot | pre  | pacman -S ttf-fantasque-nerd                                             |
Found snapshot: 2024-05-01 20:40:33 | dr460nized2/.snapshots/14/snapshot | post | ttf-hack-nerd                                                            |
Found snapshot: 2024-05-01 20:40:32 | dr460nized2/.snapshots/13/snapshot | pre  | pacman -S ttf-hack-nerd                                                  |
Found snapshot: 2024-05-01 20:24:00 | dr460nized2/.snapshots/12/snapshot | post | candy-icons-git lib32-libunwind libhandy plasma5-themes-sweet-full-git p |
Found snapshot: 2024-05-01 20:23:59 | dr460nized2/.snapshots/11/snapshot | pre  | pacman -Rns lib32-libunwind libhandy plasma5-themes-sweet-full-git pytho |
Found snapshot: 2024-05-01 20:23:46 | dr460nized2/.snapshots/10/snapshot | post | ttf-nerd-fonts-symbols                                                   |
Found snapshot: 2024-05-01 20:23:45 | dr460nized2/.snapshots/9/snapshot  | pre  | pacman -R ttf-nerd-fonts-symbols                                         |
Found snapshot: 2024-05-01 20:21:40 | dr460nized2/.snapshots/8/snapshot  | post | aalib accountsservice alsa-card-profiles android-udev aom appstream apps |
Found snapshot: 2024-05-01 20:20:54 | dr460nized2/.snapshots/7/snapshot  | pre  | pacman -Su ttf-nerd-fonts-symbols                                        |
Found snapshot: 2024-03-20 21:23:48 | gnome2/.snapshots/4/snapshot       | post | blas cblas gsl kcompletion5 kconfig5 kcrash5 kguiaddons5 ki18n5 kitemvie |
Found snapshot: 2024-03-20 21:23:46 | gnome2/.snapshots/3/snapshot       | pre  | pacman -S krita                                                          |
Found snapshot: 2024-03-19 23:10:22 | gnome2/.snapshots/2/snapshot       | post | a2ps aribb24 bluez-cups broot btop calibre chmlib clamav colord-sane cup |
Found snapshot: 2024-03-19 23:10:12 | gnome2/.snapshots/1/snapshot       | pre  | pacman -Su --needed broot btop calibre clamav davfs2 difftastic epson-in |
Found 35 snapshot(s)
Unmount /tmp/grub-btrfs.Csm08GonIF .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
sh-5.2# 

Most likely a mistake had been made somewhere when you initially established the chroot, resulting in the error you mentioned.

That is good feedback, we have now added this to the default package list for Hyprland.

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.