[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33282] OneMix3S プラチナエディションとCONFIG_EFI_VARS



吉澤です。
お世話になっております。

OneMix3S プラチナエディションというPC
(https://www.one-netbook.jp/landing/onemix3s-platinum/)に
Plamo-7.1をインストールしてみましたが、
grubのインストールに失敗しました。

結論を書きますと、
CONFIG_EFI_VARS=y
にしたカーネルを作って起動し、
grub-installを実行したところgrubのインストールに成功しました。


以下に経過を書きます。
何かお気づきの点がございましたらご指摘ください。

----
インストールディスクからインストーラーを起動して
インストールしたパーティションにchrootしてgrub-installを実行しても、
インストーラーのgrubで下記のコマンドを実行して起動して
grub-installを実行しても失敗しました。
grub> set root=(hd1,gpt6)
grub> linux /boot/vmlinuz-4.19.35-plamo64 ro root=/dev/nvme0n1p6
grub> boot


表示されるエラーは下記のとおりです。

# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --boot-directory=/boot/efi --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No
such file or directory.

debugオプションをつけて実行した結果を下記に置きます。
https://1drv.ms/u/s!Aq6ucMHSXhJ-htwA3PIdYcba0f8nZA?e=Fm6HXN


get_pkginfoでアップデートし、
kernel-5.2.11-x86_64-B1にしてもエラーになりました。


そこでCONFIG_EFI_VARSをyにしてカーネルを作り直して起動し、
grub-installを実行したところ成功しました。

カーネルconfigは4.19.35のconfigをもとに作ってしまったのですが、
kernel-5.2.11-x86_64-B1のconfigとのdiffは下記のようになっています。

$ diff /boot/config-5.2.11-plamo64 config
7c7
< # Compiler: gcc (GCC) 9.1.0
---
# Compiler: gcc (GCC) 9.2.0
10c10
< CONFIG_GCC_VERSION=90100
---
CONFIG_GCC_VERSION=90200
23c23
< CONFIG_LOCALVERSION="-plamo64"
---
CONFIG_LOCALVERSION="-plamo64-2"
674c674
< # CONFIG_EFI_VARS is not set
---
CONFIG_EFI_VARS=y
675a676,677
CONFIG_EFI_VARS_PSTORE=y
# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
678a681
# CONFIG_EFI_BOOTLOADER_CONTROL is not set
2378c2381
< CONFIG_NVME_TCP=m
---
# CONFIG_NVME_TCP is not set
2384c2387
< CONFIG_NVME_TARGET_TCP=m
---
# CONFIG_NVME_TARGET_TCP is not set
2431c2434
< CONFIG_EEPROM_EE1004=m
---
# CONFIG_EEPROM_EE1004 is not set
2449c2452
< CONFIG_INTEL_MEI_HDCP=m
---
# CONFIG_INTEL_MEI_HDCP is not set



以上、よろしくお願いします。


Follow-Ups
[plamo:33283] Re: OneMix3S プラチナエディションとCONFIG_EFI_VARS, ABE Shin-ichi

[検索ページ] [メール一覧]
Plamo ML 公開システム