You are not logged in.

#1 2022-02-08 06:31:04

Hadievine58
Member
Registered: 2022-02-04
Posts: 7

Grub no such device error

Hi guys. I am beginner Archlinux user.I made on archlinux on zfs system and I want to install any machine.I opened an efi system partition on the new machine and set up the group as uefi.I did not encounter any problems. but after the installation is completed on the machine, the grub screen comes up.
I am getting error no such device xxxxxxxxx

The part I don't understand is this: There are changes I made to the group in the old system (picture etc.).but why can't it find the operating system.


my old system was working with bios boot. and in the operating system, I connect the efi system to the /boot part and install


I'm waiting for your help . thanks in advance

Offline

#2 2022-02-08 06:43:25

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Grub no such device error

Have you disabled SecureBoot?

Hadievine58 wrote:

I made on archlinux on zfs system

How did you do that, exactly? Did you follow this guide?

Hadievine58 wrote:

I opened an efi system partition on the new machine and set up the group as uefi

^ What does this mean, exactly? Please post the exact commands that you used and also provide the full grub-install command.

Please also post the output of

efibootmgr -uv
parted --list

^ Those commands can be run from any live system booted on the problematic machine.


Jin, Jîyan, Azadî

Offline

#3 2022-02-08 07:05:12

Hadievine58
Member
Registered: 2022-02-04
Posts: 7

Re: Grub no such device error

yes i did it with archwiki. I partitioned the system in the form of bios boot and solaris root. and without mounting anything, just writing a code to the group and the system was connected.Now I'm trying to install this system on a machine that only supports UEFI.
I partitioned a 512 mb efi system instead of bios boot on the new system
arch-chroot /mnt/pool
mkdir /boot/efi
mount /dev/sda1 (efi system) /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --removable
mkinitcpio -p linux
exit
zpool export pool     and reboot


in my research it says update fstab settings. but my fstab only has zfs pool

efibootmgr -uv didnt give any output

Last edited by Hadievine58 (2022-02-08 07:06:23)

Offline

#4 2022-02-11 20:13:19

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Grub no such device error

Hadievine58 wrote:

efibootmgr -uv didnt give any output

That is expected if you passed the --removable option to the grub-install command.

So is SecureBoot disabled then?


Jin, Jîyan, Azadî

Offline

#5 2022-02-11 20:48:12

Hadievine58
Member
Registered: 2022-02-04
Posts: 7

Re: Grub no such device error

secure boot enable

if dont use --removable I dont install grub

Offline

#6 2022-02-11 20:56:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Grub no such device error

Disable SecureBoot.

If you want to enable it you'll have to sign the kernel, the bootloader and the ZFS kernel modules.

The ArchWiki has guides for the first two items and Ubuntu has a kmodsign command for the ZFS modules that can be built from the ubuntu-kernel-module-signing.patch in http://archive.ubuntu.com/ubuntu/pool/m … ian.tar.xz.


Jin, Jîyan, Azadî

Offline

#7 2022-02-11 21:38:02

Hadievine58
Member
Registered: 2022-02-04
Posts: 7

Re: Grub no such device error

Will these system arch based packages work? Also, can you renew the link, the page cannot be reached.
thank you very much for the reply

Offline

#8 2022-02-11 21:45:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Grub no such device error

Hadievine58 wrote:

Will these system arch based packages work?

I'm sorry but I do not understand the question.

Hadievine58 wrote:

can you renew the link, the page cannot be reached

It's not a webpage. It is a download link for the Ubuntu source tarball. Download the tarball and unpack it, the source for the kmodsign command can be found in debian/patches/ubuntu-kernel-module-signing.patch and debian/patches/ubuntu-kernel-module-signing-fixes.patch.

The patches can be applied to the Arch sbsigntools package using the ABS.

Last edited by Head_on_a_Stick (2022-02-11 21:46:39)


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB