Re: Will te UUID or blkid of a device change?

2024-05-23 Thread Thomas Schmitt
Hi, Hans wrote: > > I want to make sure, that the correct USB-stick is used. > > Thus I can do by using the UUID of the target stick like > > dd if=/path/to/myfile.iso of=UUID="123456-abcd-" David Wright wrote: > # dd of=/dev/disk/by-id/JetFlash_Transcend_4GB_JKNB2FYG-0:0 … … Thi

Re: Will te UUID or blkid of a device change?

2024-05-23 Thread David Wright
On Wed 22 May 2024 at 21:19:35 (+0200), Hans wrote: > I am booting a lie system from USB-stick. In this live system I am creating > an > ISO-file, which I then want to dd onto another USB-stick. Do you want to copy the ISO to a file, a partition, or the whole device? > As I am doing this with a

Re: Will te UUID or blkid of a device change?

2024-05-22 Thread Marco Moock
Am 22.05.2024 um 21:19:35 Uhr schrieb Hans: > Whenever I dd to the target stick, does the UUID change? I know, the > UUID of the partitions are changing, but what is with the device > itself? No. The UUID is part of the file system and will just be copied. Mounting based on the UUID will be ambig

Will te UUID or blkid of a device change?

2024-05-22 Thread Hans
Hi folks, just aquestion. I am booting a lie system from USB-stick. In this live system I am creating an ISO-file, which I then want to dd onto another USB-stick. As I am doing this with a script, I want to make sure, that the correct USB- stick is used. Thus I can do by using the UUID of t