• Re: Unable to install GRUB in dummy

    From David Wright@21:1/5 to hlyg on Mon Mar 31 05:00:01 2025
    On Sun 30 Mar 2025 at 11:50:52 (+0800), hlyg wrote:
    i install with debian-12.10.0-amd64-netinst.iso

    during final stage of installation, it fails to install grub

    "Executing 'grub-install dummy' failed."
    "This is a fatal error."

    how to solve it?

    Presumably that error message was from the screen. Have you looked
    at /var/log/installer/syslog for more expansive error messages?

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to hlyg on Mon Mar 31 23:30:01 2025
    On Tue, Apr 01, 2025 at 04:09:31AM +0800, hlyg wrote:

    On 3/31/25 10:50, David Wright wrote:
    Presumably that error message was from the screen. Have you looked
    at /var/log/installer/syslog for more expansive error messages?

    Cheers,
    David.

    Thank Wright! i have solved it on my own

    i am new user of gpt, fatal error is caused by my failure to create efi partition


    Make it simple for yourself. If you are at all unsure when you install,
    just take guided partitioning.

    That should set up a 512M partition for boot, a 1G partition for swap
    and the rest of the disk for /

    Unless you *really have* to partition things yourself, putting everything
    in one partition will normally work. Once you've done this a few times
    and know what you want, then you can partition separate space for /var
    or whatever.

    GPT and UEFI is the way forward on machines that support them.

    it seems both installer and i are quite dumb

    in the end i use mbr, as one of my PCs doesn't support gpt

    btw what is recommended size of efi partition?

    default size is 512M


    All the very best, as ever,

    Andrew Cater
    (amacater@debian.org)



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to hlyg on Tue Apr 1 05:00:02 2025
    On Tue 01 Apr 2025 at 04:09:31 (+0800), hlyg wrote:
    On 3/31/25 10:50, David Wright wrote:
    Presumably that error message was from the screen. Have you looked
    at /var/log/installer/syslog for more expansive error messages?

    Thank Wright! i have solved it on my own

    i am new user of gpt, fatal error is caused by my failure to create
    efi partition

    it seems both installer and i are quite dumb

    Or you didn't look at the Installation Guide.

    in the end i use mbr,

    I presume that means that you are BIOS-booting.

    as one of my PCs doesn't support gpt

    I'm surprised. I BIOS-boot my 20-yr old laptop into linux running on a
    GPT disk, and I scrapped a similar but older desktop too. Grub is
    installed in the protective MBR of the GPT disk, so the BIOS boots
    the MBR in the same way as if the disk was MBR-partitioned.

    btw what is recommended size of efi partition?

    default size is 512M

    That's what I use (they're linux-only computers):

    Filesystem IUse% Type 1MB-blocks Used Avail Use% Mounted on
    /dev/sda2 - vfat 520 24 496 5% /boot/efi

    My BIOS-booting computers have a similarly-sized partition, but used
    as swap. It's there so that the disk is future-proofed for used with
    a UEFI computer.

    Other OSes might put other stuff in /boot/efi/; I don't know any details.

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)