-1

A while ago I installed Ubuntu on a separate drive. I've been booting it from this separate drive ever since. Now I'd like to install Ubuntu on a dedicated partition of my laptop main drive. I've extracted the relevant iso content into my usb drive ready to re-install Ubuntu but unfortunately the installation does't boot up. I thought it was because of the grub terminal I get to see every time I turn on my laptop without inserting the separate drive I've mentioned before, so I researched how to get rid of it and I found and followed a guide that will take you to the win 10 safe mode terminal to run the bootrec/ bootsectcommands. I've run both of the commands but yet my laptop still boots with the grub terminal screen and the usb drive still doesn't load the Ubuntu installation.

My goal is to install Ubuntu on my main drive and will probably end up re-installing the grub; what can I do to achieve my goal (whether it will take to remove the current grub effectively or not)?

Please help it's urgent.

2 Answers2

0

Probably the option to boot from usb drive is disabled in the BIOS, try checking it in the boot section of your BIOS, you can access it by pressing F2 or F10 or Del on your keyboard while your pc is booting

0

The symptoms you describe (getting a grub> prompt if you try to boot with the external disk disconnected) are caused by the weird way Ubuntu configures GRUB, in conjunction with your external-disk installation. In particular, the main GRUB binary resides on the EFI System Partition (ESP), which in your case is on the internal disk; but this program relies on configuration files in the /boot/grub directory, which in your case is on the external disk. When GRUB can't read its configuration file, it presents a grub> prompt; and exiting from GRUB will then launch whatever's next in the EFI's boot order. This boot-time quirk will go away when you install Ubuntu to your internal disk; but if you wanted to keep Ubuntu on the external disk, you could work around the problem in various ways, such as by moving Ubuntu's /boot directory to a small dedicated /boot partition on the internal disk or by switching to another boot program that doesn't split its configuration file off in the way GRUB does.

Finally solved. My issue was EFI-related as @Rod Smith explains in this post:

https://askubuntu.com/a/920184/694422