1

I have a Windows 10 and Ubuntu dual boot on my laptop, I'd like to turn it into a triple boot with kali linux, the fact is I already have grub as the ubuntu installer added it.

After a bit of research I found out that kali adds it too (not sure but probably something debian does that both keeped, I never used debian if not on a live usb).

How can I prevent it from doing so? Also, to make space for kali I want to shrink the Windows partition, but I don't know how to do it from windows and Gparted gives me a warning and doesn't let me resize it.

enter image description here

0

When your third operating system finishes it's installation, choose Ubuntu and then run following commands (in Ubuntu).

Reinstall GRUB: grub-install --root-directory=/mnt/ /dev/sda
Reboot: shutdown -r now
Restore the GRUB menu: update-grub

You will have Ubuntu grub bootloader :)

Nice tip: Your BIOS may have option to protect boot sector.

EDIT:

Regarding resizing, do not attempt to resize a partition on a device that is in use.

Please use LIVE CD and unmount your drive and then resize partition you want.

  • Thanks, got any tips on the second question? – Tommaso Thea Cioni Mar 4 '17 at 19:10
  • Please look at my edit :) You cant resize partition if you are using it. Use some linux live cd/usb to do so. – Luka Mar 4 '17 at 19:10
  • If I helped click on ^ and ✓ – Luka Mar 4 '17 at 19:13
  • 1
    I put it as the accepted answer but I can't upvote as I'm under 15 reputation, sorry – Tommaso Thea Cioni Mar 4 '17 at 19:15
  • hey I forgot to reboot and mistakenly shut down. Now I see a bash-like screen (grub) and I update-grub is not working! Help me please I'm confused – Tommaso Thea Cioni Mar 4 '17 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.