Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem installing grub

arteze opened this issue · comments

I tried to install grub on a partition, but it seems impossible.

grub-install /dev/sdb -d /mnt/sdb1/usr/lib/grub/i386-pc
Instalando para plataforma i386-pc.
grub-install: error: no se puede leer «/mnt/sdb1/unionfs»: Es un directorio.
grub-mkconfig -o /boot/grub/grub.cfg
Generando un fichero de configuración de grub...
Encontrada imagen de linux: /boot/vmlinuz-x86_64
/usr/bin/grub-probe: error: no se puede leer «/mnt/sdb1/unionfs»: Es un directorio.
/usr/bin/grub-probe: error: no se puede leer «/mnt/sdb1/unionfs»: Es un directorio.
Encontrada imagen de linux: /boot/vmlinuz-generic-6.1.63
/usr/bin/grub-probe: error: no se puede leer «/mnt/sdb1/unionfs»: Es un directorio.
Encontrada imagen de linux: /boot/vmlinuz-generic

/usr/bin/grub-probe: error: no se puede leer «/mnt/sdb1/unionfs»: Es un directorio.
Aviso: 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 ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
hecho

Errors translated into English with Google Translator:

grub-install /dev/sdb -d /mnt/sdb1/usr/lib/grub/i386-pc
Installing for i386-pc platform.
grub-install: error: cannot read "/mnt/sdb1/unionfs": It is a directory.
grub-mkconfig -o /boot/grub/grub.cfg
Generating a grub configuration file...
Found linux image: /boot/vmlinuz-x86_64
/usr/bin/grub-probe: error: cannot read "/mnt/sdb1/unionfs": It is a directory.
/usr/bin/grub-probe: error: cannot read "/mnt/sdb1/unionfs": It is a directory.
Found linux image: /boot/vmlinuz-generic-6.1.63
/usr/bin/grub-probe: error: cannot read "/mnt/sdb1/unionfs": It is a directory.
Found linux image: /boot/vmlinuz-generic

/usr/bin/grub-probe: error: cannot read "/mnt/sdb1/unionfs": It is a directory.
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 ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
made

I could already do it:

grub-install --boot-directory=/mnt/sdb1/boot --removable /dev/sdb
Instalando para plataforma i386-pc.
Instalación terminada. No se notificó ningún error.

Translated into English with Google Translate:

grub-install --boot-directory=/mnt/sdb1/boot --removable /dev/sdb
Installing for i386-pc platform.
Installation finished. No errors were reported.