Installing GRUB after manual disk cloning

Jul 16, 2012 00:00 · 55 words · 1 minute read Linux

I decided to migrate my system (from /dev/sda) on my home server to new HDD (to /dev/sdb). After creating aligned partitions, creating FS and data migration, I did my new disk bootable with GRUB:

$>grub
grub> root (hd1,0)
grub> find /boot/grub/stage1
grub> setup (hd1)
grub> quit

Comments: (hd1,0) is my /dev/sdb1; (hd1) is my /dev/sdb