Autore: Florian Zieboll Data: To: dng Oggetto: Re: [DNG] Trouble getting copied system to boot
Hendrik Boom schrieb: > On Sun, Dec 17, 2017 at 02:03:52PM +0100,
>
> It would be something like
>
> mkdir /ascii/dev
> mount --bind /dev /ascii/dev
> chroot /ascii
> update-initramfs -u
> update-grub
Yes, that's it, besides that the /dev/ directory should definitely already exist inside your copied (target) root partition. So just bind-mount the active host's (populated) /dev/ there.
If you have the (i think it's called) "os-prober" package installed on both systems, you can run update-grub also from outside the chroot jail.