i was looking at another distro (loaded it into sda7) and somehow the UUID on my primary PCLinuxOS (2009.2KDE) partition (sda1) got changed. Any helpful hints on how to change it back? I reinstalled PCLinuxOS but the original install (sda1) is much better and I would love to get it back.
Thanks
Deb
When you format a partition, it's given a unique UUID number, as part of the process. If you reformat, the UUID number changes. Without reformatting I don't know how a UUID would change. The whole point of UUID numbers is to have a constant, unique, identification system for each partition; something that does not change, once the partition is formatted.
To determine what the actual UUID numbers of all partitions currently are, use the
blkid command.
Example:[root@fatman ~]# blkid/dev/hda5: UUID="2be4fddf-f783-4449-bf36-2dff451c9ab9" SEC_TYPE="ext2" TYPE="ext3" LABEL="TV-1"
/dev/hda1: UUID="8dd1e8b5-1cc7-4a59-9cbe-844225b5a18c" SEC_TYPE="ext2" TYPE="ext3" LABEL="boot200"
/dev/hda2: TYPE="swap" UUID="859fbc30-88b0-48e5-9224-a6f74e0d38a5" LABEL="swap200"
/dev/hda3: UUID="3b7d8a95-2144-431c-ae9e-935a9e40b5f1" SEC_TYPE="ext2" TYPE="ext3" LABEL="TR5-2"
/dev/sda2: TYPE="swap" LABEL="swap1000" UUID="584a1d5d-668d-4435-8a90-589283eb3e8b"
/dev/sda3: LABEL="TR5" UUID="6ae6cf37-7fd2-4b9c-86dc-f037141745bb" TYPE="ext3" SEC_TYPE="ext2"
/dev/sda5: LABEL="TR5-Documents" UUID="9c1bbdf4-5f3c-4d70-b03a-983504da6c15" TYPE="ext3" SEC_TYPE="ext2"
/dev/sda7: UUID="36feb97d-2f61-4709-b6f5-8e8d8fee3370" TYPE="ext3" SEC_TYPE="ext2" LABEL="TR6"
/dev/sda6: UUID="dcf02721-aca8-494f-8182-cc8ab1df8430" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda1: LABEL="boot1000" UUID="10165aee-8b41-4c52-aa7e-c6b0d6d17eeb" TYPE="ext3" SEC_TYPE="ext2"
/dev/sda8: UUID="5361ae3c-128c-47b6-a23c-0b34e3c76057" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: UUID="003077db-2988-4dcf-9baa-58e1798a4a85" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: UUID="7b1f293e-8deb-49de-adbf-db9173fd2599" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: LABEL="750boot" UUID="985efd35-13a4-4279-8129-0f9552d95ccb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc2: UUID="0ccd09b0-ebb4-4f78-8c73-632232adf438" TYPE="swap" LABEL="swap750"
/dev/sdc3: LABEL="750pclos" UUID="ace4498d-cd4b-458b-9b0c-853c0679fe70" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc5: LABEL="Documents2" UUID="d9550e51-e2e6-4b48-b382-d491ab0bc1ea" TYPE="ext3"
/dev/sdc6: LABEL="share9" UUID="3abe7220-57d1-40c8-acb3-b8d13585577f" TYPE="ext3"
/dev/sdc7: LABEL="Documents" UUID="6c984560-d3bc-4ea9-b2ad-62586c662bcf" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc8: LABEL="750mm" UUID="b512d57e-3c7a-4226-96ea-98ba93d5d486" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc9: LABEL="movies" UUID="90ae3f6a-46b2-485a-886d-e4c203491907" TYPE="ext3"
/dev/sdc10: LABEL="120backup" UUID="3dff9abc-88c0-47dc-bd2c-f3f991acab69" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdc11: LABEL="storage00" UUID="f0320f20-48d5-4ddb-89ed-9da4676aefa4" TYPE="ext3"
/dev/sda11: UUID="3d1692bb-afe0-4648-b5be-d30f1eca32e7" TYPE="ext3"
/dev/sda12: LABEL="movies2" UUID="fad35a11-5738-401e-88b6-56b78dfeb15a" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb1: LABEL="usb_boot" UUID="77ad8b9e-39cf-4ff6-88e4-6c4fe1cd33f9" TYPE="ext3"
/dev/hdb2: UUID="ee7bb52e-06f6-4d83-bd83-f0d25e791c3d" TYPE="swap"
/dev/hdb3: LABEL="usb_root" UUID="3d637e7e-0844-4edb-a85e-d5a9e45fd8cf" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb5: LABEL="usb_home" UUID="d4df1799-91e0-4946-9bd7-526ea1989f8f" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb6: LABEL="share7" UUID="ff1937e8-f0ba-4a33-a544-ddfb3fd7a269" TYPE="ext3"
/dev/hdb7: UUID="33fde9f7-aec2-44cc-8ae4-c32749414220" SEC_TYPE="ext2" TYPE="ext3"
To determine the UUID of a
specific partition;
[root@fatman ~]# blkid /dev/sda3/dev/sda3: LABEL="TR5" UUID="6ae6cf37-7fd2-4b9c-86dc-f037141745bb" TYPE="ext3" SEC_TYPE="ext2"
You do
not need to issue the command as
root, but you will need to be root to
edit and
modify any
system files that refer to the UUID numbers, such as
/etc/fstab. or
/boot/grub/menu.lst.