[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB drive mounted Read-only; what to do ?



2014-12-19 11:28 GMT+01:00 Renaud  OLGIATI <renaud@olgiati-in-paraguay.org>:
> On Fri, 19 Dec 2014 10:15:32 +0000
> Brian <ad44@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


Reply to: