D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Disk replacement

 

On Thu, 25 Mar 2010 10:30:55 -0000, tom <tompotts@xxxxxxxxxxxxxxxxxxxxxx> wrote:
I hope your right -I'd read that the UUID also contains data such as partition size and that (as I will be using different sized partitions) then I'd have to tidy up with gparted or similar and then the UUIDs would be changed
Tom te tom te tom
I don't think so. you can set the UUID with tune2fs [device] -U [uuid]

It seems to accept anything that looks like a UUID.

yatt@lapeee:~$ tune2fs sda1.img -U "Im a little teapot"
tune2fs 1.41.4 (27-Jan-2009)
tune2fs: Invalid UUID format

yatt@lapeee:~$ tune2fs sda1.img -U "11111111-1111-1111-1111-111111111111"
tune2fs 1.41.4 (27-Jan-2009)
yatt@lapeee:~$ vol_id sda1.img
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext2
ID_FS_VERSION=1.0
ID_FS_UUID=11111111-1111-1111-1111-111111111111
ID_FS_UUID_ENC=11111111-1111-1111-1111-111111111111
ID_FS_LABEL=SYSTEM
ID_FS_LABEL_ENC=SYSTEM

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html