On Sat, Mar 13, 2010 at 11:13:14AM -0500, Tom H wrote:
> > When I install a 2nd/3rd distrib on a HD, I have made it a practice
> > to set up fstab so the existing distrib are mounted automatically.
> > Repeated use leads to all functioning distrib to be crosslinked.
> > But when a distrib must be reinstalled because something drasticly
> > wrong happened, or whatever, access to that replacement distrib in
> > all the older distrib is broken because the UUID of the partition
> > is changed.
> 
> You could make a note of the UUID before the re-install then re-apply
> it to the partition with
> tune2fs -U <uuid> /dev/sdaX

However you *must* take a note. This is not something you can remember.
As opposed to a partitioning scheme, that you can remember.

UUIDs are also a fine method for making your life interesting when you
want to recover a system backed up on a different hardware.

For instance, I had a digikam images database on a system whose
motherboard had some issues. No problems. I copied the whole thing to a
new home directory (of the same user, same UID, same path) on a
different system. However digikam fails to use the database. It insists
I have the incorrect UUID. Natually it does not allow me to fix things.

This is intended to protect against using the wrong DoK (but will
"protect" you from copying the database to a different DoK). And
couldn't have been disabled from the user interface at the time.

It took me a few hours of digging in the code and file format to figure
out how to fake a non-UUID database.


So make sure you don't have the UUID listed in a host of places on the
disk when recovering the system to a different media. {Or|And} just try
to avoid it, if you can.

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100314142054.gg16...@pear.tzafrir.org.il

Reply via email to