LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-11-2024, 03:35 AM   #16
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 280

Original Poster
Rep: Reputation: 3

Quote:
Originally Posted by yancek View Post
Why do you upgrade Grub on Debian if you don't use/need it? Did you try the suggestion above in post 11?



Does that mean you are not sure? It should be easy enough to determine as the background on the menu for each system is very different. If that doesn't tell you, you could try running boot repair which you can download from the site at the link below. If you select the option to Create BootInfo summary, it will output a report and the info on which OS is in the MBR will be at the top of the report. Do NOT do any repairs.

https://sourceforge.net/projects/boot-repair-cd/
I upgrade Grub on Debian because I want all security and necessary updates installed in Debian.
Code:
apt-get update && apt-get upgrade  && apt-get dist-upgrade
Does please exist more simple way ? (I thought most users were doing upgrades this way)

I'm not sure which part of disk grub writes to. I'm sure which grub is currently installed / active. Both grubs look very differently. Even if they look the same, Debian's grub differs in that it does not contain openSUSE (as I already said)
 
Old 05-11-2024, 03:42 AM   #17
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 280

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by yancek View Post
Did you try the suggestion above in post 11?

https://sourceforge.net/projects/boot-repair-cd/
I don't want remove Debian's grub. I would remove Debian's grub If I would want to do it and I would never create this thread then.
 
Old 05-11-2024, 08:31 PM   #18
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,859
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
If you wish a fully updated Bookworm that works normally, but wish to use its Grub, then you'll almost certainly need to reinstall openSUSE without using BTRFS, and without its Grub. openSUSE TW's Grub is typically the latest available from upstream, newer and not directly compatible with Bookworm's. Trixie's Grub 2.12-2 might do better with TW's 2.12-14, but you really will be better off purging one Grub or the other, and better (necessary?) the oldest if you wish to keep using BTRFS.

Not having Grub installed in Debian will not affect its security.

To repeat what has already been stated, only one bootloader is needed per (Linux-only) PC. To have otherwise is an unnecessary troublesome nuisance at a minimum, or worse.
 
1 members found this post helpful.
Old 05-13-2024, 12:52 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,996

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
Quote:
Originally Posted by MakeTopSite View Post
g

Because TW is not visible in Debian's grub menu.
this is what you need to solve. I don't know why is it not detected, probably only a configuration issue, but the solution is not to disable grub-install.
 
Old 05-14-2024, 03:53 AM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,375

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
One way to boot opensuse from debian grub is to create a menu entry to call opensuse grub.cfg in /etc/grub.d/40_custom similar to this:
Code:
menuentry 'opensuse cfg' {
set root=(hd0,2)
configfile /grub2/grub.cfg
}
and then run update-grub.

Notes:
(hd0,2) represents the partition grub2 directory is on with drives counting from zero and partitions from one.
/Grub2/grub.cfg would be the path if there is a boot partition, otherwise the path most likely will be /boot/grub2/grub.cfg
change each accordingly to match your system.

Last edited by colorpurple21859; 05-14-2024 at 04:33 AM.
 
1 members found this post helpful.
Old 05-15-2024, 07:06 AM   #21
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 280

Original Poster
Rep: Reputation: 3
Thumbs up

Quote:
Originally Posted by mrmazda View Post
If you wish a fully updated Bookworm that works normally, but wish to use its Grub, then you'll almost certainly need to reinstall openSUSE without using BTRFS, and without its Grub. openSUSE TW's Grub is typically the latest available from upstream, newer and not directly compatible with Bookworm's. Trixie's Grub 2.12-2 might do better with TW's 2.12-14, but you really will be better off purging one Grub or the other, and better (necessary?) the oldest if you wish to keep using BTRFS.

Not having Grub installed in Debian will not affect its security.

To repeat what has already been stated, only one bootloader is needed per (Linux-only) PC. To have otherwise is an unnecessary troublesome nuisance at a minimum, or worse.
It seems to be problem-solving answer, thank you.
 
Old 05-15-2024, 07:13 AM   #22
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 280

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by pan64 View Post
this is what you need to solve. I don't know why is it not detected, probably only a configuration issue, but the solution is not to disable grub-install.
AFAIK it's caused by physical interpretation of the BTRFS snapshot. It's unsolvable in the current state.
 
  


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] How ro disable GRUB and install GRUB tools ? fredmyra Linux - Newbie 8 12-28-2022 05:28 PM
LXer: Set Up Automatic Update Installation Using DNF-Automatic Timer Unit LXer Syndicated Linux News 0 04-25-2022 07:54 PM
LXer: How to Enable/ Disable Automatic Login in Debian 10 LXer Syndicated Linux News 0 03-02-2020 05:30 PM
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 > Debian

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