2014-12-19 11:28 GMT+01:00 Renaud OLGIATI <ren...@olgiati-in-paraguay.org>: > On Fri, 19 Dec 2014 10:15:32 +0000 > Brian <a...@cityscape.co.uk> wrote: > >> > I plug in a USB pen drive, and launch dd to copy an iso image. >> > # dd bs=4M if=debian-live-7.6.0-amd64-rescue.iso of=/dev/sdi && sync >> > dd: opening `/dev/sdi': Read-only file system > >> It contains am ISO9660 file system which, by design, is read-only. > > No, when I launch dd it contains a FAT32 file system. > >> > Is there a way to force it to mount read-write ? > >> Nothing is mounted during the reading and writing process. > > Then why does dd complain, and refuse to run ?
There is nothing to mount here as that dd command is writing to the whole disk (of=/dev/sdi). It bypasses the partition table and the file system. Do you run the command as root? A user can't write to a device (imagine anybody could run dd if=/dev/zero of=/dev/sda where sda is a system disk). Does your USB key have a write protection switch? Has your USB key been write protected by a software running on Windows? Frederic -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAJ7R-8THwX-wY7+ALGUSyg2B_QzKw5iE-V=qncfd57+wpnj...@mail.gmail.com