hacker
119
edits
(New page: There are two methods two reinstall grub: Note: the grub bootloader is always 32-bit code, so you don't have to ensure you get an amd64 livecd just because you have an amd64 system. == M...) |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
|
There are two methods two reinstall grub. These can be used to fix the dreaded <code>GRUB error 15</code> on boot. These will not help you if you simply get dropped to the grub shell instead of seeing a menu.
== Method 1 ==
This method will install the grub bootloader from the live cd onto your hard drive.
NOTE: You can use a 32-bit live cd with a 64-bit installation of linux.
1. Acquire a live cd with grub on it.
cd /pub; more beer
grub-install --root-directory=/target /dev/sda
This method creates a fakeroot containing your actual installed linux distro and then installs the grub from that to your hard disk.
NOTE: If your linux install is 64-bit, then you <b>must</b> use a 64-bit live cd!
1. Acquire a live cd
| |||