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


Groups > linux.debian.user > #274230

Re: [solved, partly] Re: Grub menu entry for a system on a second drive.

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: [solved, partly] Re: Grub menu entry for a system on a second drive.
Date 2024-11-01 12:10 +0100
Message-ID <JDXHr-5SSj-5@gated-at.bofh.it> (permalink)
References (5 earlier) <JCcUh-4Beu-3@gated-at.bofh.it> <JCguS-4Dse-11@gated-at.bofh.it> <JCvNf-4QKV-5@gated-at.bofh.it> <JCvNf-4QKV-3@gated-at.bofh.it> <JDXHr-5SSj-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 31, 2024 at 23:10:22 -0500, David Wright wrote:
> On Mon 28 Oct 2024 at 07:08:12 (-0400), Greg Wooledge wrote:
> > On Sun, Oct 27, 2024 at 22:42:15 -0500, David Wright wrote:
> > > type
> > >   set -x
> > > before you run os-prober and
> > >   set +x
> > > afterwards, and track what it does.
> > 
> > os-prober is a script, so that won't work as written.  You'd either
> > need to modify os-prober (change the second line from "set -e" to
> > "set -ex" for example) and then run it; or do something like:
> > 
> >     script
> >     set -x
> >     source /usr/bin/os-prober
> >     exit
> > 
> > (That assumes your interactive shell is bash.)
> 
> I see what you mean. I guess one could make the shell explicit
> and then set x with:
> 
>   script
>   bash -x /usr/bin/os-prober
>   exit
> 
> (I can't remember where I saw that construction.)

Yeah, that would actually be better, because it doesn't assume anything
about your interactive shell.  Even better still would be
"sh -x /usr/bin/os-prober", since it's a #!/bin/sh script, not a bash
script.

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


Thread

Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-24 22:50 +0200
  Re: Grub menu entry for a system on a second drive. Felix Miata <mrmazda@earthlink.net> - 2024-10-24 23:00 +0200
  Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-25 05:30 +0200
    Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-25 17:50 +0200
      Re: Grub menu entry for a system on a second drive. Joe <joe@jretrading.com> - 2024-10-25 18:10 +0200
        Re: Grub menu entry for a system on a second drive. Max Nikulin <manikulin@gmail.com> - 2024-10-25 18:40 +0200
        Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-25 21:00 +0200
          Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-25 21:20 +0200
            Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-25 22:50 +0200
              Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-11-10 02:30 +0100
                Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-11-12 05:00 +0100
      Re: Grub menu entry for a system on a second drive. Greg Wooledge <greg@wooledge.org> - 2024-10-25 18:50 +0200
      Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-25 20:20 +0200
  Re (2): Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-25 18:40 +0200
    Re: Grub menu entry for a system on a second drive. Felix Miata <mrmazda@stanis.net> - 2024-10-25 20:00 +0200
      Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-25 21:10 +0200
        Re: Grub menu entry for a system on a second drive. Felix Miata <mrmazda@stanis.net> - 2024-10-25 22:50 +0200
        Re: Grub menu entry for a system on a second drive. Felix Miata <mrmazda@stanis.net> - 2024-10-26 06:00 +0200
          Re: Grub menu entry for a system on a second drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-26 07:10 +0200
    Re: Re (2): Grub menu entry for a system on a second drive. Tim Woodall <debianuser@woodall.me.uk> - 2024-10-25 23:40 +0200
      [solved, partly] Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-27 05:20 +0100
        Re: [solved, partly] Re: Grub menu entry for a system on a second  drive. David Wright <deblis@lionunicorn.co.uk> - 2024-10-27 16:00 +0100
          Re: [solved, partly] Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-27 19:50 +0100
            Re: [solved, partly] Re: Grub menu entry for a system on a second  drive. Greg Wooledge <greg@wooledge.org> - 2024-10-28 12:10 +0100
              Re: [solved, partly] Re: Grub menu entry for a system on a second  drive. Greg Wooledge <greg@wooledge.org> - 2024-11-01 12:10 +0100
            Re: [solved, partly] Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-10-28 17:30 +0100
            Re: [solved, more] Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-11-02 16:10 +0100
              Re: [solved, more] Re: Grub menu entry for a system on a second  drive. David Wright <deblis@lionunicorn.co.uk> - 2024-11-04 05:50 +0100
                Re: [solved, more] Re: Grub menu entry for a system on a second drive. peter@easthope.ca - 2024-11-10 04:00 +0100
              Re: [solved, more] Re: Grub menu entry for a system on a second  drive. Dan Purgert <dan@djph.net> - 2024-11-04 13:50 +0100
          Re: [solved, partly] Re: Grub menu entry for a system on a second  drive. Max Nikulin <manikulin@gmail.com> - 2024-11-03 03:50 +0100

csiph-web