You are not logged in.

#1 2013-06-07 00:01:42

iJC
Member
From: Planet Earth
Registered: 2013-03-03
Posts: 22

GRUB2 "No such device" -- Can't access grub.cfg

I installed [archlinux-2013.06.01-dual] using Live USB. UEFI + GPT + Arch only system.

Following the wiki's instructions I made all the steps (format, mount, pacstrap, genfstab, ...) and finally installed GRUB2 using:

--------------
In my case <UEFI_SYSTEM_PARTITION> = /dev/sdb1

# mkdir -p /boot/efi
# mount -t vfat <UEFI_SYSTEM_PARTITION> /boot/efi
# mkdir /boot/efi/EFI

# modprobe dm-mod
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debug
# mkdir -p /boot/grub/locale
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

--------------

My partition scheme:

500GB HD:
/dev/sda1 = swap
/dev/sda2 = /home

32GB mSATA:
/dev/sdb1 = ESP
/dev/sdb2 = /

--------------

The installation was OK, without errors, but when I reboot the notebook, access the GNU GRUB 2.0 and select Arch Linux, I get the error "No such device". The wiki says I can fix it by "manually changing the UUID in grub.cfg", so I boot the Live USB again and tried to mount my / (root partition) like before "#mount /dev/sdb2 /mnt" but when I "#cd /mnt", the only folders I see there is "username folder" and /lost+found. How can I reach the grub.cfg using my Live USB?

Thanks!


KISS Principle

Offline

#2 2013-06-07 00:12:45

iJC
Member
From: Planet Earth
Registered: 2013-03-03
Posts: 22

Re: GRUB2 "No such device" -- Can't access grub.cfg

OMG!

I missed to check the /sda, /sdb, /sdc ...

My / was in /sdc, not /sdb like before, I'll try to edit the grub.cfg now, any news I'll post here!


KISS Principle

Offline

#3 2013-06-07 00:23:53

iJC
Member
From: Planet Earth
Registered: 2013-03-03
Posts: 22

Re: GRUB2 "No such device" -- Can't access grub.cfg

Working!

Sorry, for this stupid topic... =p


KISS Principle

Offline

#4 2013-06-07 00:29:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: GRUB2 "No such device" -- Can't access grub.cfg

If your drive naming is jumping around, you might want to take a look at this page: https://wiki.archlinux.org/index.php/Pe … ice_naming

Offline

Board footer

Powered by FluxBB