LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2024, 11:08 AM   #16
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465

ini,

I fully appreciate that you are not a command line junkie.

I posted those links for the benefit of others on LQ forums who may be more conversant with this problem and who can assist you further.
 
Old 01-22-2024, 11:39 AM   #17
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
ini,

I fully appreciate that you are not a command line junkie.

I posted those links for the benefit of others on LQ forums who may be more conversant with this problem and who can assist you further.
OK
apologies for my misunderstanding
 
Old 01-22-2024, 04:45 PM   #18
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
In your initial post, you indicate that you are able to use and log in to Pop OS. If you can use the machine, not much point in doing an udate you don't understand. Too many unknown variables for anyone here to really give detailed help.
Is Pos OS the only OS installed?
Did you purchase this computer new?
Was/is there any other OS installed? If so, what exactly.
If you have another OS installed like some version of windows, did you do an update from windows lately?
If you know how to open a terminal, run this command and look at the output. It won't solve anything or change anything but give information which you could post here: sudo ls /boot/efi/EFI/
Do you have a directory named PopOs or probably ubuntu. What's in it?
 
Old 01-23-2024, 03:57 AM   #19
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
In your initial post, you indicate that you are able to use and log in to Pop OS. If you can use the machine, not much point in doing an udate you don't understand. Too many unknown variables for anyone here to really give detailed help.
Is Pos OS the only OS installed?
Did you purchase this computer new?
Was/is there any other OS installed? If so, what exactly.
If you have another OS installed like some version of windows, did you do an update from windows lately?
If you know how to open a terminal, run this command and look at the output. It won't solve anything or change anything but give information which you could post here: sudo ls /boot/efi/EFI/
Do you have a directory named PopOs or probably ubuntu. What's in it?
Good morning, yancek

performing update you don't understand... agreed

PopOS is the only OS currently installed

Computer was a second-hand buy from ebay & came installed with Windows 10...

I then installed MINT wiping out 'Win10' in the process... exact version of MINT no idea!

Then I began a distro hopping adventure (always full install to wipe out the previous distro I was not comfortable with)
list & versions of said distros.. no idea as I did not keep a list of said installs... duh!

Ran in terminal sudo ls /boot/efi/EFI/

BOOT Pop_OS-62a814a0-c2d5-415f-9678-4ce70f0c5d91 systemd
Linux Recovery-F184-E7B1

Dirctory of Pop_OS / ubunto ???
Is there a command for the terminal I could run?

Hope my reply is easy to understand
 
Old 01-23-2024, 06:42 AM   #20
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
In my post above I suggested you check to see if there was an ubuntu directory on your EFI partition. That is because many of the Ubuntu derivatives (Mint for one) use a directory named ubuntu for their EFI files. Since PopOS does not do that, it is not relevant.

If you are asked for an administrator password when accessing the BIOS to make changes including the F9 key for a one time change in the boot order, that is because the previous owner set it and did not give you that information. You need to do an online search for how to reset the BIOS password on your specific model of HP.

Quote:
371 Insecure versions of the Microsoft Windows boot manager
The above is a quote from your post (post 3). You don't have windows installed so it is irrelevant. From your output of the ls /boot/efi/EFI command, it doesn't appear you even have a Microsoft directory on the EFI partition. If you run the following command, do you see a reference to windows: sudo efibootmgr -v

Do you have Secure Boot on? Have you tried to access the BIOS, probably with the F10 key? Do you get asked for an administrator password?
 
Old 01-23-2024, 07:12 AM   #21
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by yancek View Post
The above is a quote from your post (post 3). You don't have windows installed so it is irrelevant. From your output of the ls /boot/efi/EFI command, it doesn't appear you even have a Microsoft directory on the EFI partition.
Isn't BOOT the Microsoft boot directory? It certainly was on my old hard drive (the one I had to dump because it was failing). It contained a couple of files including BOOT64.efi, which I assume was the Windows bootloader itself.
 
Old 01-23-2024, 08:13 AM   #22
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
In my post above I suggested you check to see if there was an ubuntu directory on your EFI partition. That is because many of the Ubuntu derivatives (Mint for one) use a directory named ubuntu for their EFI files. Since PopOS does not do that, it is not relevant.

If you are asked for an administrator password when accessing the BIOS to make changes including the F9 key for a one time change in the boot order, that is because the previous owner set it and did not give you that information. You need to do an online search for how to reset the BIOS password on your specific model of HP.



The above is a quote from your post (post 3). You don't have windows installed so it is irrelevant. From your output of the ls /boot/efi/EFI command, it doesn't appear you even have a Microsoft directory on the EFI partition. If you run the following command, do you see a reference to windows: sudo efibootmgr -v

