首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu安装失败-无法安装grub锁定-NVram

Ubuntu安装失败-无法安装grub锁定-NVram
EN

Ask Ubuntu用户
提问于 2023-05-23 21:21:38
回答 1查看 59关注 0票数 0

在我的折叠式迷你PC上安装Ubuntu22.04.2(桌面)时出现问题: HP EliteDesk 800 G3 DM i5-6500T8GRAM 240 GB

没有双重引导,只想要Ubuntu。

我在USB手柄上创建了一个引导加载程序,可以很好地启动。二次检查,USB棒是GPT格式。在安装过程结束时,我收到了一个错误消息:

代码语言:javascript
运行
复制
Unable to install GRUB in /dev/sda
Executing `grub-install /dev/sda` failed.
This is a fatal error.

我尝试将BIOS中的设置更改为以下两个选项:

代码语言:javascript
运行
复制
Legacy Support Disable and Secure Boot Disable
Legacy Support Enable and Secure Boot Disable

从BIOS中删除快速启动选项。

安装后尝试从磁盘启动UEFI和Legacy - UEFI被卡在启动屏幕上,Legacy找不到引导映像(假设这取决于我在UEFI上安装Ubuntu )。

在尝试Ubuntu模式下通过终端运行引导修复磁盘时,我会收到以下输出:

代码语言:javascript
运行
复制
An error occurred during the repair.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

Please write on a paper the following URL:
https://paste.ubuntu.com/p/GPx5PKK9hy/


In case you still experience boot problem, indicate this URL to:
boot.repair@gmail.com

也尝试过重新安装Ubuntu几次。

编辑230529:除了上面的内容外,我现在还尝试了以下几种方法:

  1. 重置CMOS,重新安装,磁盘修复->相同的错误,无法安装GRUB,NVram锁定
  2. 更新到最新的HP bios 2.46,重命名为ubuntu,磁盘修复->相同的错误,无法安装GRUB,NVram锁定

不知道我还能尝试什么。其他版本的Ubuntu可能会更好吗?是否可以通过传递NVram锁定问题来手动安装GRUB?

巴斯特宾最新的启动维修:

代码语言:javascript
运行
复制
boot-repair-4ppa2056                                              [20230529_2039]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda2,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Mount sda1 on /mnt/boot-sav/sda2/boot/efi
No sda2/boot/efi/efi/ ubuntu/mint folder

Unhide GRUB boot menu in sda2/etc/default/grub

======================== Reinstall the grub-efi of sda2 ========================

chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
chroot /mnt/boot-sav/sda2 modprobe efivars

chroot /mnt/boot-sav/sda2 efibootmgr -v before grub install
BootCurrent: 000D
Timeout: 0 seconds
BootOrder: 000D,000A,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000F
Boot0000  Startup Menu  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* SAMSUNG MZ7LN256HAJQ-000H1    PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000C* IPV4 Network - Intel(R) Ethernet Connection (5) I219-LM   PciRoot(0x0)/Pci(0x1f,0x6)/MAC(186024278b1d,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot000D* Kingston DataTraveler 3.0 E0D55E6CE77C1731F9B60656    PciRoot(0x0)/Pci(0x14,0x0)/USB(18,0)N.....YM....R,Y.....ISPH
Boot000F  Network Boot  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)N.....YM....R,Y.....ISPH
Boot0013  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)N.....YM....R,Y.....ISPH
Boot0014  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)N.....YM....R,Y.....ISPH
Boot0015  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)N.....YM....R,Y.....ISPH
Boot0016  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(19,0)N.....YM....R,Y.....ISPH
Boot0017  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(20,0)N.....YM....R,Y.....ISPH

chroot /mnt/boot-sav/sda2 uname -r
5.19.0-32-generic

chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory.
Exit code: 1
Error: no grub*.efi generated for Ubuntu 22.04.2 LTS. Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda2 /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --recheck
Installing for x86_64-efi platform.
/sbin/grub-install: error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory.

chroot /mnt/boot-sav/sda2 /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
/sbin/grub-install: error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory.
--no-nvram exit code: 1 Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda2 efibootmgr -v after grub install
BootCurrent: 000D
Timeout: 0 seconds
BootOrder: 000D,000A,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000F
Boot0000  Startup Menu  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* SAMSUNG MZ7LN256HAJQ-000H1    PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000C* IPV4 Network - Intel(R) Ethernet Connection (5) I219-LM   PciRoot(0x0)/Pci(0x1f,0x6)/MAC(186024278b1d,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot000D* Kingston DataTraveler 3.0 E0D55E6CE77C1731F9B60656    PciRoot(0x0)/Pci(0x14,0x0)/USB(18,0)N.....YM....R,Y.....ISPH
Boot000F  Network Boot  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)N.....YM....R,Y.....ISPH
Boot0013  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)N.....YM....R,Y.....ISPH
Boot0014  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)N.....YM....R,Y.....ISPH
Boot0015  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)N.....YM....R,Y.....ISPH
Boot0016  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(19,0)N.....YM....R,Y.....ISPH
Boot0017  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(20,0)N.....YM....R,Y.....ISPH
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-32-generic
Found initrd image: /boot/initrd.img-5.19.0-32-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
cp: error reading '/mnt/boot-sav/sda1/boot/grub/grub.cfg': Input/output error
cp: error reading '/mnt/boot-sav/sda1/boot/grub/grub.cfg': Input/output error
cat: /mnt/boot-sav/sda1/boot/grub/grub.cfg: Input/output error

Unhide GRUB boot menu in sda2/boot/grub/grub.cfg

An error occurred during the repair.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

Locked-NVram detected.


============================ Boot Info After Repair ============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda1 has 
                       7811072 sectors.. But according to the info from the 
                       partition table, it has 1048575 sectors.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/BOOT/grubx64.efi 
                       /efi/BOOT/mmx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.2 LTS on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: HD Graphics 530 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.2 LTS, jammy, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: P21 Ver. 02.46(2.46) from HP
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 000D
Timeout: 0 seconds
BootOrder: 000D,000A,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000F
Boot0000  Startup Menu  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics    FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery   FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* SAMSUNG MZ7LN256HAJQ-000H1    PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000C* IPV4 Network - Intel(R) Ethernet Connection (5) I219-LM   PciRoot(0x0)/Pci(0x1f,0x6)/MAC(186024278b1d,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot000D* Kingston DataTraveler 3.0 E0D55E6CE77C1731F9B60656    PciRoot(0x0)/Pci(0x14,0x0)/USB(18,0)N.....YM....R,Y.....ISPH
Boot000F  Network Boot  FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)N.....YM....R,Y.....ISPH
Boot0013  Generic USB Storage   PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)N.....YM....R,Y.....ISPH
Boot0014  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)N.....YM....R,Y.....ISPH
Boot0015  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)N.....YM....R,Y.....ISPH
Boot0016  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(19,0)N.....YM....R,Y.....ISPH
Boot0017  PHIYO USBTB3-12 123456789010  PciRoot(0x0)/Pci(0x14,0x0)/USB(20,0)N.....YM....R,Y.....ISPH

bfd3f5550a8a28a1021abe2b838e3b6a   sda1/BOOT/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/BOOT/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/BOOT/BOOTx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : is-GPT,   no-BIOSboot,    has---ESP,  not-usb,    not-mmc, has-os,    no-wind,    2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1    : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
sda2    : is-os,    64, apt-get,    signed grub-pc grub-efi ,   grub2,  grub-install,   grubenv-ok, update-grub,    farbios

Partitions info (2/3): _________________________________________________________

sda1    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
sda2    : isnotESP, fstab-has-goodEFI,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot

Partitions info (3/3): _________________________________________________________

