Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 9167  / 2 Years ago, wed, june 1, 2022, 4:37:20

While doing a fresh ubuntu install (dual boot with XP using resize), I somehow managed to install grub to the source usb instead of to the harddrive. Normal harddrive boot goes straight to XP. Booting from USB leads me to grub. From there i can boot into ubuntu. Pretty cool actually, but not what I had in mind.



How do I install Grub to HD?



How do I recover my USB?


More From » 12.04

 Answers
1

From your booted Ubuntu system, open a terminal, then use the following commands :



sudo grub-install /dev/sdX
sudo update-grub


Replacing sdX with the actual drive, which will probably be sda, but use disk utility to double check if you are unsure.


[#37463] Friday, June 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingsta

Total Points: 391
Total Questions: 103
Total Answers: 124

Location: Bonaire
Member since Wed, Mar 29, 2023
1 Year ago
ingsta questions
Sun, Oct 23, 22, 01:42, 2 Years ago
Sat, Oct 30, 21, 11:27, 3 Years ago
Sun, Nov 28, 21, 12:49, 2 Years ago
;