Do you have Secure Boot on? Have you tried to access the BIOS, probably with the F10 key? Do you get asked for an administrator password?
sudo efibootmgr -v
[sudo] password for ini:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002,0003,0004,0005
Boot0001* Pop!_OS 22.04 LTS HD(1,GPT,b2ba9adf-71e4-412d-9799-0678ff74f9b3,0x1000,0xf8fff)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0002* UEFI OS HD(1,GPT,b2ba9adf-71e4-412d-9799-0678ff74f9b3,0x1000,0xf8fff)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0003 UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0004 UEFI:Removable Device BBS(130,,0x0)
Boot0005 UEFI:Network Device BBS(131,,0x0)

• Boot Device Options (F9): this menu provides UEFI Boot Sources (like Windows Boot Manager and network card) and Legacy Boot Sources (like hard drive, USB flash drive, and CD/DVD drive) for you to choose from.

This F9 is what I've been using at start up to change the boot order to boot from a USB to try another distro However I get asked for an administrator password and the psswrd I use to enter Pop_OS does nada???

will now log off and try the F10 key

• BIOS Setup (F10): you can exit UEFI & enter BIOS by selecting this option. There are 5 tabs in the BIOS Setup to help you change PC BIOS Settings.

Your last question re secure boot ON or OFF No idea!
 
Old 01-23-2024, 08:25 AM   #23
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
F10 key

f10 key at start up same gives the sane result as the f9 key enter administration psswrd??? Will check back in a wee while as I've got some farming to do

Last edited by ini; 01-23-2024 at 08:26 AM.
 
Old 01-23-2024, 10:17 AM   #24
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by ini View Post
sudo efibootmgr -v
[sudo] password for ini:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002,0003,0004,0005
Boot0001* Pop!_OS 22.04 LTS HD(1,GPT,b2ba9adf-71e4-412d-9799-0678ff74f9b3,0x1000,0xf8fff)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0002* UEFI OS HD(1,GPT,b2ba9adf-71e4-412d-9799-0678ff74f9b3,0x1000,0xf8fff)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0003 UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0004 UEFI:Removable Device BBS(130,,0x0)
Boot0005 UEFI:Network Device BBS(131,,0x0)
I think I can identify these!

0001 is the systemd-boot Linux bootloader, which has been set up to load Pop!_OS. I assume it could be used to load other Linux systems as well, in the same way that GRUB can.
0002: your old Windows bootloader. Since you no longer have Windows on your machine, this one can safely be deleted.
0003: Self-explanatory. Boot from an optical disc.
0004: This is probably your USB boot
0005: Network boot
 
Old 01-23-2024, 11:28 AM   #25
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
I think I can identify these!

0001 is the systemd-boot Linux bootloader, which has been set up to load Pop!_OS. I assume it could be used to load other Linux systems as well, in the same way that GRUB can.
0002: your old Windows bootloader. Since you no longer have Windows on your machine, this one can safely be deleted.
0003: Self-explanatory. Boot from an optical disc.
0004: This is probably your USB boot
0005: Network boot
You've got me all excited Hazel
Now here's the noobie/the terminal is where the train arrives at question...
a. Do I delete in the terminal?
b. If yes how? Whats the command for deleting 0002: ?

Do I simply repeat the command which gave me 0001: to 0005:

If YES? What do I do then?
I promise I'll devote my time & attention to the Linux Command Handbook after said delete if it sorts out my f9 administration psswrd quandry
 
Old 01-23-2024, 11:48 AM   #26
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Yes, it's efibootmgr again but with a couple of extra arguments:
Code:
sudo efibootmgr -b 2 -B
But get the OK from someone else around here before you do it. I don't want to be responsible for kiboshing your boot!
 
Old 01-23-2024, 12:15 PM   #27
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
I've no Idea why everybody is advising on BIOS updates and software solutions when the problem just needs a jumper/shunt removed from the motherboard.

Check out this video where the guy is resetting the CMOS which should also reset the BIOS password. Note the jumper marked "PSWD", just removing this should also work. The CMOS one will require to be replaced as stated in the video plus the system clock will require to be reset.

I'd try removing the PSWD jumper first. Unless you want to set a BIOS password you don't really need to put it back. (I'm currently helping to recycle about 500 HP 800 G3 and G4 All_in_one computers and need to clear out previous owner splash screen data. I've now got a box of the little blue jumpers!)

I'm not sure exactly what the motherboard looks like but check this out for a rough idea of what you're looking for:




Play Bonny!

Attached Thumbnails
Click image for larger version

Name:	HP_Password_Jumper.png
Views:	12
Size:	247.4 KB
ID:	42461  
 
