FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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?
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.
[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?
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
@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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.