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


Groups > linux.debian.user > #257595 > 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-25 17:00 +0200
Last post2023-04-26 11:50 +0200
Articles 8 — 5 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-25 17:00 +0200
    Re: Debian installation using debootstrap and grub-install - no entry  in ESC boot menu Max Nikulin <manikulin@gmail.com> - 2023-04-25 19:00 +0200
      Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Nicolas George <george@nsup.org> - 2023-04-25 19:00 +0200
        Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Steve McIntyre <steve@einval.com> - 2023-04-25 19:50 +0200
          Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Nicolas George <george@nsup.org> - 2023-04-25 19:50 +0200
            Re: Debian installation using debootstrap and grub-install - no entry  in ESC boot menu Max Nikulin <manikulin@gmail.com> - 2023-04-26 04:20 +0200
              Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu David Wright <deblis@lionunicorn.co.uk> - 2023-04-26 05:10 +0200
                Re: Debian installation using debootstrap and grub-install - no  entry in ESC boot menu Nicolas George <george@nsup.org> - 2023-04-26 11:50 +0200

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

FromValentin Caracalla <vorubergehend@tutanota.com>
Date2023-04-25 17:00 +0200
SubjectRe: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Message-ID<Gosj7-4rsJ-5@gated-at.bofh.it>
I apologize for the formatting in my last post, I don't know what happened. And many thanks for your help!

I checked my partition table using "sudo parted /dev/sda print" and it didn't show any flags for partition 1 (the "init" partition). Therefore I manually set the flags using "sudo parted /dev/sda set 1 boot on" and now it shows both flags, "boot" and "esp":

Model: ATA ADATA XM11 256GB (scsi) 
Disk /dev/sda: 256GB 
Sector size (logical/physical): 512B/512B 
Partition Table: gpt 
Disk Flags:  
 
Number  Start   End    Size   File system  Name  Flags 
 1      1049kB  128GB  128GB  fat32        init  boot, esp 
 2      128GB   256GB  128GB  ext4         root

However, after reboot, the ESC boot menu still doesn't show an entry for the installed system.

[toc] | [next] | [standalone]


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

FromMax Nikulin <manikulin@gmail.com>
Date2023-04-25 19:00 +0200
SubjectRe: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Message-ID<Goubf-4sAV-5@gated-at.bofh.it>
In reply to#257595
On 25/04/2023 21:40, Valentin Caracalla wrote:
> I checked my partition table using "sudo parted /dev/sda print"
>   
> Number  Start   End    Size   File system  Name  Flags
>   1      1049kB  128GB  128GB  fat32        init  boot, esp
>   2      128GB   256GB  128GB  ext4         root

Please, show

    ls -lA EFI/BOOT
    ls -lA EFI/debian

residing on /dev/sda1 (128GB sounds like unreasonable large ESP 
partition, 0.5GB is usually enough, e.g. 550MiB recommended by 
https://www.rodsbooks.com/gdisk/advice.html#esp_sizing)

    efibootmgr -v

See https://wiki.debian.org/UEFI

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


#257603

FromNicolas George <george@nsup.org>
Date2023-04-25 19:00 +0200
Message-ID<Goubg-4sAV-7@gated-at.bofh.it>
In reply to#257602

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

Max Nikulin (12023-04-25):
> 0.5GB is usually enough, e.g. 550MiB recommended by
> https://www.rodsbooks.com/gdisk/advice.html#esp_sizing)

If you do not intend to install a Microsoft bootloader or anything
besides GRUB, 16 megaoctets is plenty enough, probably can work with
less.

Regards,

-- 
  Nicolas George

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


#257606

FromSteve McIntyre <steve@einval.com>
Date2023-04-25 19:50 +0200
Message-ID<GouXD-4t76-11@gated-at.bofh.it>
In reply to#257603
Nicolas George wrote:
>Max Nikulin (12023-04-25):
>> 0.5GB is usually enough, e.g. 550MiB recommended by
>> https://www.rodsbooks.com/gdisk/advice.html#esp_sizing)
>
>If you do not intend to install a Microsoft bootloader or anything
>besides GRUB, 16 megaoctets is plenty enough, probably can work with
>less.

Please STOP giving this advice to people!

Running out of space on the ESP may cause a lot of hassle
later. *Right now*, GRUB is small. But things do grow over time. Also,
if anybody wants to install an extra OS, or use fwupd to install
firmware updates (for example), saving a small amount of disk space
here could cause a massive PITA later.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
< sladen> I actually stayed in a hotel and arrived to find a post-it
          note stuck to the mini-bar saying "Paul: This fridge and
          fittings are the correct way around and do not need altering"

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


#257608

FromNicolas George <george@nsup.org>
Date2023-04-25 19:50 +0200
Message-ID<GouXD-4t76-13@gated-at.bofh.it>
In reply to#257606

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

Steve McIntyre (12023-04-25):
> >If you do not intend to install a Microsoft bootloader or anything
> >besides GRUB, 16 megaoctets is plenty enough, probably can work with
> >less.
> Please STOP giving this advice to people!

That was not advice, that was information. Make your own advice with it.

-- 
  Nicolas George

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


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

FromMax Nikulin <manikulin@gmail.com>
Date2023-04-26 04:20 +0200
SubjectRe: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Message-ID<GoCVb-4y7p-3@gated-at.bofh.it>
In reply to#257608
On 26/04/2023 00:42, Nicolas George wrote:
> Steve McIntyre (12023-04-25):
>>> If you do not intend to install a Microsoft bootloader or anything
>>> besides GRUB, 16 megaoctets is plenty enough, probably can work with
>>> less.
>> Please STOP giving this advice to people!
> 
> That was not advice, that was information. Make your own advice with it.

Unified Kernel Images are coming (kernel + initramfs e.g. to avoid 
separate unencrypted /boot), so even 550MiB may become too small 
partition in a couple of years.

P.S. Nicolas, it seems your mailer has issues with parsing or formatting 
timestamps.

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


#257617

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2023-04-26 05:10 +0200
Message-ID<GoDHz-4yDw-5@gated-at.bofh.it>
In reply to#257614
On Wed 26 Apr 2023 at 09:14:25 (+0700), Max Nikulin wrote:
> On 26/04/2023 00:42, Nicolas George wrote:
> > Steve McIntyre (12023-04-25):

[ … ]

> P.S. Nicolas, it seems your mailer has issues with parsing or
> formatting timestamps.

Don't knock it! The Human Era is much easier for us to parse than
the French Republican calendar (pre 2018). Fortunately, we didn't
have to deal with decimal time.

Cheers,
David.

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


#257623

FromNicolas George <george@nsup.org>
Date2023-04-26 11:50 +0200
Message-ID<GoJWF-4CXA-1@gated-at.bofh.it>
In reply to#257617

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

David Wright (12023-04-25):
> Don't knock it! The Human Era is much easier for us to parse than

;-)

> the French Republican calendar (pre 2018).

I had not realized I had fans devoted to the point of tracking the eras
of my mail attribution. ;-)²

Regards,

-- 
  Nicolas George

[toc] | [prev] | [standalone]


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


csiph-web