Ubuntu: Migrate Disk

Ups Bad PBR sig..
I got this message after migrate my Ubuntu disk to the new and bigger disk capacity.(Migrate using partimage by partition, new disk from windows and have existing data on d:). It solved by using Ubuntu live cd and doing some trick:

  1. Mount the Disk ( mount /dev/sda1 /mnt )
  2. Chroot to /mnt ( chroot /mnt )
  3. inside chroot ( mount /dev /proc )
  4. inside chroot ( update-grubĀ  )
  5. inside chroot ( grub-install /dev/sda )
  6. inside chroot ( grub-install –recheck /dev/sda )
  7. exit from chroot ; umount /mnt ; then reboot

Done! Everything back to normal again.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Ma.gnolia
  • Technorati
  • Live
  • YahooBuzz
This entry was posted in Linux, Operating System and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>