On 23/12/13 05:14, D.B. Bachmann wrote:
The backup data is already on a removable 3TB and the data is on pair of LVM 2TB drives while the failing drive has /. All drives are already mounted by UUID in fstab.

The issue seems to be the order in which users/groups are created during the installation - I doubt that an identical set of packages is used in the various metapackages in 8.04, 10.04, and 12.04 - thus generating mismatches in numeric IDs when I try and restore the data from either the backups or the damaged disk.

From previous advice I'm going to try and install the most basic version of 12.04 possible, recover /etc/passwd, etc/group, and /etc/shadow and then add on the rest of the system. If that fails I'll likely say the heck with Ubuntu and move to OpenSUSE which is my preferred desktop OS anyway..

This is ... confusing.

I don't understand how replacing one distribution with another will assist you in solving the problem. I personally don't use Ubuntu or OpenSUSE on my servers, but fundamentally, any distribution you install would have an identical problem (mismatch between UID/GID from the old system to the new).
Thanx for the suggestions!

If that is the only problem, I would suggest a couple of things:
1) Install the distro of choice, do not select any additional services, packages, features, etc... Keep it as minimal as possible. 2) Compare the new /etc/passwd and /etc/group with the old ones. If any user/group names are the same, but the uid/gid is different, then stop the related service, and simply change the uid/gid in the /etc/passwd and/or /etc/group files. Then run find + chown to find any files owned by the old uid/gid and chown them to the new uid/gid. 3) Any user/group that exists in your backup passwd/group files but not in the newly installed files, and the uid/gid is not already in use, just add them in. 4) Now install the relevant packages using your chosen distro method, it should automatically use the pre-existing user accounts without changing the uid/gid, and the order you install the packages doesn't matter.

Regardless of which distro you choose to use, there is nothing better than generic Linux knowledge, which will help you across every distro current and future.

Regards,
Adam
--
Adam Goryachev Website Managers www.websitemanagers.com.au
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to