I did a backup of my machine using tar commands and have then resized the various partitions. I reinstalled the OS from the original DVD and then started to restore the original files, extracting them from the various tar files - I wrote a separate tar file for each of the folders in starting from / such as '/opt-backup.tgz'
I took notice of what Brett said last week about not doing a backup of /dev so that should remain untouched from the install.
But now having restored everything, it comes up with the message 'No root device "block:/dev/disk/by-uuid/<disk-id here>" found and then 'resume device /dev/disk/by-uuid<another disk-id>'
If I start again with the install, which of the various tar files should I *not* restore to avoid this problem ad infinitum?
TIA.
On 02/04/12 19:36, cdw_alug@the-walker-household.co.uk wrote:
I took notice of what Brett said last week about not doing a backup of /dev so that should remain untouched from the install.
But now having restored everything, it comes up with the message 'No root device "block:/dev/disk/by-uuid/<disk-id here>" found and then 'resume device /dev/disk/by-uuid<another disk-id>'
It is probably because you have overwritten /etc/fstab and modern installations will have disks by uuid rather than by device name.
You could also fix it by editing fstab and either determining your UUID's for your current disks from the grub command line (sorry I forget the exact magic prayer) or replace the UUID= bit with the device of each specific partition (i.e /dev/sda1) as was done in the old days.
I'd also not overwrite /boot and perhaps not /etc/default/grub when you restore your backups.