WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Setting up Qemu  (Read 2789 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 764
Re: Setting up Qemu
« Reply #30 on: February 24, 2023, 10:10:47 AM »
@Rich, I found the answer myself, by try and error:
from tc I see: /dev/vda: LABEL="QCOW2" UUID="69b2bd7f-5108-43b9-94d8-da4800b53851" BLOCK_SIZE="1024" TYPE="ext2"

case 1: waitusb=10:LABEL=QCOW2 => countdown stop at 7, so it starts in 3 seconds

case 2: waitusb=10:UUID=69b2bd7f-5108-43b9-94d8-da4800b53851 => countdown stop at 7, so it starts in 3 seconds

if all upercase UUID (as I see in 7zip) it still successfully finished, but:
case3 : waitusb=10:UUID=69B2BD7F-5108-43B9-94D8-DA4800B53851, countdown stop at zero.
so blkid UUID is case sensitive, prone to error if manually input; so LABEL= will be.

So it is the same speed 3 seconds (before staring to load tcz), as with simple  waitusb=3; Maybe qemu has a bug.
« Last Edit: February 24, 2023, 10:18:46 AM by nick65go »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10663
Re: Setting up Qemu
« Reply #31 on: February 24, 2023, 01:55:31 PM »
Hi nick65go
... so blkid UUID is case sensitive, prone to error if manually input; so LABEL= will be. ...
That's why I ran  blkid  on the image file directly and then copy/pasted the result.

Quote
... So it is the same speed 3 seconds (before staring to load tcz), as with simple  waitusb=3; Maybe qemu has a bug.
Or it could have been 2.25 seconds. tc-config uses integer math to compute the
countdown you see and the result displayed can be off by about 1 second.
There is no downside to using  waitusb=seconds:LABEL=TCVM  and setting  seconds
to a large number like 30.