You are not logged in.

#1 2014-12-03 19:18:28

arthurdent84
Member
Registered: 2014-12-03
Posts: 6

grub and gummiboot: No such file or directory

I have installed Arch Linux 64bit on my Lenovo G500 laptop with preinstalled Windows 8. I want to have both systems.

I can mount the EFI partition (260 MB, almost empty):

$ mount /dev/sda2 /boot

I can see this:

$ ls /boot
BOOT  BOOTSECT.BAK  EFI

But when I install gummiboot, the packages are downloaded, being installed and finally it says:

/usr/bin/gummiboot: No such file or directory

And obviously, I cannot run gummiboot. But there is now a new empty folder: /boot/EFI/gummiboot

I tried grub as well, the installation through pacman ran okay. But then running grub-install produced the same error:

/usr/bin/grub-install: No such file or directory

Again, the config file is there now: /boot/grub/grub.cfg.

In both cases the program (gummiboot, grub-install) exists in the specified path, has nonzero size and is executable.

Offline

#2 2014-12-03 20:57:31

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,193
Website

Re: grub and gummiboot: No such file or directory

Please post the output of:

# gdisk -l /dev/sda
lsblk -f

Also, please post the entire terminal output following the `gummiboot install` command.


godisnowhere

Offline

#3 2014-12-03 22:43:41

arthurdent84
Member
Registered: 2014-12-03
Posts: 6

Re: grub and gummiboot: No such file or directory

I installed gdisk, but I could not run the program either. The same issue. It seems I cannot run any program from /usr/bin. I can run pacman.
I did not know how to forward the pacman output with --debug option to a log file. Anyway, it seems it does not have anything to do with the bootloaders.

I guess that there is a problem caused by chrooting?

Here they say that this message is caused by missing 64bit libraries.

Well, my system should be 64bit, but I did have a problem with the architecture one step earlier, see my previous topic here. "pacman -Syyu" solved that issue.

Finally, output of lsblk -f:

NAME            FSTYPE LABEL UUID MOUNTPOINT
sda                               
|-sda1                            
|-sda2                            /boot
|-sda3                            
|-sda4                            
|-sda5                            
|-sda6                            
|-sda7                            
|-sda8                            
|-sda9                            /
|-sda10                           
|-sda11                           
`-sda12                           
sdb                               
|-sdb1                            /mnt/usbhdd_win
`-sdb2                            
sdc                               
`-sdc1                            
sr0                               
loop0                             
loop1                             
`-arch_airootfs                   /etc/resolv.conf
loop2                             
`-arch_airootfs                   /etc/resolv.conf

and the output of gummiboot installation:

[2014-12-03 23:21] [PACMAN] Running 'pacman -S --debug --logfile /mnt/usbhdd_win/gummiboot_install.log gummiboot'
[2014-12-03 23:21] [ALPM-SCRIPTLET] /tmp/alpm_MfFl7B/.INSTALL: line 3: /usr/bin/gummiboot: No such file or directory
[2014-12-03 23:21] [ALPM-SCRIPTLET] :: Run '/usr/bin/gummiboot install' to make gummiboot your default bootloader
[2014-12-03 23:21] [PACMAN] installed gummiboot (45-1)

Offline

#4 2014-12-03 22:56:55

arthurdent84
Member
Registered: 2014-12-03
Posts: 6

Re: grub and gummiboot: No such file or directory

OK, the error message seems to be a result of attempting to run a 32bit program on a 64bit system without appropriate libraries.

Now, based on my previous issue, I guess that, for some reason, pacman automatically installed 32bit versions of the programs. Is it possible that my Arch Linux is 32bit in spite of "uname -a" returning "x86_64 GNU/Linux"? How else can I check the bit version of my system, please?

Offline

#5 2014-12-04 07:13:35

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,193
Website

Re: grub and gummiboot: No such file or directory

We do not have enough information to help you.

You need to list all the steps you have taken so far.

The Beginner's Guide has many different options -- which did you use?


godisnowhere

Offline

Board footer

Powered by FluxBB