Grub: Difference between revisions

Jump to navigation Jump to search
94 bytes added ,  25 November 2009
no edit summary
No edit summary
No edit summary
 
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.
 
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.
 
== 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
 
9. Run the grub installation command (If this command isn't found then seeswitch to Method 2, you can start with step 7. See the NOTE at the start of method 2 though)
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
hacker
119

edits

Navigation menu