I'll make comment here, but I can't currently rule out user-error (ie. it could still be me).
I failed trying to write a newly zsync'd ubuntu jammy ISO to thumb-drive
Code:
guiverc@d960-ubu2:/de2900/ubuntu_64$ sudo dus jammy-desktop-amd64.iso
dus 12.7.2
Drive that contains source file: /dev/sda
Live drive, that is booted from: /dev/sda
cands=1
sdb
SanDisk_Cruzer_Facet
7.5G
usb
USB or memory card
p_target: target=/dev/sdb
target drive size = 8 GB
Clone/extract system from the source
'jammy-desktop-amd64.iso'
to the target device (drive) '/dev/sdb'
MODEL NAME FSTYPE LABEL SIZE
Cruzer Facet sdb iso9660 Ubuntu 22.04 LTS amd64 7.5G
sdb1 iso9660 Ubuntu 22.04 LTS amd64 3.9G
sdb2 vfat ESP 4.1M
sdb3 300K
sdb4 ext4 writable 3.6G
jammy-desktop-amd64.iso
/dev/sdb
-----
source=jammy-desktop-amd64.iso
target=/dev/sdb
source=jammy-desktop-amd64.iso
ls -l jammy-desktop-amd64.iso
-rw------- 1 guiverc guiverc 3246626816 Dec 29 07:57 jammy-desktop-amd64.iso
Making a USB boot drive or memory card ..........................
The iso file SHOULD BE loop mounted on a temporary file READ-ONLY:
mount: /tmp/dus.ZicJXjqvcW: failed to setup loop device for /de2900/ubuntu_64/jammy-desktop-amd64.iso.
umount: /tmp/dus.ZicJXjqvcW: not mounted.
gpt_zap: done
Installing 'jammy-desktop-amd64.iso' to '/dev/sdb' ... :
/usr/bin/pv
< "jammy-desktop-amd64.iso" pv -s 3246626816 | dd bs=4096 of=/dev/sdb
Please wait for sync until 'Done' is written.
If there is a progress window,
wait for the buffered data to get flushed
so that all data are transferred to the target device.
/usr/bin/watch-flush
dd: failed to open '/dev/sdb': Operation not permitted
0.00 B 0:00:00 [0.00 B/s] [> ] 0%
Syncing the device ...
----- cleanup after writing ------------------------------------------
500040 pts/2 00:00:00 watch-flush
umount: /dev/sdb: not mounted.
umount: /dev/sdb1: not mounted.
umount: /dev/sdb2: not mounted.
umount: /dev/sdb3: not mounted.
umount: /dev/sdb4: not mounted.
Failed :-(
and just experienced the same with Lubuntu's ISO too.
Code:
** prior ISO
calamares 3.2.41.1-0ubuntu2
calamares-settings-lubuntu 1:22.04.1
calamares-settings-ubuntu-common 1:22.04.1
casper 1.465
lubuntu-default-settings 22.04.1
lupin-casper 0.57build1
** latest ISO
calamares 3.2.41.1-0ubuntu2
calamares-settings-lubuntu 1:22.04.1
calamares-settings-ubuntu-common 1:22.04.1
casper 1.465
lubuntu-default-settings 22.04.1
lupin-casper 0.57build1
** diff
guiverc@d960-ubu2:/de2900/lubuntu_64$ dus jammy-desktop-amd64.iso
dus 12.7.2
[sudo] password for guiverc:
live system or temporary superuser permissions
Drive that contains source file: /dev/sda
Live drive, that is booted from: /dev/sda
cands=1
sdb
Verbatim_STORE_N_GO
14.4G
usb
USB or memory card
p_target: target=/dev/sdb
target drive size = 16 GB
live system or temporary superuser permissions
Clone/extract system from the source
'jammy-desktop-amd64.iso'
to the target device (drive) '/dev/sdb'
MODEL NAME FSTYPE LABEL SIZE
STORE N GO sdb iso9660 Lubuntu 22.04 LTS amd64 14.4G
sdb1 iso9660 Lubuntu 22.04 LTS amd64 1.9G
sdb2 vfat ESP 4.1M
sdb3 300K
sdb4 ext4 writable 12.5G
jammy-desktop-amd64.iso
/dev/sdb
-----
live system or temporary superuser permissions
source=jammy-desktop-amd64.iso
target=/dev/sdb
source=jammy-desktop-amd64.iso
ls -l jammy-desktop-amd64.iso
-rw------- 1 guiverc guiverc 2040582144 Dec 29 16:53 jammy-desktop-amd64.iso
Making a USB boot drive or memory card ..........................
The iso file SHOULD BE loop mounted on a temporary file READ-ONLY:
mount: /tmp/dus.FiwfRzQjwk: failed to setup loop device for /de2900/lubuntu_64/jammy-desktop-amd64.iso.
umount: /tmp/dus.FiwfRzQjwk: not mounted.
gpt_zap: done
Installing 'jammy-desktop-amd64.iso' to '/dev/sdb' ... :
/usr/bin/pv
< "jammy-desktop-amd64.iso" pv -s 2040582144 | dd bs=4096 of=/dev/sdb
Please wait for sync until 'Done' is written.
If there is a progress window,
wait for the buffered data to get flushed
so that all data are transferred to the target device.
/usr/bin/watch-flush
dd: failed to open '/dev/sdb': Operation not permitted
0.00 B 0:00:00 [0.00 B/s] [> ] 0%
Syncing the device ...
----- cleanup after writing ------------------------------------------
512185 pts/4 00:00:00 watch-flush
umount: /dev/sdb: not mounted.
umount: /dev/sdb1: not mounted.
umount: /dev/sdb2: not mounted.
umount: /dev/sdb3: not mounted.
umount: /dev/sdb4: not mounted.
Failed :-(
I also tried a `dd` with the Ubuntu ISO
Code:
guiverc@d960-ubu2:/de2900/ubuntu_64$ sudo dd bs=4M oflag=sync status=progress of=/dev/sdb if=/de2900/ubuntu_64/jammy-desktop-amd64.iso
dd: failed to open '/dev/sdb': Operation not permitted
FYI: `sudo dus` & my usual `dus` were tried (with both); no difference.
I've not explored this; for now I want to focus on what I'm trying to test for a bug comment & don't want to be distracted.
I used `gnome-disks` to write the Ubuntu ISO to thumb-drive without issue, and it's writing the Lubuntu ISO now as I type this. Probably of no significance, but I'm using Xfce/Xubuntu as a desktop (instead of my far more common LXQt/Lubuntu)
Code:
guiverc@d960-ubu2:/de2900/lubuntu_64$ apt-cache policy mkusb
mkusb:
Installed: 12.7.2-1ubuntu1
Candidate: 12.7.2-1ubuntu1
Version table:
*** 12.7.2-1ubuntu1 500
500 http://ppa.launchpad.net/mkusb/unstable/ubuntu jammy/main amd64 Packages
500 http://ppa.launchpad.net/mkusb/unstable/ubuntu jammy/main i386 Packages
100 /var/lib/dpkg/status
Bookmarks