Autor: Boruch Baum Data: Para: dng Assunto: Re: [DNG] booting old system on a different partition
On 2016-05-09 00:18, Peter Olson wrote: > So, I installed the Devuan beta a few days ago and it is great, rather it almost
> mostly works. I probably need an audio driver installed. I want to see what
> the old system had installed.
>
> So I cleared out another partition and moved the backup of my Debian 8.3 onto
> it. Ran update-grub, which found the backup in its new location.
>
> But, when I try to boot it grub is confused and is pinned to the old UUID of the
> root filesystem. (I have already updated /etc/fstab in the restored backup, but
> it is not even getting that far.) It just dumps me into busybox saying it can't
> find the root fs. Gotta love grub, which is useful only when nothing is wrong
> :-)
>
> Any advice about how to proceed?
>
> Peter Olson
Have you verified that you have a new UUID for that old backed-up
partitiion. IIRC, when one backs up a partition using 'dd
if=/dev/sd{n}{x}', the old UUID is part of the data backed up.
code:
ls -l /dev/disk/by-uuid
If my guess is correct, for a hypothetical partition sdz9, your fix
should be something like: