LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-08-2024, 04:48 PM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593

Quote:
prefix=(hd0,gpt1)/EFI/ubuntu
This is the problem if there is no /boot/efi/EFI/ubuntu directory with a grub.cfg with the contents in post #13.

Quote:
grub-install: unrecognized option '--no-efi-secure-boot'
I had the option wrong should have been:
Code:
grub-install --no-uefi-secure-boot
Sorry about that.
grub-install --help will display other options.

If secure boot is disable this grub option allows ubuntu based efi grub not set prefix to the EFI/ubuntu directory.

Last edited by colorpurple21859; 05-08-2024 at 04:53 PM.
 
Old 05-09-2024, 08:35 AM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
You never mentioned whether you had any problems (warning/error messages) during the install of Grub nor how exactly you did the install. That could be useful information.

In post 5, your efibootmgr output shows entries for GRUB, arch and pop. If you run the below command, do you see directories for each at that location?

Code:
ls /boot/efi/EFI
Do you still have Arch installed on another drive? If so, does it boot and if you run grub-mkconfig on it, do you get an entry for Pop OS?

In post 8, you show a grub.cfg file in the /boot/efi/EFI/pop directory with contents pointing to the grub.cfg file on the Pop partitions (hd0,2). What do you see on the actual main grub.cfg file for menuentries on that partition.

I'm not familiar with Pop but wonder how the 'pop' directory appeared on the EFI partition. Was it during the install of Grub from Pop, manually done?

The entry in your initial post which you added to the 40_custom file won't boot from Grub. The path should be to the filesystem partition not to the EFI partition. Also, you indicate in the initial post you ran 'grub-update'. That's a typo correct. Should have been sudo update-grub. Didi you get any output from that? If you edited the 40_custom file and saved the changes and run update-grub, there should have been output.

Last edited by yancek; 05-09-2024 at 08:42 AM.
 
Old 05-11-2024, 03:32 PM   #18
cwdztsd88
LQ Newbie
 
Registered: Feb 2024
Distribution: Pop_OS
Posts: 27

Original Poster
Rep: Reputation: 0
Exclamation

Quote:
Originally Posted by colorpurple21859 View Post
did you run the two commands in post #6 just as they are and notice what the prefix= line references?
are you there
 
Old 05-12-2024, 04:35 AM   #19
cwdztsd88
LQ Newbie
 
Registered: Feb 2024
Distribution: Pop_OS
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cwdztsd88 View Post
are you there
pardon me i didnt knew there there was second page, iam working on it now then
 
Old 05-12-2024, 08:17 AM   #20
cwdztsd88
LQ Newbie
 
Registered: Feb 2024
Distribution: Pop_OS
Posts: 27

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by yancek View Post
You never mentioned whether you had any problems (warning/error messages) during the install of Grub nor how exactly you did the install. That could be useful information.

In post 5, your efibootmgr output shows entries for GRUB, arch and pop. If you run the below command, do you see directories for each at that location?

Code:
ls /boot/efi/EFI
Do you still have Arch installed on another drive? If so, does it boot and if you run grub-mkconfig on it, do you get an entry for Pop OS?

In post 8, you show a grub.cfg file in the /boot/efi/EFI/pop directory with contents pointing to the grub.cfg file on the Pop partitions (hd0,2). What do you see on the actual main grub.cfg file for menuentries on that partition.

I'm not familiar with Pop but wonder how the 'pop' directory appeared on the EFI partition. Was it during the install of Grub from Pop, manually done?

The entry in your initial post which you added to the 40_custom file won't boot from Grub. The path should be to the filesystem partition not to the EFI partition. Also, you indicate in the initial post you ran 'grub-update'. That's a typo correct. Should have been sudo update-grub. Didi you get any output from that? If you edited the 40_custom file and saved the changes and run update-grub, there should have been output.
,
my whole grub was somehow broken after commenting line GRUB_TIMEOUT_STYLE=hidden, selecting a entry from that blueish menu would return "/grub/blablablagrub.cfg couldn't be found, /grub/blablabla.efi couldn't be found" --I definely didn't touched them, seriously they happened on their own maybe purple guy's --no-uefi thing removed them--. and reinstalled everything thanks to archwiki, chroot was a big problem. I again didn't get any error warnings or errors. after adding --no-uefi-secure-boot it worked like a magic, i dont understand anything but it works, thank you for your interest.
 
Old 05-12-2024, 08:20 AM   #21
cwdztsd88
LQ Newbie
 
Registered: Feb 2024
Distribution: Pop_OS
Posts: 27

Original Poster
Rep: Reputation: 0
https://www.gnu.org/software/grub/manual/grub/grub.html

i will read this now i hope it will help me comprehend this complex bootloader.
 
Old 05-12-2024, 01:26 PM   #22
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
my whole grub was somehow broken after commenting line GRUB_TIMEOUT_STYLE=hidden
That entry does exactly what it says, it does not show any Grub so I don't know what you were seeing on boot.
 
Old Today, 01:29 PM   #23
friendlysalmon8827
Member
 
Registered: Dec 2023
Distribution: Anfroid,Debian
Posts: 109

Rep: Reputation: 6
I do believe that the default grub configuration files are in the /etc/default/grub file however i may be wrong when it comes to PopOS as I haven't used PopOS.
 
  


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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
after reinstalling grub, grub comes in command prompt mode daudiam Linux - General 17 05-24-2010 03:54 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Doesn't boot. Comes up with GRUB command line. jjbuchan Linux - Newbie 4 10-24-2005 01:00 PM
Command ls --color=always, can always be always Kevin Tough Linux - Newbie 1 09-08-2005 11:05 PM

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

All times are GMT -5. The time now is 05:18 PM.

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