sda1    : not--sepboot, no-kernel,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, sda
sda2    : not--sepboot, with-boot,  fstab-without-boot, not-sep-usr,    with--usr,  fstab-without-usr,  std-grub.d, sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 3BA790CF-AA11-4F68-9E63-B7827D5332AD
        Start       End   Sectors  Size Type
sda1     2048   1050623   1048576  512M EFI System
sda2  1050624 500117503 499066880  238G Linux filesystem
Disk sdb: 28.87 GiB, 30995907072 bytes, 60538881 sectors
Disk identifier: A0891D7E-B930-4513-94D9-F629DBD637B2
        Start      End  Sectors  Size Type
sdb1       64  9613459  9613396  4.6G Microsoft basic data
sdb2  9613460  9623527    10068  4.9M EFI System
sdb3  9623528  9624127      600  300K Microsoft basic data
sdb4  9625600 60538817 50913218 24.3G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:4096:gpt:ATA SAMSUNG MZ7LN256:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:256GB:256GB:ext4::;
sdb:31.0GB:scsi:512:512:gpt:Kingston DataTraveler 3.0:;
1:32.8kB:4922MB:4922MB::ISO9660:hidden, msftdata;
2:4922MB:4927MB:5155kB::Appended2:boot, esp;
3:4927MB:4928MB:307kB::Gap1:hidden, msftdata;
4:4928MB:31.0GB:26.1GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
├─sda1 vfat     56CC-DEF5                            77351f3c-e37c-4954-8f18-3574b7a9fc09                          EFI System Partition
└─sda2 ext4     5b1d7148-f97e-4c0a-9033-464093f7d363 4478c86e-3287-4137-958c-42df32698ebb                          
sdb    iso9660  2023-02-23-04-13-44-00                                                    Ubuntu 22.04.2 LTS amd64 
├─sdb1 iso9660  2023-02-23-04-13-44-00               a0891d7e-b930-4513-94d8-f629dbd637b2 Ubuntu 22.04.2 LTS amd64 ISO9660
├─sdb2 vfat     F7DB-4D56                            a0891d7e-b930-4513-94db-f629dbd637b2 ESP                      Appended2
├─sdb3                                               a0891d7e-b930-4513-94da-f629dbd637b2                          Gap1
└─sdb4 ext4     9ef377e8-76c4-4b9c-8c26-e4738a2dd8df 0d7ad038-c798-234d-b090-1211e3d3c043 writable                 

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2023-05-29.2/crash]  22.5G   0% /var/crash
/dev/disk/by-label/writable[/install-logs-2023-05-29.2/log]    22.5G   0% /var/log
/dev/sda1                                                     491.1M  87% /mnt/boot-sav/sda1
/dev/sda2                                                     211.5G   4% /mnt/boot-sav/sda2
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________


====================== sda1/boot/grub/grub.cfg (filtered) ======================


==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

====================== sda2/boot/grub/grub.cfg (filtered) ======================

Ubuntu   5b1d7148-f97e-4c0a-9033-464093f7d363
Ubuntu, with Linux 5.19.0-32-generic   5b1d7148-f97e-4c0a-9033-464093f7d363
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=5b1d7148-f97e-4c0a-9033-464093f7d363 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=56CC-DEF5  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

==================== sda2: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 228.211238861 = 245.039951872  boot/vmlinuz                                   2
 228.211238861 = 245.039951872  boot/vmlinuz-5.19.0-32-generic                 2
 229.466518402 = 246.387798016  boot/initrd.img                                1
 229.466518402 = 246.387798016  boot/initrd.img-5.19.0-32-generic              1
 229.466518402 = 246.387798016  boot/initrd.img.old                            1

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec  2 15:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2 15:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec  2 15:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec  2 15:18 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2 15:18 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2 15:18 40_custom
-rwxr-xr-x 1 root root   215 Dec  2 15:18 41_custom
EN

回答 1

Ask Ubuntu用户

发布于 2023-05-23 21:35:06

您可以按照这个问题来了解有关EFI引导分区的更多信息。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1469141

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档