1

I am new to linux. I had dual boot kubuntu and Windows 8. After a while I decided to keep only kubuntu, so I started GParted and deleted windows partitions. But now I can't boot into kubuntu, in bios I get Ubuntu (drive not present) in boot options. I tried to use Boot Repair, but it didn't help. Here are screenshots of current situation from GParted: https://i.stack.imgur.com/Z5ZaH.jpg

Thank you in advance

1
  • 1
    You'll get faster help if you describe the situation rather than linking an image about it. Nov 1, 2015 at 11:21

1 Answer 1

1

Reinstalling grub will do.

  • Boot into a Ubuntu Live Media.

  • Then chroot into your exisitng root,

    sudo mount /dev/sdb2 /mnt/
    sudo mount /dev/sdb1 /mnt/boot/efi
    
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /dev/pts /mnt/dev/pts
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    
    sudo chroot /mnt
    
  • Reinstall Grub

    grub-install
    

Full tutorial can be found here.

NOTE: sdbX values may change. The commands are for device given the screenshot

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .