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


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

efi problem

Started by"mick.crane" <mick.crane@gmail.com>
First post2023-04-22 19:40 +0200
Last post2023-04-24 16:30 +0200
Articles 16 — 10 participants

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  efi problem "mick.crane" <mick.crane@gmail.com> - 2023-04-22 19:40 +0200
    Re: efi problem David Christensen <dpchrist@holgerdanske.com> - 2023-04-22 20:10 +0200
    Re: efi problem David Wright <deblis@lionunicorn.co.uk> - 2023-04-22 20:20 +0200
      Re: efi problem "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-22 23:20 +0200
    Re: efi problem Mark Allums <maa@allums.com> - 2023-04-22 22:50 +0200
    Re: efi problem Felix Miata <mrmazda@earthlink.net> - 2023-04-23 01:40 +0200
    Re: efi problem songbird <songbird@anthive.com> - 2023-04-23 02:10 +0200
      Re: efi problem Max Nikulin <manikulin@gmail.com> - 2023-04-23 09:10 +0200
      Re: efi problem songbird <songbird@anthive.com> - 2023-04-23 13:10 +0200
    Re: efi problem David Wright <deblis@lionunicorn.co.uk> - 2023-04-23 02:50 +0200
    Re: efi problem Curt <curty@free.fr> - 2023-04-23 18:40 +0200
      Re: efi problem Charles Curley <charlescurley@charlescurley.com> - 2023-04-23 20:40 +0200
        Re: efi problem songbird <songbird@anthive.com> - 2023-04-23 21:30 +0200
          Re: efi problem Charles Curley <charlescurley@charlescurley.com> - 2023-04-23 22:30 +0200
        Re: efi problem Curt <curty@free.fr> - 2023-04-24 15:40 +0200
        Boot from iso (was: Re: efi problem) Max Nikulin <manikulin@gmail.com> - 2023-04-24 16:30 +0200

#257478 — efi problem

From"mick.crane" <mick.crane@gmail.com>
Date2023-04-22 19:40 +0200
Subjectefi problem
Message-ID<Gnpnj-3MIF-1@gated-at.bofh.it>
I suspect the GPU is suspect because there are small blocks of pixels 
appearing where they aren't wanted.
I'd like to re-install the OS as I've got copies of everything I think.
Just to see if it's maybe a driver issue.
Thing is I can't get the f12 options screen of the PC to let me boot 
from a CD in this EFI mode what's grub done.
How can I boot from CD in this EFI mode?

mick

[toc] | [next] | [standalone]


#257479

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2023-04-22 20:10 +0200
Message-ID<GnpQl-3N8J-3@gated-at.bofh.it>
In reply to#257478
On 4/22/23 10:30, mick.crane wrote:
> I suspect the GPU is suspect because there are small blocks of pixels 
> appearing where they aren't wanted.
> I'd like to re-install the OS as I've got copies of everything I think.
> Just to see if it's maybe a driver issue.
> Thing is I can't get the f12 options screen of the PC to let me boot 
> from a CD in this EFI mode what's grub done.
> How can I boot from CD in this EFI mode?
> 
> mick


Without knowing the make and model of the computer, it is difficult to 
offer specific advice.


When you power up the computer, there should be a hot key to enter the 
System Setup utility (or whatever it is called on your computer).  Press 
it.  Then find whatever screen(s) are used to enable boot device(s). 
You may need to create an entry for the optical drive and/or enable 
booting from the optical drive.


David

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


#257480

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2023-04-22 20:20 +0200
Message-ID<Gnq01-3Nc7-1@gated-at.bofh.it>
In reply to#257478
On Sat 22 Apr 2023 at 18:30:56 (+0100), mick.crane wrote:
> I suspect the GPU is suspect because there are small blocks of pixels
> appearing where they aren't wanted.
> I'd like to re-install the OS as I've got copies of everything I think.
> Just to see if it's maybe a driver issue.
> Thing is I can't get the f12 options screen of the PC to let me boot
> from a CD in this EFI mode what's grub done.
> How can I boot from CD in this EFI mode?

You try other keys besides F12. You tap them repeatedly after
turning on. You try them in combination with Escape. There
are usually a number of features on different keys, like:

F1        System Information
F2        System Diagnostics
F7        HP SpareKey
F9        Boot Device Options
F10       BIOS Setup
F11       System Recovery

Cheers,
David.

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


#257489

From"Andrew M.A. Cater" <amacater@einval.com>
Date2023-04-22 23:20 +0200
Message-ID<GnsOd-3OX0-1@gated-at.bofh.it>
In reply to#257480
On Sat, Apr 22, 2023 at 01:14:12PM -0500, David Wright wrote:
> On Sat 22 Apr 2023 at 18:30:56 (+0100), mick.crane wrote:
> > I suspect the GPU is suspect because there are small blocks of pixels
> > appearing where they aren't wanted.
> > I'd like to re-install the OS as I've got copies of everything I think.
> > Just to see if it's maybe a driver issue.
> > Thing is I can't get the f12 options screen of the PC to let me boot
> > from a CD in this EFI mode what's grub done.
> > How can I boot from CD in this EFI mode?
> 
> You try other keys besides F12. You tap them repeatedly after
> turning on. You try them in combination with Escape. There
> are usually a number of features on different keys, like:

If you can tell us what model of motherboard this is, we can maybe
tell you what key. If you have another Debian machine somewhere,
use dd to write a netinst.iso to a USB stick and boot from that?

Many old machines respond to DEL key tapped repeatedly on first booting up

F1 / F5 / F7 are all possibles: F12 is usually for a one time boot

You may need to set priority order for BIOS/MBR/Legacy and UEFI boot order
separately.
> 
> F1        System Information
> F2        System Diagnostics
> F7        HP SpareKey
> F9        Boot Device Options
> F10       BIOS Setup
> F11       System Recovery
> 
> Cheers,
> David.
> 

All best, as ever,

Andy

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


#257487

FromMark Allums <maa@allums.com>
Date2023-04-22 22:50 +0200
Message-ID<Gnslb-3OwO-1@gated-at.bofh.it>
In reply to#257478
On 4/22/23 15:06, mick.crane wrote:
> On 2023-04-22 19:05, DdB wrote:
>> Am 22.04.2023 um 19:30 schrieb mick.crane:
>>> I suspect the GPU is suspect because there are small blocks of pixels
>>> appearing where they aren't wanted.
>>> I'd like to re-install the OS as I've got copies of everything I think.
>>> Just to see if it's maybe a driver issue.
>>> Thing is I can't get the f12 options screen of the PC to let me boot
>>> from a CD in this EFI mode what's grub done.
>>> How can I boot from CD in this EFI mode?
>>>
>>> mick
>>>
>>>
>>
>> My neighbor has an old laptop without a CD drive. But there is a linux
>> running (ubuntu). So what i did is this:
>> i did download (and check) an ISO-file to boot from (debian- or ubuntu-
>> live versions) and googled for the appropriate stanza for grub to handle
>> booting from that ISO file. Then i did modify the /etc/grub.d/41_custom
>> file, to make sure, grub will include that stanza on update-grub
>> automatically.
>> But if you only want to boot it only once, you could - on boot, while
>> seeing the grub menu, enter "c" to open a command line and enter the
>> necessary commands by hand. (I liked to learn, what grub has to offer
>> for cases of emergency. Can come in handily, if you - or a friend - gets
>> stuck on boot.)
>>
>> BTW: IIRC, grub is able to start an efi-shell, if needed, to force boot
>> options that way. But my neighbor did not have uefi. Whereas I do, and -
>> although i am lazy and prefer automation, i had to boot up manually via
>> UEFI several times.
>>
>> What i am saying is: it is possible, but not exactly trivial. Learning
>> is involved and desirable.
>>
>> Have fun
>> DdB
>
> It used to be grub thought things were HD0, HD1
> and you could decide what to boot from
> I have a CD with the debian installer on it that I burnt with the 
> xorriso which I'm presuming is a bootable CD but there's no way of 
> telling because the EFI thing won't let me select it to boot from
>
Good grief!  Use etcher or dd to copy it to a USB flash drive. Or put 
the machine in compatibility mode, and bypass the UEFI.

Mark A.

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


#257491

FromFelix Miata <mrmazda@earthlink.net>
Date2023-04-23 01:40 +0200
Message-ID<GnuZH-3QeK-3@gated-at.bofh.it>
In reply to#257478
mick.crane composed on 2023-04-22 18:30 (UTC+0100):

> Thing is I can't get the f12 options screen of the PC to let me boot 
> from a CD in this EFI mode what's grub done.
> How can I boot from CD in this EFI mode?

Are you sure it's supposed to be F12 on yours?

BBS Boot Keys (Bios Boot Specification)
https://en.wikipedia.org/wiki/BIOS_Boot_Specification

[*]ASRock	F11
[*]Asus		F8
[*]Biostar	F9?
[*]Dell		F12
[*]ECS		F12 or F10
[*]eMachines	F10
[*]EVGA		F7
[*]Gigabyte	F12
[*]HP		F9 or ESC or ESC,F9
[*]Lenovo	F12 or F8 or F10
[*]MSI		F11
[*]Toshiba	F12
-- 
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]


#257492

Fromsongbird <songbird@anthive.com>
Date2023-04-23 02:10 +0200
Message-ID<GnvsJ-3QEB-3@gated-at.bofh.it>
In reply to#257478
mick.crane wrote:
> I suspect the GPU is suspect because there are small blocks of pixels 
> appearing where they aren't wanted.
> I'd like to re-install the OS as I've got copies of everything I think.
> Just to see if it's maybe a driver issue.
> Thing is I can't get the f12 options screen of the PC to let me boot 
> from a CD in this EFI mode what's grub done.
> How can I boot from CD in this EFI mode?

  what does efibootmgr say when you run it from the 
root prompt?

  mine lists the CD drive and if i change the boot 
order to put that first it will boot from that device.

  man efibootmgr


  songbird

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


#257499

FromMax Nikulin <manikulin@gmail.com>
Date2023-04-23 09:10 +0200
Message-ID<GnC1b-3UNS-5@gated-at.bofh.it>
In reply to#257492
On 23/04/2023 12:07, mick.crane wrote:
> root@pumpkin:/home/mick# efibootmgr
> BootCurrent: 0007
> Timeout: 1 seconds
> BootOrder: 0008,0000,000A,0003,0004,0007,0001,0002
-------------^^^^
> Boot0007* debian
> Boot0008* CD/DVD/CD-RW Drive
...
> Is there some way I can say "boot Boot0008 please"?

BootOrder says that CD should be tried first. Do you have something like 
"Fast Boot" option in firmware settings (earlier called BIOS)? If so I 
suggest to disable it. Check that boot from CD is enabled there.

If the timeout setting is respected by firmware, you may try to increase 
it to e.g. 10 seconds. Likely 1 second is not enough to spin up CD.

I have no experience with Dell and I am not aware that some kind of 
idiosyncrasy that has to be taken into account.

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


#257503

Fromsongbird <songbird@anthive.com>
Date2023-04-23 13:10 +0200
Message-ID<GnFLr-3X6c-3@gated-at.bofh.it>
In reply to#257492
mick.crane wrote:
> On 2023-04-23 00:56, songbird wrote:
>> mick.crane wrote:
>>> I suspect the GPU is suspect because there are small blocks of pixels
>>> appearing where they aren't wanted.
>>> I'd like to re-install the OS as I've got copies of everything I 
>>> think.
>>> Just to see if it's maybe a driver issue.
>>> Thing is I can't get the f12 options screen of the PC to let me boot
>>> from a CD in this EFI mode what's grub done.
>>> How can I boot from CD in this EFI mode?
>> 
>>   what does efibootmgr say when you run it from the
>> root prompt?
>> 
>>   mine lists the CD drive and if i change the boot
>> order to put that first it will boot from that device.
>> 
>>   man efibootmgr
> root@pumpkin:/home/mick# efibootmgr
> BootCurrent: 0007
> Timeout: 1 seconds
> BootOrder: 0008,0000,000A,0003,0004,0007,0001,0002
> Boot0000* USB Storage Device
> Boot0001  debian
> Boot0002  grubx64-ef5
> Boot0003  Onboard NIC
> Boot0004  Diskette Drive
> Boot0005  Onboard NIC
> Boot0007* debian
> Boot0008* CD/DVD/CD-RW Drive
> Boot000A* P1: KINGSTON SA400S37240G
>
> Obv. I've installed on this Dell Precision T3600 before, it may have 
> been from a flash drive or it may have been from a CD.
> but likely CD.
> mick@pumpkin:~$ lspci
> 00:00.0 Host bridge: Intel Corporation Xeon E5/Core i7 DMI2 (rev 07)
>
> Is there some way I can say "boot Boot0008 please"?


  yes, man efibootmgr would have told you:


