How to keep grub when copying disks?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
13 views
Hello, colleagues!

Faced with the problem:

You need the same hard disk image to be deployed to many different computers with different hdd (all drives can only be more than the original, but not less). I tried to copy different granicami why grub just won't boot after cloning to a new computer.

Prompt how correctly to make a complete clone of the disk while keeping the boot loader, it is desirable to minimize the number of actions as a routine and everyday
by | 13 views

3 Answers

0 like 0 dislike
by
0 like 0 dislike
I think just not copied the so-called stage1,5 - "empty" from the point of view of the sections of the clusters on the screw that start right after the MBR and before the first section. they entered the additional code of the boot loader (well, not breaks code analysis of modern file systems in the 446 bytes of executable space in the MBR).
read GRUB2 AND see the picture on the right.

we must somehow as Acronis make this place too bakapit - how can not remember, but something came across.
by
0 like 0 dislike
I for similar tasks used dd
Right here it is:
dd if=/dev/sda of=/path/to/file.img bs= count= etc
And then this image directly to the same dd and turns.
The Boot part is also copied.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
110,608 questions
257,187 answers
0 comments
40,253 users