Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #257611 > unrolled thread

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

Started byValentin Caracalla <vorubergehend@tutanota.com>
First post2023-04-26 00:20 +0200
Last post2023-04-26 10:50 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Valentin Caracalla <vorubergehend@tutanota.com> - 2023-04-26 00:20 +0200
    Re: Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Nicolas George <george@nsup.org> - 2023-04-26 00:30 +0200
    Re: Debian installation using debootstrap and grub-install - no entry  in ESC boot menu Max Nikulin <manikulin@gmail.com> - 2023-04-26 04:40 +0200
      Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Greg Wooledge <greg@wooledge.org> - 2023-04-26 04:50 +0200
        Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Nicolas George <george@nsup.org> - 2023-04-26 10:50 +0200

#257611 — Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

FromValentin Caracalla <vorubergehend@tutanota.com>
Date2023-04-26 00:20 +0200
SubjectRe: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Message-ID<GozaV-4vL2-1@gated-at.bofh.it>
Here's the output you requested:

user@host:~$ ls -dl $(find /mnt/boot/efi) 
drwxr-xr-x 3 root root   32768 Jan  1  1970 /mnt/boot/efi 
drwxr-xr-x 3 root root   32768 Apr 25 13:59 /mnt/boot/efi/EFI 
drwxr-xr-x 2 root root   32768 Apr 25 13:59 /mnt/boot/efi/EFI/debian 
-rwxr-xr-x 1 root root     108 Apr 25 13:59 /mnt/boot/efi/EFI/debian/BOOTX64.CSV 
-rwxr-xr-x 1 root root   84648 Apr 25 13:59 /mnt/boot/efi/EFI/debian/fbx64.efi 
-rwxr-xr-x 1 root root     126 Apr 25 13:59 /mnt/boot/efi/EFI/debian/grub.cfg 
-rwxr-xr-x 1 root root 4150720 Apr 25 13:59 /mnt/boot/efi/EFI/debian/grubx64.efi 
-rwxr-xr-x 1 root root  845480 Apr 25 13:59 /mnt/boot/efi/EFI/debian/mmx64.efi 
-rwxr-xr-x 1 root root  934240 Apr 25 13:59 /mnt/boot/efi/EFI/debian/shimx64.efiuser@host:~$ efibootmgr -v               
EFI variables are not supported on this system.

[toc] | [next] | [standalone]


#257612

FromNicolas George <george@nsup.org>
Date2023-04-26 00:30 +0200
Message-ID<GozkB-4vO6-1@gated-at.bofh.it>
In reply to#257611

[Multipart message — attachments visible in raw view] — view raw

Valentin Caracalla (12023-04-26):
> EFI variables are not supported on this system.

To install GRUB in UEFI, you need to have booted the kernel in UEFI.

Try to find a live image that does, and you can reinstall GRUB from
there.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#257615 — Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

FromMax Nikulin <manikulin@gmail.com>
Date2023-04-26 04:40 +0200
SubjectRe: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Message-ID<GoDey-4yep-1@gated-at.bofh.it>
In reply to#257611
On 26/04/2023 05:02, Valentin Caracalla wrote:
> 
> user@host:~$ ls -dl $(find /mnt/boot/efi)

find /mnt/boot/efi -print0 | xargs -0 ls -dl --

should be more resistant to peculiar file names, but it does not matter 
in this case.

...
> -rwxr-xr-x 1 root root     126 Apr 25 13:59 /mnt/boot/efi/EFI/debian/grub.cfg
> -rwxr-xr-x 1 root root 4150720 Apr 25 13:59 /mnt/boot/efi/EFI/debian/grubx64.efi
...

Unless firmware is buggy and it requires EFI/BOOT/BOOTX64.EFI removable 
layout, it should be enough (of course with other files that I removed 
from the quote).

user@host:~$ efibootmgr -v
> EFI variables are not supported on this system.

Either you run it from qemu booted in BIOS mode or you did not mount to 
chroot (I have never tried to manage EFI variables from chroot)

efivarfs on /sys/firmware/efi/efivars type efivarfs 
(rw,nosuid,nodev,noexec,relatime)

Likely it is the reason why installer was not able to create a BootXXXX 
entry and to adjust BootOrder.

[toc] | [prev] | [next] | [standalone]


#257616

FromGreg Wooledge <greg@wooledge.org>
Date2023-04-26 04:50 +0200
Message-ID<GoDod-4yhF-3@gated-at.bofh.it>
In reply to#257615
On Wed, Apr 26, 2023 at 09:34:11AM +0700, Max Nikulin wrote:
> On 26/04/2023 05:02, Valentin Caracalla wrote:
> > 
> > user@host:~$ ls -dl $(find /mnt/boot/efi)
> 
> find /mnt/boot/efi -print0 | xargs -0 ls -dl --
> 
> should be more resistant to peculiar file names, but it does not matter in
> this case.

find /mnt/boot/efi -exec ls -dl {} +

Also, GNU find has a -ls action, which has a different format, but is
worth a look:

find /mnt/boot/efi -ls

[toc] | [prev] | [next] | [standalone]


#257621

FromNicolas George <george@nsup.org>
Date2023-04-26 10:50 +0200
Message-ID<GoJ0B-4Cnp-3@gated-at.bofh.it>
In reply to#257616

[Multipart message — attachments visible in raw view] — view raw

Greg Wooledge (12023-04-25):
> find /mnt/boot/efi -exec ls -dl {} +

zsh
ls -dl /mnt/boot/efi/**/*

Regards,

-- 
  Nicolas George

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web