efibootmgr -o 0008,0000,000A,0003,0004,0007,0001,0002


and then reboot.

  of course, if you want the above order different you can
change it as you wish.

  boot current can be ignored for the moment.  check it after
you reboot to make sure it has changed to what you want it to
be.

  boot next may sometimes be useful (see man page).  in your
case using 

# efibootmgr -n 0008

  would set 0008 as the next time (and one time use only)
boot entry.  but if you want this to be a permanent change
you have to set it using the -o option.


  as an example of adding a new one - sometimes grub updates 
wipe out my refind entry so i have to put it back in using:

efibootmgr -c -L Debian_Refind -l "\EFI\BOOT\BOOTX64.EFI"


  and then i set it as my preferred first one:

efibootmgr -o 0,1,5,6,7

  of course my list is different than yours...


  songbird

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


#257495

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2023-04-23 02:50 +0200
Message-ID<Gnw5r-3QSs-1@gated-at.bofh.it>
In reply to#257478
On Sat 22 Apr 2023 at 21:06:55 (+0100), mick.crane wrote:
> > Am 22.04.2023 um 19:30 schrieb mick.crane:
> > > I suspect the GPU is suspect because there are small blocks of pixels
> > > appearing where they aren't wanted.
> > > I'd like to re-install the OS as I've got copies of everything
> > > I think.
> > > Just to see if it's maybe a driver issue.
> > > Thing is I can't get the f12 options screen of the PC to let me boot
> > > from a CD in this EFI mode what's grub done.
> > > How can I boot from CD in this EFI mode?
> > > 
> It used to be grub thought things were HD0, HD1
> and you could decide what to boot from

Yes, and with no floppy and a deceased optical drive, you
were scuppered. But times change, and there are workarounds.

> I have a CD with the debian installer on it that I burnt with the
> xorriso which I'm presuming is a bootable CD but there's no way of
> telling because the EFI thing won't let me select it to boot from

What's the name written on the front of the computer?
Is the optical drive internal or external?
What /have/ you tried so far? Which keys, what happened?

Cheers,
David.

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


#257505

FromCurt <curty@free.fr>
Date2023-04-23 18:40 +0200
Message-ID<GnKUN-405G-3@gated-at.bofh.it>
In reply to#257478
On 2023-04-22, mick.crane <mick.crane@gmail.com> wrote:
>> DdB
> This sounds encouraging.
> Any idea what the correct manifestation  would  be to get the PC to boot 
> the debian installer CD?
> What as wrong with boot from CD, disk 1, disk 2, some convoluted network 
> connection?
>
>

Install grml-rescueboot

sudo apt-get install grml-rescueboot
Place bootable ISO files in the /boot/grml folder.

Since this is a system folder, the operation must be conducted as
"root". For example, if the ISO is located in the user's Downloads
folder, the command would be:
sudo mv ~/Downloads/<filename.iso> /boot/grml/
Update GRUB
sudo update-grub

(If I'm understanding everything correctly, this is the non-hacker way.)

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


#257509

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-04-23 20:40 +0200
Message-ID<GnMMV-41eJ-1@gated-at.bofh.it>
In reply to#257505
On Sun, 23 Apr 2023 16:34:03 -0000 (UTC)
Curt <curty@free.fr> wrote:

> Install grml-rescueboot

I just tried it. It may work with a grml CD ISO; I didn't try it. The
code builds the grub.cfg entry correctly, and that works. But grub
refused to boot the debian netinst image I provided.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

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


#257510

Fromsongbird <songbird@anthive.com>
Date2023-04-23 21:30 +0200
Message-ID<GnNzj-41Kp-3@gated-at.bofh.it>
In reply to#257509
Charles Curley wrote:
> On Sun, 23 Apr 2023 16:34:03 -0000 (UTC)
> Curt <curty@free.fr> wrote:
>
>> Install grml-rescueboot
>
> I just tried it. It may work with a grml CD ISO; I didn't try it. The
> code builds the grub.cfg entry correctly, and that works. But grub
> refused to boot the debian netinst image I provided.

  i'm sorry for not going back and re-reading everything
(about to head outside for the rest of the day).

  do you have a spare USB stick that will hold the netinst 
image?

  i suspect you may have not copied it simply as the directions
in the installation guide recommends or done something strange
and it may just be simpler to try a USB boot instead.

  that's my thoughts at this point.  hope you will make better
progress on this soon.  :)


  songbird

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


#257512

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-04-23 22:30 +0200
Message-ID<GnOvn-42iN-3@gated-at.bofh.it>
In reply to#257510
On Sun, 23 Apr 2023 15:15:22 -0400
songbird <songbird@anthive.com> wrote:

>   that's my thoughts at this point.  hope you will make better
> progress on this soon.  :)

No worries. I have USB sticks, CD-RWs, etc. I just did the experiment
to see how well it worked. Thanks for the thoughts, though.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

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


#257530

FromCurt <curty@free.fr>
Date2023-04-24 15:40 +0200
Message-ID<Go4A9-4chQ-3@gated-at.bofh.it>
In reply to#257509
On 2023-04-23, Charles Curley <charlescurley@charlescurley.com> wrote:
> On Sun, 23 Apr 2023 16:34:03 -0000 (UTC)
> Curt <curty@free.fr> wrote:
>
>> Install grml-rescueboot
>
> I just tried it. It may work with a grml CD ISO; I didn't try it. The
> code builds the grub.cfg entry correctly, and that works. But grub
> refused to boot the debian netinst image I provided.
>

It seems I falsely assumed that, seeing that the package is in Debian,
that it could boot a debian iso. Upon further research I realize that
this is apparently not the case. I guess the key word is "rescue."

How about Ventoy (mentioned here I think by Dan Ritter once) on a usb
stick?
 
But then I think I've forgotten already the problem we're trying to
solve.

-- 

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


#257532 — Boot from iso (was: Re: efi problem)

FromMax Nikulin <manikulin@gmail.com>
Date2023-04-24 16:30 +0200
SubjectBoot from iso (was: Re: efi problem)
Message-ID<Go5my-4cOF-3@gated-at.bofh.it>
In reply to#257509
On 24/04/2023 01:38, Charles Curley wrote:
> On Sun, 23 Apr 2023 16:34:03 -0000 (UTC)
> Curt <curty@free.fr> wrote:
> 
>> Install grml-rescueboot
> 
> I just tried it. It may work with a grml CD ISO; I didn't try it. The
> code builds the grub.cfg entry correctly, and that works. But grub
> refused to boot the debian netinst image I provided.
> 

Charles, isn't it the issue discussed in (I have not tried it though):

Brian to debian-user. Re: hard disk installation method fails. Sat, 18 
Feb 2023 19:09:39 +0000.
https://lists.debian.org/msgid-search/18022023184141.ff284e2242db@desktop.copernicus.org.uk

(testing) 5.1.3. Booting from Linux using GRUB
https://d-i.debian.org/manual/en.amd64/ch05s01.html#boot-initrd
> To boot the installer from hard disk, you must first download and place
> the needed files as described in Section 4.4, “Preparing Files for Hard
> Disk Booting”. https://d-i.debian.org/manual/en.amd64/ch04s04.html

> menuentry 'New Install' {
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> linux /boot/newinstall/vmlinuz
> initrd /boot/newinstall/initrd.gz
> }

https://d-i.debian.org/manual/en.amd64/ch04s04.html
> you can download the hd-media/initrd.gz file and its kernel
> hd-media/vmlinuz, as well as copy an installation image to the hard
> drive (make sure the file is named ending in .iso). The installer can
> then boot from the hard drive and install from the installation image,
> without needing the network.

Taken into account current size of netinst, I see not point in avoiding 
of iso-scan:
760M debian-bookworm-DI-rc1-amd64-netinst.iso

[toc] | [prev] | [standalone]


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


csiph-web