I have a working linux debian 9 os on my laptop (hda1).
I also have working linux debian 9 os (nr. 2) on a usb device (sdb1)
I want to copy the second os to my laptop and create a dual boot.
I am planning to do:
1. create a extra partition hdaX with the same size as sdb1
2. copy the partition sdb1 to sdaX with dd
3. change /dev/sdb1 to /devsdaX in grub.cfg
4. run grun-update on hda1
Will this work? Am I forgetting something or should I do this in another way?