You are not logged in.

#1 2016-08-06 17:29:13

Lifka
Member
Registered: 2015-05-30
Posts: 10

[SOLVED] GRUB wrong uuid

I am trying install Archlinux (I installed it several times) but this time I've a bit problem.

My problem is that when I have finished install archlinux and grub (the SSD was empty, no dual-boot, no windows), when I make reboot and select Archlinux in Grub, it returns:

error: no such device: ____________
Loading Linux core repo kernel ....
error: no such partition.
Loading initial ramdisk ...
error: you ned to load the kernel first.

Press any key to continue...

This is the situation:

fdisk -l

http://i.imgur.com/8r5yBIH.jpg

http://i.imgur.com/WEuLr2c.jpg

mount [...]

http://i.imgur.com/aakvP0h.jpg

cat /mnt/etc/fstab

http://i.imgur.com/Rtw8P1L.jpg

arch-root /mnt

grub-install --efi-directory=boot/efi /dev/sda

grub-mkconfig -o /boot/grub/grub.cfg

mkinitcpio -p linux

http://i.imgur.com/PBtBuK1.jpg


reboot

Result:

Open GNU GRUB version 2.02^beta3

http://i.imgur.com/XNrw9nh.jpg

Appear 2 opction:
Arch Linux, with Linux core repo kernel
Arch Linux, with Linux core repo kernel (Fallback initramfs)

Two returns:

http://i.imgur.com/pOnvnRz.jpg

Any help is appreceated, I hope I provided enough information.


EDIT:

I think the problem is the UUID. GRUB shows a UUID different to fstab, but in /boot/grub/grub.cfg is the same UUID that fstab.

EDIT2:

If I edit with GRUB terminal the UUID it works and archlinux boots, but I can't edit all  times when I boot the computer. I need know why appear a bad UUID although in /boot/grub/grub.cfg only appear the correct UUID.

Last edited by Lifka (2016-08-06 19:48:44)

Offline

#2 2016-08-06 19:48:08

Lifka
Member
Registered: 2015-05-30
Posts: 10

Re: [SOLVED] GRUB wrong uuid

The problem was --efi-directory, it must be the same that grub-mkconfig

arch-root /mnt
grub-install --efi-directory=boot /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -p linux

Solved. Thank you and sorry, I hope that can help others users.

Offline

Board footer

Powered by FluxBB