Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176747

Re: How to seperate grub devices?

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: How to seperate grub devices?
Date 2017-01-16 12:30 +0100
Message-ID <t0dE5-88J-1@gated-at.bofh.it> (permalink)
References <sZthU-4mT-7@gated-at.bofh.it> <t0db5-7HX-29@gated-at.bofh.it> <t0dkK-817-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 16, 2017 at 12:05:06PM +0100, Hans wrote:
>You all did not understand me, maybe caused by my bad English.
>
>update-grub is ALWAYS changing grub.cfg on BOTH drives, same from which system
>it is started. And I want it only have changed on THAT DRIVE, I am running AT
>THE MOMENT. The other drive shall be then stayed untouched!

Then something is wrong with your system.

update-grub is a shell script which calls "grub-mkconfig -o 
/boot/grub/grub.cfg". (Evidence: 
https://sources.debian.net/src/grub2/2.02~beta2-22%2Bdeb8u1/debian/update-grub/)

grub-mkconfig generates a new configuration and outputs it either to 
stdout or to the file specified in the -o option. (Evidence: 
https://sources.debian.net/src/grub2/2.02~beta2-22%2Bdeb8u1/util/grub-mkconfig.in/)

There is no facility in either of these to output to TWO config files.

So, either you're using something like unionfs, or RAID mirroring or 
automatic file copying or something similar which is mirroring changes 
on one drive to another drive OR ELSE you actually only have one boot 
partition which both grubs point to.

>
>Hope this makes it more clear.
>
>Hans
>

-- 
For more information, please reread.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to seperate grub devices? Hans <hans.ullrich@loop.de> - 2017-01-14 11:00 +0100
  Re: How to seperate grub devices? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-01-14 11:20 +0100
    Re: How to seperate grub devices? Hans <hans.ullrich@loop.de> - 2017-01-14 11:40 +0100
      Re: How to seperate grub devices? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-01-14 12:00 +0100
  Re: How to seperate grub devices? Darac Marjal <mailinglist@darac.org.uk> - 2017-01-16 12:00 +0100
    Re: How to seperate grub devices? Hans <hans.ullrich@loop.de> - 2017-01-16 12:10 +0100
      Re: How to seperate grub devices? Darac Marjal <mailinglist@darac.org.uk> - 2017-01-16 12:30 +0100
        Re: How to seperate grub devices? Hans <hans.ullrich@loop.de> - 2017-01-16 12:50 +0100
          Re: How to seperate grub devices? <tomas@tuxteam.de> - 2017-01-16 13:00 +0100
          Re: How to seperate grub devices? Mark Fletcher <mark27q1@gmail.com> - 2017-01-16 13:10 +0100
            Re: How to seperate grub devices? "Thomas Schmitt" <scdbackup@gmx.net> - 2017-01-16 13:50 +0100
    Re: How to seperate grub devices? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-01-16 21:50 +0100

csiph-web