1 members found this post helpful.
Old 01-23-2024, 05:33 PM   #28
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
Quote:
Isn't BOOT the Microsoft boot directory? I
Probably windows files there from the factory but the EFI files to boot recent windows are in a directory named Microsoft on the EFI partition and generally the file pointed to booting windows is bootmgfw.efi which is in EFI/Microsoft/Boot.

You have an administrator password required on the used computer you purchased and you don't know what it is. Neither does any one here so find out from the person you bought it from if possible or reset the BIOS password. Try the suggestion in the post above by Soadyheid.

Removing an entry (your useless windows entry) is not complicated and is explained at the link below as well as any number of other sites.

https://www.tecporto.pt/wiki/index.p...st_%28Linux%29
 
Old 01-24-2024, 04:24 AM   #29
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Probably windows files there from the factory but the EFI files to boot recent windows are in a directory named Microsoft on the EFI partition and generally the file pointed to booting windows is bootmgfw.efi which is in EFI/Microsoft/Boot.

You have an administrator password required on the used computer you purchased and you don't know what it is. Neither does any one here so find out from the person you bought it from if possible or reset the BIOS password. Try the suggestion in the post above by Soadyheid.

Removing an entry (your useless windows entry) is not complicated and is explained at the link below as well as any number of other sites.

https://www.tecporto.pt/wiki/index.p...st_%28Linux%29
Thx yancek,

re administrator psswrd: ask the person you bought the 'puter from Hmmm?

This'puter was purchased b4 2020

If indeed the previous owner set an admin psswrd... Can you explain to me how I've been distro hopping, by, accessing boot order at start up by tapping f9 and selecting the USB with new distro file & proceeding to do a full install which wipes out the existing operating system for circa 4 years?

In 4 yrs I've full installed a number of Linux OS, wiping out windows10, linux mint, mxlinux, linux lite...

I landed on Pop_OS & stuck with it simply because of the 'out-of-the box' tiling feature LOL
Now I figure you can set up said tiling feature on any??? distro & so i attempted to test cachy_OS: tiling out-of-the-box? Don't know/don't care
Did my usual f9 to access the Boot order, &, I'm only now seeing the admin psswrd request

...had a look at removing files in terminal last night https://www.youtube.com/watch?v=joMMHpjQayQ

OK Seems straight forward enough i'll go for it... Ooooops, cool your jets/wait a mo: I'll log in 2 LQ & lay out my proposed rm strategy & get a Y/N from more experienced peeps before proceeding Saw the replies from Hazel, soadyheid and yourself. Now I'm second guessing/questioning... not to be awkward, simply to understand 'why'

Last edited by ini; 01-24-2024 at 04:26 AM.
 
Old 01-24-2024, 04:47 AM   #30
ini
LQ Newbie
 
Registered: Jan 2024
Location: Central PT
Distribution: mx 23.2
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Soadyheid View Post
I've no Idea why everybody is advising on BIOS updates and software solutions when the problem just needs a jumper/shunt removed from the motherboard.

Check out this video where the guy is resetting the CMOS which should also reset the BIOS password. Note the jumper marked "PSWD", just removing this should also work. The CMOS one will require to be replaced as stated in the video plus the system clock will require to be reset.

I'd try removing the PSWD jumper first. Unless you want to set a BIOS password you don't really need to put it back. (I'm currently helping to recycle about 500 HP 800 G3 and G4 All_in_one computers and need to clear out previous owner splash screen data. I've now got a box of the little blue jumpers!)

I'm not sure exactly what the motherboard looks like but check this out for a rough idea of what you're looking for:




Play Bonny!


Morning soadyheid,
Yup, had already seen this Day b4 yesterday. I spent about 4-5hrs on 'YaChoob' searching renove BIOS psswrd & various other BIOS conbos
OK that will be plan b. Lets go with the LQ gurus etc, then evaluate all the info: what 'feels' right? & then 'steam in'

Ya got me thinking about Edinburgh last night not visited Scotland since leaving in 2002
So can I add a miss to the IPA? 'rowies' or as you peeps in the sooth call them 'Aberdeen Rolls'

LQ forum... etiquette/protocol/forum SOP's? Which button do I hit to a. find out more b. ask questions

Play Bonny
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] When will I know if my (first) question has been accepted by the administrator? dr-ing LQ Suggestions & Feedback 2 03-27-2020 08:49 AM
Logi Sales Manager on Ncurses (invoice, invoicing, orders, order, sale order, sales order...)? Xeratul Linux - Software 0 03-25-2017 02:45 PM
Password(s) accepted for login but not accepted for applications. JZL240I-U Ubuntu 29 02-14-2012 11:53 AM
sudo psswrd prob. nnjond Linux - Newbie 4 07-24-2010 06:55 PM
How do I tell sendmail to use my ISP's outgoing mail server which needs name & psswrd Wolfy Linux - Networking 1 09-02-2004 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration