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


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

booting from install usb

Started byPaul Scott <waterhorse@ultrasw.com>
First post2022-05-09 23:00 +0200
Last post2022-05-10 04:40 +0200
Articles 3 — 2 participants

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


Contents

  booting from install usb Paul Scott <waterhorse@ultrasw.com> - 2022-05-09 23:00 +0200
    Re: booting from install usb Felix Miata <mrmazda@earthlink.net> - 2022-05-09 23:20 +0200
      Re: booting from install usb Paul Scott <waterhorse@ultrasw.com> - 2022-05-10 04:40 +0200

#248053 — booting from install usb

FromPaul Scott <waterhorse@ultrasw.com>
Date2022-05-09 23:00 +0200
Subjectbooting from install usb
Message-ID<EliE2-eoF4-9@gated-at.bofh.it>
Greetings,

I haven't done serious system work for many years.

I let my laptop update its UEFI BIOS which of course zapped GRUB.

I am in rescue mode from the USB stick used for install and have mounted 
the root file system and done:

chroot /mydisk (where my root file system is mounted)

I am not sure where to install GRUB with grub-install

I initially installed on a Windows 10 system.

.I have:

/dev/sda1 which is empty

/dev.sda2 which is "ef EFI (FAT-12/16/32)"

/dev/****1p[1-7]  the first of which is EFI System followed by there MS 
partitions and the last three are my Linux partitions.

TIA for any help (I have been searching the web for quite a while 
without success beyond the above),

Paul

[toc] | [next] | [standalone]


#248055

FromFelix Miata <mrmazda@earthlink.net>
Date2022-05-09 23:20 +0200
Message-ID<EliXn-ep3a-1@gated-at.bofh.it>
In reply to#248053
Paul Scott composed on 2022-05-09 12:25 (UTC-0700):

> I let my laptop update its UEFI BIOS which of course zapped GRUB.

Not in the way you think...

> /dev.sda2 which is "ef EFI (FAT-12/16/32)"

This should be the key, suggesting strongly that your Linux installation is
installed in UEFI mode. If this is the case, you should be able to fix the problem
via BIOS setup, to select the (presumably Debian) entry that is probably there to
select as top priority. Alternatively, having executed mount -a after chrooting,
running efibootmgr should allow reorganizing the priority list to put your choice
at the top, or to add a new one if the one you need to be first is missing.

	man efibootmgr
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

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


#248063

FromPaul Scott <waterhorse@ultrasw.com>
Date2022-05-10 04:40 +0200
Message-ID<ElnX3-es5B-3@gated-at.bofh.it>
In reply to#248055
On 5/9/22 14:19, Felix Miata wrote:
> Paul Scott composed on 2022-05-09 12:25 (UTC-0700):
>
>> I let my laptop update its UEFI BIOS which of course zapped GRUB.
> Not in the way you think...
>
>> /dev.sda2 which is "ef EFI (FAT-12/16/32)"
> This should be the key, suggesting strongly that your Linux installation is
> installed in UEFI mode.
That is correct.  I did install in UEFI mode.
> If this is the case, you should be able to fix the problem
> via BIOS setup, to select the (presumably Debian) entry that is probably there to
> select as top priority.
After the BIOS update I mentioned the only boot choice was Windows which 
is why I figured some part of the GRUB stuff had been broken or deleted.
> Alternatively, having executed mount -a after chrooting,
> running efibootmgr should allow reorganizing the priority list to put your choice
> at the top, or to add a new one if the one you need to be first is missing.
>
> 	man efibootmgr

That didn't seem to work but as I was trying to figure out why I 
discovered I must have missed where rescue mode was telling me to mount 
the partition that must have had the EFI stuff I needed.  I can't give 
precise information but I was able to reinstall GRUB from Rescue mode 
and now all is well!

Thank you very much for your help,

Paul

[toc] | [prev] | [standalone]


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


csiph-web