GRUB error 17 after kernel update

From DellLinuxWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
'''Systems Affected:''' Inspiron E1505n, Dimension E520n, XPS 410n
'''Systems Affected:''' Inspiron E1505n, Dimension E520n, XPS 410n
 +
'''Description:''' When booting a system up after a kernel upgrade, the following error message maybe displayed on your screen:  
'''Description:''' When booting a system up after a kernel upgrade, the following error message maybe displayed on your screen:  
   '''"GRUB error #17 cannot mount selected partition"'''
   '''"GRUB error #17 cannot mount selected partition"'''
 +
'''Impact:''' Unable to boot system after kernel upgrade
'''Impact:''' Unable to boot system after kernel upgrade
 +
'''Boot-Time Workaround:'''
'''Boot-Time Workaround:'''
# Reboot the system.
# Reboot the system.
Line 10: Line 13:
# The ''grub edit>'' prompt will come up, with ''root (hd0,0)'' already entered.  Change it to read ''root (hd0,2)'' and press ''Enter''.  This will take you back to the previous screen.
# The ''grub edit>'' prompt will come up, with ''root (hd0,0)'' already entered.  Change it to read ''root (hd0,2)'' and press ''Enter''.  This will take you back to the previous screen.
# Press ''b''.  The system will boot normally.  
# Press ''b''.  The system will boot normally.  
 +
'''Fix:''' Edit /boot/grub/menu.lst once you are booted and change all instances (even the ones that are commented out) of ''(hd0,0)'' to ''(hd0,2)''.
'''Fix:''' Edit /boot/grub/menu.lst once you are booted and change all instances (even the ones that are commented out) of ''(hd0,0)'' to ''(hd0,2)''.

Revision as of 18:11, 1 June 2007

Systems Affected: Inspiron E1505n, Dimension E520n, XPS 410n

Description: When booting a system up after a kernel upgrade, the following error message maybe displayed on your screen:

 "GRUB error #17 cannot mount selected partition"

Impact: Unable to boot system after kernel upgrade

Boot-Time Workaround:

  1. Reboot the system.
  2. At the 3 second countdown before the Ubuntu splash screen press ESC. The grub menu will come up.
  3. The first entry will be highlighted. Press e to edit the entry.
  4. The root (hd0,0) line will be highlighted. Press e to edit that line.
  5. The grub edit> prompt will come up, with root (hd0,0) already entered. Change it to read root (hd0,2) and press Enter. This will take you back to the previous screen.
  6. Press b. The system will boot normally.

Fix: Edit /boot/grub/menu.lst once you are booted and change all instances (even the ones that are commented out) of (hd0,0) to (hd0,2).

Personal tools
Distributions