[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Boot



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


Reply to: