[arch-general] Change UUID

Guillermo Leira gleira at gleira.com
Sun Mar 15 09:39:38 EDT 2009


It was working, but not very well... When I gave up and tried to reboot, the partition was in an inconsistent state. I had to run fsck -f, and then the UUID was changed.

Anyway, I was wrong. I was trying to change the UUID of a vmware virtual disk, and this operation made no difference.

Thanks,

Guillermo Leira

> -----Mensaje original-----
> De: arch-general-bounces at archlinux.org [mailto:arch-general-
> bounces at archlinux.org] En nombre de Juan Diego
> Enviado el: jueves, 12 de marzo de 2009 18:25
> Para: General Discusson about Arch Linux
> Asunto: Re: [arch-general] Change UUID
> 
> 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