Dec 9, 2010

Ubuntu Grub Error 17 Solution

  1. Boot your computer up with Ubuntu CD
  2. Open a terminal window or switch to a tty.
  3. Go SuperUser (that is, type "sudo -s"). Enter root passwords as necessary.

  4. Type "grub"
  5. Type "find /boot/grub/stage1". You'll get a response like "(hd0,1)". Use whatever your computer spits out for the following lines.
  6. Type "root (hd0,1)", or whatever your hard disk + boot partition numbers are for Ubuntu.
  7. Type "setup (hd0)", to install GRUB to MBR, or "setup (hd0,1)" or whatever your hard disk + partition nr is, to install GRUB to a partition.
  8. Quit grub by typing "quit".
  9. Reboot and remove the bootable CD.
important files to change
/etc/fstab
/boot/grub/menu.lst
/boot/grub/device.map

hd0 will be the boot disk setted in fdisk

No comments: