Installing GRUB after manual disk cloning
Jul 16, 2012 00:00 · 58 words · 1 minute read
I decided to migrate my system (from /dev/sda) on my home server to a new HDD (to /dev/sdb). After creating aligned partitions, creating the filesystems and migrating the data, I made 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