[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about fstab in squeeze and uuid



Hi,

On Fri, Mar 12, 2010 at 7:27 PM, Paul E Condon
<pecondon@mesanetworks.net> wrote:
> I'm working on a computer that I am trying to make dual-boot into both
> Lenny and Squeeze. As some are already aware, squeeze rewrites
> /etc/fstab to replace devices like /dev/hda2 with a UUID for the
> device that is a long computer generated string.  I know very little
> about UUIDs but I suppose they are intended to be 'unique'. But I
> suppose that they are required to be persistent, i.e. they don't
> change over time.
>
> I experienced non-persistence today. While running Squeeze I noticed
> that one of my partitions, in particular the one that contained the
> Lenny installation, which I had put in the /dev/hda3, had been
> re-identified with a different UUID on reboot of the compute so that
> the entry in /etc/fstab could not be used to mount that partition
> under Squeeze (which was installed in /dev/hda2). I edited /etc/fstab
> to contain the new, diffenent UUID that I found by looking in
> /dev/disk/by-uuid, and was able to mount the partition, but it was
> hardly 'automatic'.
I can't imagine any case where an filesystem UUID change "by the
face", I think this is not possible if you didn't execute any
filesystem command to do it.

I don't know how did you install both systems, but maybe /etc/mtab
file is causing the fault or maybe a root wrong option in grub

Regards,


Reply to: