Resizing Linux partition results in GRUB Error 17 fix

I'm currently using Ubuntu 9.10, for some android development projects. For some extra storage space, I tried to resize the root partition (ext2). To do this, I've booted using the Live CD, then resized the harddisk partition using GParted. Easy.

The process took a while - after completion I've rebooted, but got this message:
"GRUB Loading stage1.5."
"GRUB loading, please wait...
Error 17"
grub error 17

To fix this, you need to boot using the Live CD again. In a terminal window, type:

  1.  
  2. grub
  3.  

you'll get a new prompt grub> . There type:

  1.  
  2. grub> find /boot/stage1
  3. Error 15: File not found
  4.  

If this fails , you'll need to try finding the grub config in /boot/grub/stage1:

  1.  
  2. grub> find /boot/grub/stage1
  3. (hd0, 4)
  4. grub> root (hd0, 4)
  5. grub> setup (hd0)
  6. Checking...
  7. ...
  8. ...
  9. Done.
  10.  

You'll need to use your own config, as displayed by grub find (hdX, Y).
P1020174s
Reboot and you're done!

Related Post

Leave a Reply