Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.mint > #39634
| From | Jack Strangio <jackstrangio@yahoo.com> |
|---|---|
| Newsgroups | alt.os.linux.mint |
| Subject | Re: Linux Mint 21.1 |
| Date | 2022-12-31 08:48 +0000 |
| Organization | North Star Horizon Builders Club |
| Message-ID | <rnqKwK.DLIH@yahoo.com> (permalink) |
| References | <zFfrL.30164$rKDc.20180@fx34.iad> |
Nic <Nic@none.net> writes:
> On 12/28/22 11:25 PM, Jack Strangio wrote:
> >
> > It save a lot of angst having somewhere to experiment with, and having a
> > good system that's working when disaster strikes.
>
> That sounds like a good strategy, except when the experiment disturbs
> the grub boot loader.
>
Then you run a 'repair' script that works to chroot into one of the root
partitions and then you either reinstall grub or update grub or both.
I'll see if I can dig one up. ... This looks like it might be the most
recent one: "repair.grub.efi.old.installation.nvme"
=======================================================================
# 2018
#When doing a UEFI installation of Mint, it seems fairly common that there
#is a bug which aborts the installation, and gives an error of
# " grub-efi-amd64-signed failed installation /target/"
# repeat the installation by running this script from the
# "testing Mint option" - IOW run the installation with the script rather
#than clicking in the 'Install' icon.
# Boot Ubuntu Live DVD/USB in testing mode and open terminal
echo -n "This needs to be run from a live disk. OK???? (ctl-C to abort) "
read ANSWER
if [ "$LOGNAME" = "root" ]; then
echo " NVME Disks have the format /dev/nvmeXXnYY where "
echo " XX is the Controller Number and YY is the Drive Number"
echo " (USE 'fdisk -l' if you want to see what's on the system)"
echo " "
echo " "
echo "give the Controller Number of the Hard Drive(s) we're using:"
read XX
echo " "
echo -n "give hard-drive number containing the root partition: (number ONLY) "
read YY
fdisk -l /dev/nvme${XX}n${YY}
echo " "
echo -n "give PARTITION number of the root partition on /dev/nvme${XX}n${YY}: (NumberONLY) "
read TARGET
echo -n "give PARTITION number of the EFI partition on /dev/nvme${XX}n${YY}: "
read UEFI
# Mount the newly installed file system into /mnt:
sudo mount /dev/nvme${XX}n${YY}p${TARGET} /mnt
sudo mkdir -p /mnt/boot/efi
sudo mount /dev/nvme${XX}n${YY}p$UEFI /mnt/boot/efi
for x in /dev /dev/pts /proc /sys /run
do
sudo mount -B $x /mnt/$x
done
sudo chroot /mnt
grub-install /dev/nvme${XX}n${YY}
update-grub
else
echo " "
echo "Must be root to do this"
echo " "
fi
=========================================================================
Regards,
Jack
--
My wife says I have two faults:
I don't listen and something else.
Back to alt.os.linux.mint | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Linux Mint 21.1 Jeff Layman <Jeff@invalid.invalid> - 2022-12-08 17:04 +0000
Re: Linux Mint 21.1 Mike Easter <MikeE@ster.invalid> - 2022-12-08 09:53 -0800
Re: Linux Mint 21.1 Big Al <Bears@invalid.com> - 2022-12-08 13:50 -0500
Re: Linux Mint 21.1 Mike Easter <MikeE@ster.invalid> - 2022-12-08 12:08 -0800
Re: Linux Mint 21.1 yossarian <nomail@gmail.com> - 2022-12-08 23:07 +0100
Re: Linux Mint 21.1 Mike Easter <MikeE@ster.invalid> - 2022-12-08 14:34 -0800
Re: Linux Mint 21.1 dillinger <dillinger@invalid.not> - 2022-12-09 00:02 +0100
Re: Linux Mint 21.1 Jeff Layman <Jeff@invalid.invalid> - 2022-12-08 18:59 +0000
Re: Linux Mint 21.1 Mike Easter <MikeE@ster.invalid> - 2022-12-08 12:10 -0800
Re: Linux Mint 21.1 Rob H <rob@despammer.com> - 2022-12-09 17:41 +0000
Re: Linux Mint 21.1 Big Al <Bears@invalid.com> - 2022-12-09 13:07 -0500
Re: Linux Mint 21.1 Rob H <rob@despammer.com> - 2022-12-10 13:01 +0000
Re: Linux Mint 21.1 Gordon <Gordon@leaf.net.nz> - 2022-12-11 22:42 +0000
Re: Linux Mint 21.1 Jeff Layman <Jeff@invalid.invalid> - 2022-12-08 20:25 +0000
Re: Linux Mint 21.1 Big Al <Bears@invalid.com> - 2022-12-20 18:17 -0500
Re: Linux Mint 21.1 Yrrah <Yrrah-aolm@aolm.invalid> - 2022-12-21 15:01 +0100
Re: Linux Mint 21.1 yossarian <nomail@gmail.com> - 2022-12-21 21:31 +0100
Re: Linux Mint 21.1 yossarian <nomail@gmail.com> - 2022-12-22 08:11 +0100
Re: Linux Mint 21.1 Yrrah <Yrrah-aolm@aolm.invalid> - 2022-12-22 14:18 +0100
Re: Linux Mint 21.1 Big Al <Bears@invalid.com> - 2022-12-22 09:28 -0500
Re: Linux Mint 21.1 Monsieur <Monsieur@notreal.invalid> - 2022-12-23 20:42 +0100
Re: Linux Mint 21.1 Jeff Layman <Jeff@invalid.invalid> - 2022-12-23 20:10 +0000
Re: Linux Mint 21.1 Mike Bott <mbott001@gmail.com> - 2022-12-23 15:23 -0500
Re: Linux Mint 21.1 Nic <Nic@none.net> - 2022-12-23 15:36 -0500
Re: Linux Mint 21.1 Mike Bott <mbott001@gmail.com> - 2022-12-23 15:54 -0500
Re: Linux Mint 21.1 Monsieur <Monsieur@notreal.invalid> - 2022-12-28 09:16 +0100
Re: Linux Mint 21.1 Jeff Layman <Jeff@invalid.invalid> - 2022-12-28 08:51 +0000
Re: Linux Mint 21.1 Monsieur <Monsieur@notreal.invalid> - 2022-12-28 14:09 +0100
Re: Linux Mint 21.1 Nic <Nic@none.net> - 2022-12-28 07:04 -0500
Re: Linux Mint 21.1 Monsieur <Monsieur@notreal.invalid> - 2022-12-28 14:09 +0100
Re: Linux Mint 21.1 Nic <Nic@none.net> - 2022-12-28 08:24 -0500
Re: Linux Mint 21.1 Jack Strangio <jackstrangio@yahoo.com> - 2022-12-29 04:25 +0000
Re: Linux Mint 21.1 Nic <Nic@none.net> - 2022-12-29 07:23 -0500
Re: Linux Mint 21.1 mechanic <mechanic@example.net> - 2022-12-30 11:44 +0000
Re: Linux Mint 21.1 Nic <Nic@none.net> - 2022-12-30 09:03 -0500
Re: Linux Mint 21.1 Big Al <Bears@invalid.com> - 2022-12-30 15:37 -0500
Re: Linux Mint 21.1 Paul <nospam@needed.invalid> - 2022-12-30 09:59 -0500
Re: Linux Mint 21.1 Jack Strangio <jackstrangio@yahoo.com> - 2022-12-31 08:48 +0000
Re: Linux Mint 21.1 Monsieur <Monsieur@notreal.invalid> - 2023-01-04 21:28 +0100
csiph-web