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


Groups > linux.debian.user > #175061

Re: Dual Boot

From Jan Bakuwel <jan.bakuwel@gmail.com>
Newsgroups linux.debian.user
Subject Re: Dual Boot
Date 2016-11-25 19:40 +0100
Message-ID <sHtzH-49a-13@gated-at.bofh.it> (permalink)
References <sHqVb-2o9-19@gated-at.bofh.it> <sHr4R-2rt-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Dan, Hans,

> On 26/11/2016, at 04:51, Hans <hans.ullrich@loop.de> wrote:
> 
> Am Freitag, 25. November 2016, 10:15:09 CET schrieb Dan Norton:
> 
> Hi Dan, 
> 
> I have a similar problem with Kali-Linux and Debian. Everytime I upgrade a 
> kernel in kali-linux (which is on second drive), it overwrites grub on the 
> first drive.
> 
> My solution: I am booting "super-grub-disk-2" (google for it), and from this I 
> can boot the old grub configuration.
> 
> When booted into debian (by using super-grub-disk-2), I am able to reinstall 
> grub on the first drive again. 
> 
> You can either use "dpkg-reconfigure grub-pc" or "update-grub" or even just 
> reinstall the package "grub-pc".
> 
> I also tried to use the debian installation cd in rescue mode, but I never get 
> success. At all, I am really not very happy with debian installation cd in 
> rescue mode. My favourites are special live rescue  cd's like Trinity-Rescue-
> Kit, RIP, Knoppix and GRML.

What I do is have a small "boot/rescue" OS installed in the first partition (in my case Debian). It's boot loader is installed in the MBR. The only function of this OS is to chain load another OS (and perhaps for rescue purposes if something bad happens). In my case there's two flavors of Windows (although I never use those: using Windows in Virtualbox when I need it is more convenient) and three flavors of Linux: I don"t like throwing my old shoes away until I know I can walk on the new.

All these OSes of course need there own partitions. For reasons beyond my understanding grub complains about being installed in a partition instead of the MBR ("embedding is not supported and a BAD idea", yet it works fine). But since there likely is a logical reason for that warning, I'm moving away from grub and use extlinux instead.

The point of this is that each Linux OS can do whatever it likes (ie upgrades) with it's boot partition and boot loader: new kernel versions, new boot loader without affecting the "master boot loader".

Hopefully update-grub as Alexandre suggested will add Windows to the grub menu.

hope this helps,
Jan

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


Thread

Dual Boot Dan Norton <dnorton@mindspring.com> - 2016-11-25 16:50 +0100
  Re: Dual Boot Hans <hans.ullrich@loop.de> - 2016-11-25 17:00 +0100
    Re: Dual Boot Jan Bakuwel <jan.bakuwel@gmail.com> - 2016-11-25 19:40 +0100
      Re: Dual Boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-25 23:10 +0100
        Re: Dual Boot Jan Bakuwel <jan.bakuwel@gmail.com> - 2016-11-27 21:10 +0100
          Re: Dual Boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-28 00:50 +0100
            Re: Dual Boot Jan Bakuwel <jan.bakuwel@gmail.com> - 2016-11-28 05:30 +0100
  Re: Dual Boot Alexandre GRIVEAUX <agriveaux@deutnet.info> - 2016-11-25 17:10 +0100

csiph-web