# dd if=/cdrom/test/debian_20220328/debian-11.0.0-sparc64-NETINST-1.iso of=/dev/rdsk/c0t1d0s0 bs=2048 count=189529
dd: unexpected short write, wrote 1536 bytes, expected 2048
65725+0 records in
65725+0 records out
So that is strange. Perhaps the iso image file is a sparse file with a
hole in it.
Hi,
Dennis Clarke wrote:
# dd if=/cdrom/test/debian_20220328/debian-11.0.0-sparc64-NETINST-1.iso
of=/dev/rdsk/c0t1d0s0 bs=2048 count=189529
dd: unexpected short write, wrote 1536 bytes, expected 2048
65725+0 records in
65725+0 records out
So that is strange. Perhaps the iso image file is a sparse file with a
hole in it.
Hardly. Some automat would have to have converted the file to a be
sparse one.
I would rather expect "short write" to be caused by the return value of
a write(2) call being less than the number of submitted bytes.
(It should not happen with a healthy disk device except at the very end
of its capacity.)
The disk address /dev/rdsk/c0t1d0s0 looks like Solaris. So it is no
wonder that i fail to find the dd message in Debian's coreutils.
Maybe it works better or fails with other diagnostic messages if you
use bs=512 and adjust or omit the count= argument.
Have a nice day :)
On 3/29/22 15:48, Thomas Schmitt wrote:<snip>
Dennis Clarke wrote:
# dd if=/cdrom/test/debian_20220328/debian-11.0.0-sparc64-NETINST-1.iso of=/dev/rdsk/c0t1d0s0 bs=2048 count=189529
dd: unexpected short write, wrote 1536 bytes, expected 2048
65725+0 records in
65725+0 records out
So that is strange. Perhaps the iso image file is a sparse file with a hole in it.
I would really like to just serve up the installer over TFTP/BootP and
get the process going. Good old NFSv3 can serve everything else.
Hi,
On Tue, Mar 29, 2022 at 04:30:52PM -0400, Dennis Clarke wrote:
On 3/29/22 15:48, Thomas Schmitt wrote:<snip>
Dennis Clarke wrote:
# dd if=/cdrom/test/debian_20220328/debian-11.0.0-sparc64-NETINST-1.iso >>>> of=/dev/rdsk/c0t1d0s0 bs=2048 count=189529
dd: unexpected short write, wrote 1536 bytes, expected 2048
65725+0 records in
65725+0 records out
So that is strange. Perhaps the iso image file is a sparse file with a >>>> hole in it.
I would really like to just serve up the installer over TFTP/BootP and
get the process going. Good old NFSv3 can serve everything else.
At https://www.debian.org/releases/bullseye/amd64/ch04s05.en.html there is "Preparing Files for TFTP Net Booting" in the Debian GNU/Linux Installation Guide.
Wouldn't that get you going?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:58:43 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,337,041 |