grub2 - Ubuntu-Windows10 dual boot - Ask Ubuntu
i new here , need in order solve problem. yesterday decided make partition on laptop (hp pavilion 15-b103 (5i-3337u/4g/500gb)) , install ubuntu 16.10. laptop runs windows 10. ok in installation problem can't make dual boot..i mean choose operating system when laptop boots. tried on goolge (disable safe mode, run repair boot on ubuntu, enable legacy mode, bios etc.) still boots directly windows 10!!! can please tell me how fix it? want start using ubuntu don't want delete windows. ps: have try find answer here , applied solutions nothing worked :( thank in advance guys
these complete steps need have windows , ubuntu on boot menu, need live disk go terminal. after boots go terminal , enter following command: sudo fdisk -l
this command show partitions on hdd, have know partition linux distro installed on (gparted can great in that).
use gparted see linux installed
and enter command:
sudo mount /dev/sda1 /mnt
then command:
sudo mount --bind /dev /mnt/dev
then command
sudo chroot /mnt
then command
grub-install /dev/sda
then command
update-grub
if computer boots directly ubuntu (or whatever linux distro have) go terminal , enter:
sudo update-grub
finally reboot , have grub menu both linux , windows!
Comments
Post a Comment