It really depends on the hardware of the laptop from which you are booting.
If you have BIOS rather than an Extensible Firmware Interface (also known
as UEFI or safe boot), the present version of GRUB does not install
correctly. For a BIOS machine with GPT partitioning, you must install a
small ~256M FAT partition with BIOS GRUB and legacy boot flags set as the
first partition, before a ~256M /boot/efi partition which is FAT16
formatting flagged boot and ESP which is needed to finish installation with
the present installer, then your swap partition and /, /home, or whatever
other distribution and personal preference ext4 or whatever partitions.
While still in the live installer or from a boot rescue, you must then open
a terminal and execute the following if your boot flash drive is /dev/sda::

$ sudo update-grub && grub-install --target=i386-pc /dev/sda

Note: For later versions, ie. Xubuntu 23.04 nightly, you may also have to
copy the i386-pc folder from a 20.04 installation.

After much research, this is how I keep up my BIOS AMD Athlon II machine.

Carl Snyder

On Wed, Feb 1, 2023 at 2:20 PM <[email protected]>
wrote:

> Send xubuntu-users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of xubuntu-users digest..."
>
>
> Today's Topics:
>
>    1.  unable to install grub (Clarence Fender)
>    2. Re:  unable to install grub (François P. Rotzinger)
>    3. Re:  unable to install grub (Michele Mor)
>    4. Re:  unable to install grub (Clarence Fender)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 1 Feb 2023 13:09:26 -0500
> From: Clarence Fender <[email protected]>
> To: Xubuntu Support and User Discussions
>         <[email protected]>
> Subject: [xubuntu-users] unable to install grub
> Message-ID:
>         <CAJ9d0EyENy+7GbY3dSTe6-F79uaSmVuZuwrYUZz_uy8tpE=
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> "something else" disk part
> sda is where everything goes except HOME
> sdb/nvm_etc  is /HOME
>
> Unable to install GRUB in /dev/sda
> Executing `grub-install /dev/sda` failed
> fatal error
> --> Can't fix this, no matter what I do.
>
> Spent a long time researching: common problem going back years. Seems to
> revolve around boot, legacy vs new. I haven't touched any boot settings.
> Tried different partitions and flags. Tried using sda1 instead of sda -
> same error.
>
> sda   - all primary partitions
> 1M (appears by itself, no format)
> 500M  tried /BOOT and nothing
> 50G  ext4  /
> 16M swap
> remainder of space ext4 but not mounted
>
> sdb  ext4 /HOME
>
> Is there a different sda partitioning I need? No data on it so no worries.
> If I had hair, I'd be pulling it out.
>
> Thanks.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/3d7f57af/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Feb 2023 19:25:07 +0100
> From: François P. Rotzinger <[email protected]>
> To: [email protected]
> Subject: Re: [xubuntu-users] unable to install grub
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Maybe, you should create an EFI partition. Typing "df", do you get
> something like
>
> /dev/nvme0n1p1 973952     6184    967768   1% /boot/efi
>
> (or perhaps /dev/sda1)?
>
> Good luck, François
>
> On 2/1/23 19:09, Clarence Fender wrote:
> > Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> > "something else" disk part
> > sda is where everything goes except HOME
> > sdb/nvm_etc  is /HOME
> >
> > Unable to install GRUB in /dev/sda
> > Executing `grub-install /dev/sda` failed
> > fatal error
> > --> Can't fix this, no matter what I do.
> >
> > Spent a long time researching: common problem going back years. Seems
> > to revolve around boot, legacy vs new. I haven't touched any boot
> > settings. Tried different partitions and flags. Tried using sda1
> > instead of sda - same error.
> >
> > sda   - all primary partitions
> > 1M (appears by itself, no format)
> > 500M  tried /BOOT and nothing
> > 50G  ext4  /
> > 16M swap
> > remainder of space ext4 but not mounted
> >
> > sdb  ext4 /HOME
> >
> > Is there a different sda partitioning I need? No data on it so no
> worries.
> > If I had hair, I'd be pulling it out.
> >
> > Thanks.
> >
> >
> --
> François P. Rotzinger
> Chemin des Vignes 20
> CH-1373 Chavornay
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/7c296080/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 1 Feb 2023 19:06:19 +0000
> From: Michele Mor <[email protected]>
> To: Xubuntu Support and User Discussions
>         <[email protected]>
> Subject: Re: [xubuntu-users] unable to install grub
> Message-ID:
>         <CAA3b2=gvFx93nr4Ch3HXXQWY2G=bWH5iRAWSBY=
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> Have you tried to reinstall xubuntu from a usb/dvd?
> It should set up the grub automatically.
> If your data is in a different partition, there should be no risk of
> deleting it (but always do a back up first).
>
> I have tried to repair a corrupted grub manually, but spent hours and did
> not succeed. At the end I decided to reinstall.
>
> Good luck.
> Michele
>
> On Wed, 1 Feb 2023, 18:25 François P. Rotzinger, <[email protected]> wrote:
>
> > Maybe, you should create an EFI partition. Typing "df", do you get
> > something like
> >
> > /dev/nvme0n1p1    973952     6184    967768   1% /boot/efi
> >
> > (or perhaps /dev/sda1)?
> >
> > Good luck, François
> > On 2/1/23 19:09, Clarence Fender wrote:
> >
> > Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> > "something else" disk part
> > sda is where everything goes except HOME
> > sdb/nvm_etc  is /HOME
> >
> > Unable to install GRUB in /dev/sda
> > Executing `grub-install /dev/sda` failed
> > fatal error
> > --> Can't fix this, no matter what I do.
> >
> > Spent a long time researching: common problem going back years. Seems to
> > revolve around boot, legacy vs new. I haven't touched any boot settings.
> > Tried different partitions and flags. Tried using sda1 instead of sda -
> > same error.
> >
> > sda   - all primary partitions
> > 1M (appears by itself, no format)
> > 500M  tried /BOOT and nothing
> > 50G  ext4  /
> > 16M swap
> > remainder of space ext4 but not mounted
> >
> > sdb  ext4 /HOME
> >
> > Is there a different sda partitioning I need? No data on it so no
> worries.
> > If I had hair, I'd be pulling it out.
> >
> > Thanks.
> >
> >
> > --
> > François P. Rotzinger
> > Chemin des Vignes 20
> > CH-1373 Chavornay
> >
> > --
> > xubuntu-users mailing list
> > [email protected]
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/fa8a3a31/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Wed, 1 Feb 2023 14:20:23 -0500
> From: Clarence Fender <[email protected]>
> To: Xubuntu Support and User Discussions
>         <[email protected]>
> Subject: Re: [xubuntu-users] unable to install grub
> Message-ID:
>         <
> caj9d0eyeb_zwkgwmgzn9k9zmd+0+prhouaq9bfrutgt4gst...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Yes, I tried an EFI partition on sda.  Same error.
>
> Trying again, I used gparted, installed partitions. Did install - made the
> partition EFI, which left no option for type or mount. Failed. Tried FAT32,
> mounted /BOOT/EFI, install told me there was no EFI partition and it
> wouldn't boot.
>
> Thanks
>
> On Wed, Feb 1, 2023 at 1:25 PM François P. Rotzinger <[email protected]>
> wrote:
>
> > Maybe, you should create an EFI partition. Typing "df", do you get
> > something like
> >
> > /dev/nvme0n1p1    973952     6184    967768   1% /boot/efi
> >
> > (or perhaps /dev/sda1)?
> >
> > Good luck, François
> > On 2/1/23 19:09, Clarence Fender wrote:
> >
> > Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> > "something else" disk part
> > sda is where everything goes except HOME
> > sdb/nvm_etc  is /HOME
> >
> > Unable to install GRUB in /dev/sda
> > Executing `grub-install /dev/sda` failed
> > fatal error
> > --> Can't fix this, no matter what I do.
> >
> > Spent a long time researching: common problem going back years. Seems to
> > revolve around boot, legacy vs new. I haven't touched any boot settings.
> > Tried different partitions and flags. Tried using sda1 instead of sda -
> > same error.
> >
> > sda   - all primary partitions
> > 1M (appears by itself, no format)
> > 500M  tried /BOOT and nothing
> > 50G  ext4  /
> > 16M swap
> > remainder of space ext4 but not mounted
> >
> > sdb  ext4 /HOME
> >
> > Is there a different sda partitioning I need? No data on it so no
> worries.
> > If I had hair, I'd be pulling it out.
> >
> > Thanks.
> >
> >
> > --
> > François P. Rotzinger
> > Chemin des Vignes 20
> > CH-1373 Chavornay
> >
> > --
> > xubuntu-users mailing list
> > [email protected]
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/2b024135/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> --
> xubuntu-users mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
>
> ------------------------------
>
> End of xubuntu-users Digest, Vol 193, Issue 2
> *********************************************
>
-- 
xubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to