You are not logged in.

#1 2016-07-04 19:13:42

siulkilulki
Member
Registered: 2016-07-04
Posts: 2

[SOLVED] Generating grub.cfg I/O error

I'm installing arch on Toshiba Chromebook 2.

I did following:

pacman -S intel-ucode
pacman -S grub os-prober
grub-install --target=i386-pc /dev/mmcblk0

Then I run:

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

And got this:

 Generating grub configuration file ... 
Found Intel Microcode image
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux-fallback.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
WARNING: Failed to connect to lvmetad. Falling back o device scanning.
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error

And to get rid off this warning I've done the following from here https://www.pckr.co.uk/arch-grub-mkconf … t-install/:

 
exit
mkdir /mnt/hostrun 
mount --bind /run /mnt/hostrun 
arch-chroot /mnt /bin/bash 
mkdir /run/lvm 
mount --bind /hostrun/lvm /run/lvm

Then after:

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

I still get this, but without warning.

 
Generating grub configuration file ... 
Found Intel Microcode image
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux-fallback.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error


What should I do? I don't know. I'm completly new to Arch.

Last edited by siulkilulki (2016-07-04 19:36:00)

Offline

#2 2016-07-04 19:35:20

siulkilulki
Member
Registered: 2016-07-04
Posts: 2

Re: [SOLVED] Generating grub.cfg I/O error

Suddenly it worked out of nowhere. I installed some more wireless packages, set root password, hostname and then it worked. I don't know why becouse I can't see any relation with my actions performed and generating grub.cfg. Anyway happy to installed Arch. smile

Offline

Board footer

Powered by FluxBB