Skip to main content
Topic: grub-install ... (Read 253 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

grub-install ...

Code: [Select]
➜  ~ grub-install ...
zsh: correct '...' to '..' [nyae]? n
Installing for i386-pc platform.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: error: disk `hostdisk//dev/sda1' not found.
➜  ~ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 111.8G  0 disk
├─sda1   8:1    0    99G  0 part /
└─sda2   8:2    0  12.8G  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk /mnt/f16d6041-things
sdc      8:32   0 149.1G  0 disk
├─sdc1   8:33   0 136.2G  0 part /mnt/606bc747-things
└─sdc2   8:34   0  12.8G  0 part
sdd      8:48   1 116.5G  0 disk
├─sdd1   8:49   1 116.4G  0 part
└─sdd2   8:50   1    32M  0 part

what do?


Re: grub-install ...

Reply #1
Code: [Select]
sudo grub-install ...

Installing for i386-pc platform.
grub-install: error: cannot read `/': Is a directory.

Re: grub-install ...

Reply #2
I assume this a BIOS not UEFI disk? If so, the command should be:

Code: [Select]
sudo grub-install /dev/sda


Re: grub-install ...

Reply #3
thank you
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/artix/theme.txt
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
  /dev/mapper/control: open failed: No such device
  Failure to communicate with kernel device-mapper driver.
  Check that device-mapper is available in the kernel.
  Incompatible libdevmapper 1.02.203 (2024-12-09) and kernel driver (unknown version).
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

do i need to worry about any of this?

Re: grub-install ...

Reply #4
thank you
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/artix/theme.txt
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
  /dev/mapper/control: open failed: No such device
  Failure to communicate with kernel device-mapper driver.
  Check that device-mapper is available in the kernel.
  Incompatible libdevmapper 1.02.203 (2024-12-09) and kernel driver (unknown version).
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

do i need to worry about any of this?


No I don't think so, as long as it boots up correctly.