[arch-general] Change UUID

Juan Diego juantascon at gmail.com
Thu Mar 12 13:25:20 EDT 2009


hi
I think you have to replay the udev events:

run as root:

udevadm trigger

tell me if it works

bye

On Thu, Mar 12, 2009 at 11:11 PM, Guillermo Leira <gleira at gleira.com> wrote:
> Hello!
>
> I'm trying to change the UUID on a ext4 formatted partition of a virtual
> machine disc. The machine is running under virtualbox, on Windows.
>
> I'm using "tune2fs /dev/sda3 -U random", or "tune2fs /dev/sda3 -U UUID". I
> have booted from the arch install disk, the partition is not mounted.
>
> When I run this command, I only get this:
>
> [root at archiso /]# ls /dev/disk/by-uuid/ -l
> total 0
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 323cc148-ff48-4038-a2e7-9908896a58fd -> ../../sda2
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 36628cd2-0842-4be0-a631-12afbc48793d -> ../../sda3
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 93f768dc-9161-4387-a83d-231da5f193ef -> ../../sda1
> [root at archiso /]# tune2fs /dev/sda3 -U 00f46b25-8c12-4254-8d45-13be848c3da1
> tune2fs 1.41.4 (27-Jan-2009)
> [root at archiso /]# ls /dev/disk/by-uuid/ -l
> total 0
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 323cc148-ff48-4038-a2e7-9908896a58fd -> ../../sda2
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 36628cd2-0842-4be0-a631-12afbc48793d -> ../../sda3
> lrwxrwxrwx 1 root root 10 2009-03-12 14:27
> 93f768dc-9161-4387-a83d-231da5f193ef -> ../../sda1
> [root at archiso /]#
>
> Tune2fs does not give any error, but the UUID does not change.
>
> Any ideas?
>
> Best Regards,
>
> Guillermo Leira
>
>
>


More information about the arch-general mailing list