Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
Xinitrc
n00b
n00b


Joined: 06 Aug 2019
Posts: 70
Location: Jaraguá do Su/SC

PostPosted: Mon Sep 14, 2020 12:29 am    Post subject: Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist Reply with quote

Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist

Quando crio o /modinfo.sh no seguinte diretório,diz /modinfo.sh is a directory.
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 654

PostPosted: Mon Oct 12, 2020 10:17 pm    Post subject: Re: Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist Reply with quote

Xinitrc wrote:
Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist

Quando crio o /modinfo.sh no seguinte diretório,diz /modinfo.sh is a directory.

O arquivo /usr/lib/grub/i386-pc/modinfo.sh pertence ao pacote sys-boot/grub.
Não sei o quê aconteceu que o seu arquivo foi excluído, então tente reinstalar o sys-boot/grub.
OBS: Me preocupa um pouco essa ideia sua de ficar criando arquivos e diretórios manualmente. Desfazer isso depois fica bem mais complicado.
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
Xinitrc
n00b
n00b


Joined: 06 Aug 2019
Posts: 70
Location: Jaraguá do Su/SC

PostPosted: Fri Oct 23, 2020 5:21 am    Post subject: Re: Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist Reply with quote

ff11 wrote:
Xinitrc wrote:
Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist

Quando crio o /modinfo.sh no seguinte diretório,diz /modinfo.sh is a directory.

O arquivo /usr/lib/grub/i386-pc/modinfo.sh pertence ao pacote sys-boot/grub.
Não sei o quê aconteceu que o seu arquivo foi excluído, então tente reinstalar o sys-boot/grub.
OBS: Me preocupa um pouco essa ideia sua de ficar criando arquivos e diretórios manualmente. Desfazer isso depois fica bem mais complicado.


Isso acontecia porque não colocava o i386-pc em /etc/portage/make.conf eu acho.
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 654

PostPosted: Fri Oct 23, 2020 8:10 am    Post subject: Re: Cannot read /usr/lib/grub/i386-pc/modinfo.sh dont exist Reply with quote

Xinitrc wrote:
...
Isso acontecia porque não colocava o i386-pc em /etc/portage/make.conf eu acho.

Não. Eu uso no-multilib aqui e eu tenho o arquivo. Veja o quê eu tenho aqui:
Code:
admlocal@fenix ~ $ qfile /usr/lib/grub/i386-pc/modinfo.sh
sys-boot/grub: /usr/lib/grub/i386-pc/modinfo.sh
admlocal@fenix ~ $ eix -I sys-boot/grub
[I] sys-boot/grub
     Available versions:  (2) 2.04-r1(2/2.04-r1)^t ~2.05_alpha20200310(2/2.05_alpha20200310)^t **9999(2/9999)*l^t
       {device-mapper doc efiemu +fonts libzfs mount nls sdl test +themes truetype GRUB_PLATFORMS="coreboot efi-32 efi-64 emu ieee1275 loongson multiboot pc qemu qemu-mips uboot xen xen-32 xen-pvh"}
     Installed versions:  2.04-r1(2/2.04-r1)^t(08:47:08 AM 08/28/2020)(device-mapper fonts mount nls sdl themes truetype -doc -efiemu -libzfs -test GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh")
     Homepage:            https://www.gnu.org/software/grub/
     Description:         GNU GRUB boot loader

admlocal@fenix ~ $ equery uses sys-boot/grub
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-boot/grub-2.04-r1:
 U I
 + + device-mapper            : Enable support for device-mapper from sys-fs/lvm2
 - - doc                      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - efiemu                   : Build and install the efiemu runtimes
 + + fonts                    : Build and install fonts for the gfxterm module
 - - grub_platforms_coreboot  : Coreboot platform support
 - - grub_platforms_efi-32    : EFI 32 bit platform support (Old MACs)
 + + grub_platforms_efi-64    : EFI 64 bit platform support
 - - grub_platforms_emu       : Emulation platform support
 - - grub_platforms_ieee1275  : IEEE1275 platform support
 - - grub_platforms_loongson  : MIPS loongson platform support
 - - grub_platforms_multiboot : Multiboot platform support
 + + grub_platforms_pc        : PC platform support
 - - grub_platforms_qemu      : QEMU platform support
 - - grub_platforms_qemu-mips : QEMU MIPS platform support
 - - grub_platforms_uboot     : U-Boot platform support
 - - grub_platforms_xen       : XEN (pvgrub2) platform support
 - - grub_platforms_xen-32    : Build 32-bit XEN (pvgrub2) platform support on amd64
 - - grub_platforms_xen-pvh   : XEN (pvhgrub2) platform support
 - - libzfs                   : Enable support for sys-fs/zfs
 + + mount                    : Build and install the grub-mount utility
 + + nls                      : Add Native Language Support (using gettext - GNU locale utilities)
 + + sdl                      : Add support for Simple Direct Layer (media library)
 + + themes                   : Build and install GRUB themes (starfield)
 + + truetype                 : Build and install grub-mkfont conversion utility
admlocal@fenix ~ $ cat /etc/portage/make.conf | grep i386-pc
admlocal@fenix ~ $
admlocal@fenix ~ $ cat /etc/portage/package.use/* | grep sys-boot\/grub
sys-boot/grub mount device-mapper
admlocal@fenix ~ $

Eu recomendo não fazer modificações manuais no seu Gentoo Linux. Quando precisar de uma, basta criar um ebuild que faça isso para você, pois assim o portage pode desfazer as alterações no caso de você esquecer como fazer isso (além de te lembrar de todas as coisas feitas).

Um bom e pequeno tutorial: Como Criar um ebuild no Gentoo
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum