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


Groups > linux.debian.user > #245276

Re: Stupid question

From harryweaver@tutanota.com
Newsgroups linux.debian.user
Subject Re: Stupid question
Date 2022-02-12 11:40 +0100
Message-ID <DPXYR-1huJ-7@gated-at.bofh.it> (permalink)
References <DPWzL-1gLK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


12 Feb 2022, 19:04 by hans.ullrich@loop.de:

> Dear list, 
>
> I am thinking of a solution of a problem. But I have an understanding problem, 
> maybe you can give some background knowledge.
>
> The problem: I have one harddrive, there are two linuces installed.
>
> The partitions are as followed:
>
> kali-linux: 1st primary -> /boot
>  2nd > /
>
>
> debian    3rd primary -> /boot
>  4th logical > /
>  > swap
>  > /home (encrypted)
>  > /usr (encrypted)
>  > /var (encrypted)
>
>
> This is the structure, and as said before, only ONE drive.
>
> Now my question: Is it possible to configure grub that way, that I can choose 
> either kali or debian to boot?
>
> What I might to know, please correct me:
> Both are running different kernels. As far as I understood grub, I can set the 
> root partition ( / ) with the UUID. This is an entry in grub.cfg and maybe in 
> /etc/default/grub. 
>
> But how can I tell grub, to use the kernel of the second /boot? 
>
> I dunno, if it is possible at all, to get a dual boot, the way I want it. With 
> a combination of Windows + Linux on one harddrive this is working, however, 
> just because grub does not touch the windows bootloader (as fas as I know), 
> and what of course is also working, if you got two harddrives, each with 
> different linux. They all can be booted from one grub installation, of course.
>
> Maybe I could find a solution, if I would have fully understood how grub is 
> working, and what it is doing.
>
> Any hints are welcome, and if this does never work at all, please drop me a 
> line.
>


This will work without any problems, despite what I see as unusual partitioning.
You would have no need to configure Grub, but you would need to re-enable OS-prober, which would do it for you.
Cheers!

Harry

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


Thread

Stupid question Hans <hans.ullrich@loop.de> - 2022-02-12 10:10 +0100
  Re: Stupid question harryweaver@tutanota.com - 2022-02-12 11:40 +0100
  Re: Stupid question rhkramer@gmail.com - 2022-02-12 15:10 +0100
    Misremembered (was: Re: Stupid question) rhkramer@gmail.com - 2022-02-14 16:10 +0100
      Re: Misremembered (was: Re: Stupid question) Bijan Soleymani <bijan@psq.com> - 2022-02-14 16:20 +0100
        Re: Misremembered (was: Re: Stupid question) David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 00:30 +0100
          Re: Misremembered (was: Re: Stupid question) David <bouncingcats@gmail.com> - 2022-02-15 02:30 +0100
            Re: Misremembered (was: Re: Stupid question) Curt <curty@free.fr> - 2022-02-15 12:40 +0100
          Re: Misremembered (was: Re: Stupid question) Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-15 19:30 +0100
            Re: Misremembered John Hasler <john@sugarbit.com> - 2022-02-15 19:50 +0100
              Re: Misremembered Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-15 20:20 +0100
                Re: Misremembered John Hasler <john@sugarbit.com> - 2022-02-15 21:50 +0100
                Re: Misremembered Emanuel Berg <moasenwood@zoho.eu> - 2022-02-16 00:10 +0100
                Re: Misremembered Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-16 00:10 +0100
                Re: Misremembered gene heskett <gheskett@shentel.net> - 2022-02-16 00:50 +0100
                Re: Misremembered "Andrew M.A. Cater" <amacater@einval.com> - 2022-02-16 10:50 +0100
                Re: Misremembered Cindy Sue Causey <butterflybytes@gmail.com> - 2022-02-16 11:40 +0100
            Re: Misremembered Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-15 20:40 +0100
            Re: Misremembered (was: Re: Stupid question) David Wright <deblis@lionunicorn.co.uk> - 2022-02-16 21:40 +0100
  Re: Stupid question David Christensen <dpchrist@holgerdanske.com> - 2022-02-12 19:30 +0100
  Re: Stupid question Chuck Zmudzinski <brchuckz@netscape.net> - 2022-02-13 08:50 +0100
    Re: Stupid question Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-13 17:30 +0100
      Re: Stupid question "Thomas Schmitt" <scdbackup@gmx.net> - 2022-02-13 18:30 +0100
      Re: Stupid question Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-14 22:00 +0100
        Re: Stupid question David <bouncingcats@gmail.com> - 2022-02-15 02:10 +0100
          Re: Stupid question Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-15 19:40 +0100
      Re: Booting with Grub, was Re: Stupid question David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 00:20 +0100
  Re: dual booting, was Re: Stupid question David Wright <deblis@lionunicorn.co.uk> - 2022-02-13 18:10 +0100
    Re: dual booting, was Re: Stupid question Hans <hans.ullrich@loop.de> - 2022-02-13 19:00 +0100
      Re: dual booting, was Re: Stupid question David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 17:20 +0100
    Re: dual booting, was Re: Stupid question Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-13 19:30 +0100
      Re: dual booting, was Re: Stupid question David <bouncingcats@gmail.com> - 2022-02-14 00:20 +0100
        Re: dual booting, was Re: Stupid question David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 17:20 +0100
      Re: dual booting, was Re: Stupid question David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 17:20 +0100

csiph-web