LinuxQuestions.org
Visit Jeremy's Blog.
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-27-2021, 07:54 AM   #46
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
Post /etc/default/grub
What happens with
grub> configfile (hd0,5)/boot/grub/grub.cfg
It gave me a blank/cleaned screen with only the grub prompt: grub>

Rebooting took me back to grub prompt
 
Old 05-27-2021, 08:14 AM   #47
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Is that from within chroot?
 
Old 05-27-2021, 09:02 AM   #48
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Is that from within chroot?
Yes, that cat /etc/default/grub was in chroot
 
Old 05-27-2021, 09:27 AM   #49
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
What happens when you enter this
Code:
linux (hd0,5)/boot/vmlinuz-linux-libre-lts root=/dev/sda5
initrd (hd0,5)/boot/initramfs-linux-libre-lts.img
boot
and/or this at the grub prompt

Code:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
 
Old 05-27-2021, 09:50 AM   #50
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What happens when you enter this
Code:
linux (hd0,5)/boot/vmlinuz-linux-libre-lts root=/dev/sda5
initrd (hd0,5)/boot/initramfs-linux-libre-lts.img
boot
Couldn't do the first line, linux (hd0,5)/boot/vmlinuz-linux-libre-lts root=/dev/sda5 gave me
error: file '/boot/vmlinuz-linux-libre-lts' not found

and/or this at the grub prompt

Code:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
[/QUOTE]

search -s root -f /EFI/Microsoft/Boot/BCD gave me:
error: no such device: /EFI/Microsoft/Boot/BCD
 
Old 05-27-2021, 10:26 AM   #51
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
If the usb is plugged in it may
Code:
linux (hd1,5)/boot/vmlinuz-linux-libre-lts root=/dev/sda5
initrd (hd1,5)/boot/initramfs-linux-libre-lts.img
boot
Code:
set root=(hd0,1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
 
Old 05-27-2021, 10:29 AM   #52
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
what is in /etc/grub.d?
 
Old 05-27-2021, 11:14 AM   #53
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
what is in /etc/grub.d?
root@parabolaiso ~ # arch-chroot /mnt
[root@parabolaiso /]# ls /etc/grub.d
00_header 10_linux 20_linux_xen 30_os-prober 40_custom 41_custom README
[root@parabolaiso /]#
 
Old 05-27-2021, 02:23 PM   #54
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
edit /etc/grub.d/40_custom and add this at the bottom of what is already there, rerun grub-mkconfig

Code:
menuentry 'parabola'{
insmod load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set=root 522c8b3d-2472-441b-8961-2809edab6ff1
linux (hd1,5)/boot/vmlinuz-linux-libre-lts root=UUID=522c8b3d-2472-441b-8961-2809edab6ff1 loglevel=3 
initrd (hd1,5)/boot/initramfs-linux-libre-lts.img
}

menuentry 'windows' --class=windows{
set root=(hd0,1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Last edited by colorpurple21859; 05-27-2021 at 02:26 PM.
 
Old 05-27-2021, 02:51 PM   #55
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
edit /etc/grub.d/40_custom and add this at the bottom of what is already there, rerun grub-mkconfig

Code:
menuentry 'parabola'{
insmod load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set=root 522c8b3d-2472-441b-8961-2809edab6ff1
linux (hd1,5)/boot/vmlinuz-linux-libre-lts root=UUID=522c8b3d-2472-441b-8961-2809edab6ff1 loglevel=3 
initrd (hd1,5)/boot/initramfs-linux-libre-lts.img
}

menuentry 'windows' --class=windows{
set root=(hd0,1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
Done, shall I reboot?
 
Old 05-27-2021, 02:53 PM   #56
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
yes, does that give you a grub menu?

Last edited by colorpurple21859; 05-27-2021 at 02:54 PM.
 
Old 05-27-2021, 02:58 PM   #57
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Yes, I tried choosing parabola and gave me the errors

file: '/boot/grub/x86_64-efi/load_video.mod' not found

file: '/boot/vmlinuz-linux-libre-lts' not found

you need to load the kernel first


As for windows error:

disk 'hd0,1' not found
 
Old 05-27-2021, 03:03 PM   #58
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
at the grub menu press e for edit change hd0 to hd1

Last edited by colorpurple21859; 05-27-2021 at 03:04 PM.
 
Old 05-27-2021, 03:30 PM   #59
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
It gave me the same errors for linux and windows
 
Old 05-27-2021, 03:34 PM   #60
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Post the output of
Code:
lsblk -f
 
  


Reply

Tags
grub, instal, installation



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
Need Help Configuring Grub (Libreboot) to Load LUKS Encrypted Parabola Logical Volume Group nekrosynthesis Linux - Newbie 35 11-12-2019 01:04 AM
Parabola GNU / Linux - Problem with ATI driver (Radeon HD 4250) when starting x Roondmoond Linux - Newbie 12 10-08-2014 03:31 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Parabola GBU/Linux 2012 laptop dualboot ilovepenquins Linux - Laptop and Netbook 4 07-18-2013 06:31 AM
"isolinux.bin missing or corrupt" for Arch, Parabola and Fedora zwitterion-241920 Linux - General 5 12-30-2011 04:57 AM

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

All times are GMT -5. The time now is 09:43 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