![ubuntu on windows 10 loader ubuntu on windows 10 loader](https://i.stack.imgur.com/tbSZH.png)
Refer to the handy guide on fixing a broken system You may have to do grub-install a bit differently. if you have deleted the partition from where Grub was previously installed, grub-install may return an error message such as "cannot find a device for /. Trouble? If other things are messed up, e.g. This is due to the fact that GRUB is installed in the MBR of the drive, and not on a partition. dev/sda5 18725 19458 5884928 82 Linux swap / Solarisįrom here, find only the drive name, ignore the partition number, that is, for partitions labeled "root", "data2", "fat", "home" and "swap" it's all still just sda. I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes You can also use fdisk if you do not see the /dev/disk/by-label: $ sudo fdisk -lĭisk /dev/sda: 160.0 GB, 160041885696 bytesĢ55 heads, 63 sectors/track, 19457 cylinders Lrwxrwxrwx 1 root root 10 Oct 16 10:27 windows ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 swap ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 root ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 home ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 fat ->. Lrwxrwxrwx 1 root root 10 Oct 16 10:27 data2 ->. This will give the output of something like: lrwxrwxrwx 1 root root 10 Oct 16 10:27 data ->. You can determine the /dev node for such a device by running: ls -l /dev/disk/by-label/ Hint: You can also use /dev/disk/by-label/ if the partition you installed on has a label. Where XXX is the device of your Ubuntu install.
![ubuntu on windows 10 loader ubuntu on windows 10 loader](https://cdn4.geckoandfly.com/wp-content/uploads/2019/04/easybcd.jpg)
You are then presented with a standard bash prompt, type - this only works to reinstall to MBR of a working system:.
Ubuntu on windows 10 loader full#
Alternately use the Keyboard Shortcut: CTRL + ALT + T.įor full details on using terminal to fix grub on hard drive from Live Installer DVD or Flash: On earlier versions, you can achieve this by going to Applications -> Accessories -> Terminal. As of Ubuntu 11.10 and 11.04, this can be done by opening the Unity Dash (you can click the Ubuntu logo in the top panel or use the Windows key on your keyboard) and typing in "Terminal", and clicking what comes up. You can also use a LiveUSB if you have created one in the past. Insert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session.Note: this tutorial does not apply if you had installed Ubuntu inside Windows (via the Wubi installer). Some reasons to repair your boot-loader might include installing Microsoft Windows after you have installed Ubuntu, adding or removing a hard drive, or changing hard drive settings.
Ubuntu on windows 10 loader how to#
This page documents how to restore or recover the boot-loader ( GRUB) after installing Windows.