Re: [DNG] booting old system on a different partition
- Original Message - > From: "Peter Olson"> 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? > If the other advice you got does not work, download super grub2 disk and boot from that. It will find all your bootable OS's. http://www.supergrubdisk.org/super-grub2-disk/ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] booting old system on a different partition
Peter Olsonwrote: > 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. From there, it should, if you know the magic incantation, be possible to manually mount the root fs etc and then continue. I don't know the magic incantation - perhaps ${pref_search_engine} will help. But from a step back, at the grub menu, you can opt to edit (it's not persistent) the config - so you go and replace "root= " with "root=sdxn" which should allow it to boot. Or, you can boot your normal system, list the UUID, write it down, and edit it into the grub config at boot time. All this is why I much prefer filesystem labels (you can put "root=LABEL=oldroot" in the grub config to boot it) - and it's annoying that (at least in Debian) the only options are UIDs or device names. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
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 And, just a reminder of this last step: code: update-grub # again -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
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 ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] booting old system on a different partition
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 ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng