Duel boot Kubuntu and LEAP 42.1

Hi All

I intend to migrate from Kubuntu (already installed) to LEAP 42.1. To do this I will duel boot for a short while so I can copy data over. I currently have Kubuntu installed on a SDD drive with it’s home directory on a separate HDD. Kubuntu boots via MBR. I plan on re-partitioning the SDD drive and the other drive (so there will be space on the SSD for the leap OS and space on the other drive for the LEAP home directory) and then installing LEAP onto the newly created partitions. 1st question, how can I make it so both LEAP and the existing Kubuntu installation use LEAPs GRUB to boot (I’m assuming it won’t matter that Kubuntu OS uses ext4 file system and the LEAP one will btrf?). 2nd question, Once I install LEAP and copy my data over from the old home directory to the new one (both ext4) how do I tell the LEAP GRUB that the Kubuntu entry is no longer needed before I delete the Kubuntu partition?

Cheers

On 29/06/16 14:06, RobDean wrote:

1st question, how can I make it so both LEAP and the
> existing Kubuntu installation use LEAPs GRUB to boot (I’m assuming it
> won’t matter that Kubuntu OS uses ext4 file system and the LEAP one will
> btrf?).
Leap does not need to be btrfs and can also be ext4 but it does not
matter. You should install Leap to control the Grub2 menu (there are a
number of ways it can be achieved and you can decide for yourself on
that.). Installing Grub2 to MBR (of disk controlled by the bios) is one
way.

2nd question, Once I install LEAP and copy my data over from the
> old home directory to the new one (both ext4) how do I tell the LEAP
> GRUB that the Kubuntu entry is no longer needed before I delete the
> Kubuntu partition?

Run the following command (as root) after deleting Kubuntu:
:~ # grub2-mkconfig -o /boot/grub2/grub.cfg

The os-prober will then see that there is no Kubuntu and will update the
grub.cfg file.

Recommend to read the following:

  1. Beginner’s Guide to openSUSE Leap 42.1 / SUSE Linux -
    http://opensuse-guide.org/installation.php
  2. Documentation Guides & Manuals: https://doc.opensuse.org/
    12 The Boot Loader GRUB 2
    https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.grub2.html

Thanks Peter_Abc (sorry, I just realised I hadn’t replied.) OpenSuse installed and very happy with it - Cheers!