Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
copy_linux_to_a_new_harddisk [24.02.2012 15:00] – Pascal Suter | copy_linux_to_a_new_harddisk [06.06.2014 10:19] – Pascal Suter | ||
---|---|---|---|
Line 18: | Line 18: | ||
* chroot to the target drive and install grub: < | * chroot to the target drive and install grub: < | ||
mount --bind /dev/ / | mount --bind /dev/ / | ||
+ | mount --bind /sys/ / | ||
+ | mount --bind /proc/ / | ||
chroot /tmp/target | chroot /tmp/target | ||
grub-install /dev/sdb | grub-install /dev/sdb | ||
+ | update-grub | ||
grub | grub | ||
find / | find / |