---- Le mar., 03 déc. 2024 09:14:03 -0500 Cedric At TTS via users a écrit ----
Re-bonjour :-)
sudo dd if=var/run/demo.iso of=/dev/ bs=8M conv=fsync
When I copied, the <usb-device> part was removed, recopying it now: sudo dd if=var/run/demo.iso of=/dev/<usb-device, likely sdb> bs=8M conv=fsync
I am pretty sure it will not work... iso are for DVD, not USB sticks.
Well I guess "ISO" should be taken in a generic sense. I, like other Genodians, have been writing "iso" files to USB thumbdrives for years (Genode, Haiku, and others projects do release "iso" images all the time). The key is that the .iso file should be a hybrid (sp?), that is to say, generated with special parameters passed to xorriso or other tools, so as to integrate not only iso9660 machinery but also a GPT or MBR layout so that it can be written equally well to an HDD or USB stick and work correctly.
You can convince yourself of that by downloading a pre-built Sculpt OS iso image and test it... On bare metal or in VirtualBox. It should boot up equally well (or not) as other bootable USB sticks.
https://genode.org/download/sculpt seems to have only .img files... and it is in part what convince me that it needs to be an .img file to write on an USB stick.
Beside .iso's there is also another way to generate .raw or .img files that do *not* have iso9660 compatbility IIRC, so that should work too.
You need to change QEMU_RUN_OPT in build/x86_64/etc/build.conf to image/disk instead of image/iso... like Yvan Loskutov said in a previous email. [worked, but then would break the QEMU run I guess... maybe we could boot qemu from a virtual USB stick and have it work in "all" the cases?]
Cédric
I have tried to dd the demo.iso file on my stick USB. At first, I thought I was proving me right because it did not boot. But then I realized I was trying to boot only in UEFI USB mode. So I tried LEGACY USB, and found that it does indeed boot that way.