:: Re: [DNG] booting old system on a d…
Top Pagina
Delete this message
Reply to this message
Auteur: Boruch Baum
Datum:  
Aan: dng
Onderwerp: 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:

code:
tune2fs /dev/sdz9 -U $(uuidgen)


--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0