Single boot: NTLDR not found, press any key to restart

Kernels & Hardware, configuring network, installing services

Single boot: NTLDR not found, press any key to restart

Postby Caitlin » 2020-08-01 06:10

I'm generally happy with my new computer, the Phoenix. But sometimes when I boot, I get the message "NTLDR not found, press any key to restart". If I do press the any key (I have about 100 of those), it then boots successfully. This message doesn't appear every time, and it hasn't stopped me from being able to boot -- yet.

This happens before GRUB gets control, so I expect this problem is fenestriphilia ("loves windows") in the BIOS. There is a fast boot option in the BIOS setup, but I've turned it off. I have a Fatality motherboard, with amd64 architecture.

A Google search has turned up a number of posts on this message, but they are all related to dual (or triple) boot systems. I began the title of this post with "single boot" because, even though I might install a virtualized second operating system later, right now my computer is a blank wall (no windows).

Does anyone know a way to make this message go away?

Caitlin
Caitlin
 
Posts: 289
Joined: 2012-05-24 07:32

Re: Single boot: NTLDR not found, press any key to restart

Postby Head_on_a_Stick » 2020-08-01 11:29

I presume this is a UEFI system so check the NVRAM boot entries:
Code: Select all
# efibootmgr -v

Perhaps you have a vestigial Windows entry.

Caitlin wrote:fenestriphilia

lol.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12316
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Single boot: NTLDR not found, press any key to restart

Postby Caitlin » 2020-08-02 00:17

Hi Head (may I call you head?)

After installing efibootmgr, I entered "efibootmgr -v" and got the message "EFI variables are not supported on this system". The package description for eifbootmgr recommended using "modprobe efivars" so I entered /sbin/modprobe efivars" and got the message "ERROR: could not insert 'efivars': No such device". Does that meant I DON'T have UEFI?

Caitlin
Caitlin
 
Posts: 289
Joined: 2012-05-24 07:32

Re: Single boot: NTLDR not found, press any key to restart

Postby Deb-fan » 2020-08-02 01:07

See stuff like https://askubuntu.com/questions/1111045 ... -uefi-mode

Ps, All over the place follows,

Reason for bringing that up you can confirm what mode Debian is installed or booting in, efi vs legacy, many uefi firmware allow someone to enable CSM = legacy support. As for the original thing, didn't know wth NTLDR even is so had to Google, what Head_on said makes sense. This is from your recent post history, is this the pc involved here?

So, I bought a tower case machine at a local computer shop (not a consumer electronics store) for about $450. (That was with a 1TB hard drive rather than a 256 GB SSD. I'm not so sure that was a good trade.) The proprietor built it himself out of components, so I was pretty sure it was generic


Who knows what all had been installed on it, though should've been wiped out when you installed Debian, at least would think. Though then again, its not like you nuked or zeroed the hdd out, so yeah could be lingering chuff left over on it. Would disable secure boot in system firmware or bios if its active, also as mentioned see if there's anything related to legacy/CSM present and finally, NO you cant call Head_on, simply Head, we refer to him as Mr. Head here! Often Hoas or the Hoasinator may be acceptable too. :P
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 814
Joined: 2012-08-14 12:27

Re: Single boot: NTLDR not found, press any key to restart

Postby p.H » 2020-08-02 12:05

Caitlin wrote:But sometimes when I boot, I get the message "NTLDR not found, press any key to restart". If I do press any key, it then boots successfully.

It means that the BIOS booted the wrong disk first (which contains an old Windows boot sector on a FAT or NTFS partition). After failing to find ntldr, it tried to boot the other one (which contains GRUB). If the BIOS cannot consistently boot on the right disk, a workaround may be to remove the boot flag on that partition, or to install GRUB on that disk too.

To check, install boot-info-script, run bootinfoscript and examine/post the beginning of the report about boot sectors and partitions.

Caitlin wrote:A Google search has turned up a number of posts on this message, but they are all related to dual (or triple) boot systems. I began the title of this post with "single boot" because, even though I might install a virtualized second operating system later, right now my computer is a blank wall (no windows).

But it does have more that one disk, doesn't it ?
p.H
 
Posts: 1423
Joined: 2017-09-17 07:12

Re: Single boot: NTLDR not found, press any key to restart

Postby Caitlin » 2020-08-02 14:03

I installed boot-info-script but couldn't get it to work. It couldn't find fdisk, although it's right there on /sbin. I tried a cd to /sbin before running the script, but that didn't help. I have ONE hard drive, new from the store, broken up into 6 partitions, with / on sda4. I seem to remember a boot flag on one of the partitions, but didn't pay it no mind, because GRUB is supposed to get control first and override that. I installed GRUB on the drive's MBR, not in a partition. (Sigh.)
Caitlin
 
Posts: 289
Joined: 2012-05-24 07:32

Re: Single boot: NTLDR not found, press any key to restart

Postby Deb-fan » 2020-08-02 14:18

Gotta do it 2 .. :P

Knew should've waded through that trainwreck partitioning/mount thread, nope absolutely not doing that. Op did you follow that link, did you run the one simple cmd mentioned in it ? Perhaps could be convinced to share the output if so? Ah no worries, never give up ..no retreat, no surrender!!! Keep plugging away and you'll figure it out in no time! :)
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 814
Joined: 2012-08-14 12:27

Re: Single boot: NTLDR not found, press any key to restart

Postby p.H » 2020-08-02 14:38

Did you run bootinfoscript as root with the properly defined $PATH (e.g. with sudo or "su -", not "su" alone) ?

Caitlin wrote: I seem to remember a boot flag on one of the partitions, but didn't pay it no mind, because GRUB is supposed to get control first and override that

Correct, if GRUB is installed in the MBR.
Caitlin wrote: I installed GRUB on the drive's MBR, not in a partition.

Good.
p.H
 
Posts: 1423
Joined: 2017-09-17 07:12

Re: Single boot: NTLDR not found, press any key to restart

Postby Head_on_a_Stick » 2020-08-02 15:06

Caitlin wrote:may I call you head?

Of course :)

Most people just call me "asshole" though so I will also answer to that.

Caitlin wrote:The package description for eifbootmgr recommended using "modprobe efivars" so I entered /sbin/modprobe efivars" and got the message "ERROR: could not insert 'efivars': No such device". Does that meant I DON'T have UEFI?

Check for /sys/firmware/efi, that will only exist if you are booted in UEFI mode.

For non-UEFI systems the boot info script should show us what's going on:
Code: Select all
/usr/sbin/bootinfoscript
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12316
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Single boot: NTLDR not found, press any key to restart

Postby Deb-fan » 2020-08-03 14:37

Yeah but Mr Asshole! Show some common courtesy peeps, what are we ... heathens and barbarians?! :P
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 814
Joined: 2012-08-14 12:27


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable