Changes

Jump to: navigation, search

Fixing Grub

721 bytes added, 14:33, 6 July 2011
Created page with '= Reinstalling the GRUB boot sectors = This is the procedure for installing the boot sectors for grub: # Get to a linux prompt (live disc?) # Start the grub shell: <code>grub</…'
= Reinstalling the GRUB boot sectors =

This is the procedure for installing the boot sectors for grub:

# Get to a linux prompt (live disc?)
# Start the grub shell: <code>grub</code>
# Find which partition has the boot files: <code>find /grub/grub.conf</code>
#* output will be something like: <code>(hd0,0)</code>
# Set up the root partition for grub: <code>root (hd0,0)</code> # Use the disk and partition numbers from the output of the "find" command
# Set up the grub boot sectors: <code>setup (hd0)</code>
{{Admon/important|Do not use the partition number!|In the 'setup' line, don't use the partition number, so that the boot sectors get installed at the start of the disk instead of the start of the partition.}}

Navigation menu