LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-12-2023, 09:03 PM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590

Quote:
After I have installed Debian Grub bootloader to replace the problematic grub on the /sda.
Debian sets up grub differently from fedora. Besides the fact that debian based distros put grub files in /boot/grub and fedora puts grub files in /boot/grub2, fedora does not setup grub like most other distros.
If the partition layout is still the same as in your other thread this may produce the fedora grub menu.
Code:
grub> configfile (hd0,8)/boot/grub2/grub.cfg
If the grub menu doesn't appear and /or the partition layout has changed will need more information to give any advice henceforth the suggestion to run the boot-repair info script.

Last edited by colorpurple21859; 04-12-2023 at 09:06 PM.
 
1 members found this post helpful.
Old 04-13-2023, 05:07 AM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,523

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Quote:
i have choosen to install Grub on /sdb-hoping to give alternative boot options.
Is sdb the windows drive? You seem to be selective on which questions you answer. At this point, you will need to download and run the bootinfoscript as suggested as that will provide the most detailed information for you to get some help.
 
1 members found this post helpful.
Old 04-14-2023, 08:20 AM   #18
Penstroke4
Member
 
Registered: Apr 2022
Posts: 39

Original Poster
Rep: Reputation: 0
Grub2win - display grub rescue

Quote:
Originally Posted by colorpurple21859 View Post
To find out what is happening, download the boot-repair 64bit iso, https://sourceforge.net/p/boot-repair-cd/home/Home/ put it on a usb. Once booted into the boot-repair iso, do not run "recommended repair", run "create bootinfo summary" and post the results.
>>>>>>>
Accordingly, I have booted the boot-repair-cd usb into my my pc and had extracted the boot info and guided by the app and was posted to
https://paste.ubuntu.com/p/kcRw8Gb5mG/.

A note though, after much frustrated attempts to get the bootloader to work, I have tried numerous utilities .
Finally I have used Sergei strelec winPE to restore windows 10 bootloader to get into windows OS.
Unfortunately this bootloader can see windows partition only and not Debian, Fedora and Elementary OS-
which I have installed during this period.
Hence I am still unable to boot into those Linux OS.

Kindly advise
Thanks
 
Old 04-14-2023, 08:29 AM   #19
Penstroke4
Member
 
Registered: Apr 2022
Posts: 39

Original Poster
Rep: Reputation: 0
Grub2win - display grub rescue

Quote:
Originally Posted by colorpurple21859 View Post
Debian sets up grub differently from fedora. Besides the fact that debian based distros put grub files in /boot/grub and fedora puts grub files in /boot/grub2, fedora does not setup grub like most other distros.
If the partition layout is still the same as in your other thread this may produce the fedora grub menu.
Code:
grub> configfile (hd0,8)/boot/grub2/grub.cfg
If the grub menu doesn't appear and /or the partition layout has changed will need more information to give any advice henceforth the suggestion to run the boot-repair info script.
>>>>>>>>>>>>
Code:
grub> configfile (hd0,8)/boot/grub2/grub.cfg
Using LXTerminal on the <boot-repair-cd> usb, I have typed grub> but I get the error bash: syntax error near unexpected token 'newline'.
what is missing?
 
Old 04-14-2023, 08:44 AM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
NO, this done at the grub> prompt when you first turn the system on. This is based on your previous post:
Quote:
<< At that time, i have choosen to install Grub on /sdb-hoping to give alternative boot options. Previously I have install Grub on /sda-but keep producing Grub prompt >>
However based on the boot-repair-info the partition layout has changed and I don't think post16 will work, I need to study the boot-info before giving any other advice.

Are you still able to boot windows? At some point did you reinstall windows? The current linux root partition on sda10 of 13.9G is not big enough.

Based on the boot-info, if it was me I would backup all important files, clear the sda drive of all partitions and do a complete reinstall of windows and linux. If you don't wont to reinstall windows, delete partitions 6 and 8-14, keep partition 7
during the partitioning stage let the installer do the partitioning

Maybe someone else will have a better way of fixing.

Last edited by colorpurple21859; 04-14-2023 at 02:08 PM.
 
1 members found this post helpful.
Old 04-14-2023, 07:16 PM   #21
Penstroke4
Member
 
Registered: Apr 2022
Posts: 39

Original Poster
Rep: Reputation: 0
Grub2win - display grub rescue

[QUOTE=colorpurple21859;6424503]NO, this done at the grub> prompt when you first turn the system on. This is based on your previous post:

However based on the boot-repair-info the partition layout has changed and I don't think post16 will work, I need to study the boot-info before giving any other advice.

Are you still able to boot windows? At some point did you reinstall windows? The current linux root partition on sda10 of 13.9G is not big enough.

>>>>>>>>>>>>
Yes after I am able to boot to Windows 10 -using Sergei Strelec to fix the bootrec /fixmbr.
Windows 10 is now intact throughout this time. No I didnt reinstall Windows.

The current linux root partition on sda10 of 13.9G is not big enough.
What is the ideal size for a root partition. In case I may need to re-install Debian\Fedora?

Thanks
 
Old 04-14-2023, 08:00 PM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
The size of the root partition is subject to specualtion and prefernce. It mostly depends on how the system is used and partition layout. I wouldn't go no less than 35G, I prefer to have at least 80G if not more on the systems I use daily
 
1 members found this post helpful.
Old 04-17-2023, 07:55 AM   #23
Penstroke4
Member
 
Registered: Apr 2022
Posts: 39

Original Poster
Rep: Reputation: 0
@1530hrs, I have finally managed to get my Debian 11 setup & running successfully with dual booting to Windows 10 after numerous trial and error. Thanks to all kind moderator & senior LQ. who have been patiently assisting me on this. Especially to colourpurple21859 who have been assisting me to this end.
Thanks
 
Old 04-17-2023, 09:13 AM   #24
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Glad you got it figured out.
 
1 members found this post helpful.
  


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] Rescue mode and grub rescue beyond my understanding A Novice Linux Mint 9 06-15-2019 11:10 AM
Centos 7 grub rescue issue by mondo rescue hassanbsee2071 Linux - Software 8 12-17-2018 02:42 AM
error: unknown filesystem. entering rescue mode. ..grub rescue> Celsiusrising Linux - Newbie 7 06-29-2018 11:51 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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