DD-Tool - No Write Permissions on USB-Drive
H!@all
I've copy'd an *.iso file with the DD-Tool to a USB-Drive. Now i want to edit a file on the USB-Drive and have no permissions to do that. I've tried it as User and as Root but have no write permission, only read permission (USER/ROOT Permission denied). Code:
dd bs=4M if=/Path/To/File/*.iso of=/dev/sdX status=progress |
Mount the USB drive as read/write. If you need more info than that then share your Distro and Version.
|
Copy the entire USB immediately.
Unexpected Read-only permissions on a USB often point to a quickly failing stick. It's possible you mounted it wrong, but how many times have you managed to mount it wrong previously? Copy, then diagnose. |
Quote:
Meh. He has an ISO. |
Am I doing something wrong?
Code:
# mount -w /dev/sdc1 /mnt/usb-drive/ Code:
mount -wav /dev/sdc /mnt/usb-drive/ |
Well... That really seems like you have a USB drive/Sd card with a toggle on it for read only mode. Its like a little tab that you can move. Sort of like an old 3.5 floppy.
https://www.techadvisor.co.uk/how-to...n-usb-3633096/ |
It's a SanDisk Cruzer Blade 16GB
---EDIT--- When I use Rufus on Windows i have full access to the USB-Drive (rede and write). The USB-Drive is not the problem. |
Quote:
As I understand the process a bootable USB drive created with Rufus is built on a FAT32/NTFS filesystem. The files are extracted and a boot loader installed. No problem writing to the USB drive. The dd command copies byte for byte an ISO hybrid image file to the USB drive. By definition an ISO file is read only. Although there are live systems with persistence they usually have a casper-rw file or a separate partition but not the same as editing the system files. |
Quote:
|
OK, I created a new "Partition Table" on the USB-Drive, formatted to FAT32 and set the "Flag" to "LBA". Then i just extracted the "IMAGE.iso" file to the USB-Drive, edited the file i wanted to, saved and rebooted the computer.
Now it works, i can boot the IMAGE.iso from the USB-Drive. But this is not the way it should be, it's like a hAcK and i don't like to hack me own computer. |
All times are GMT -5. The time now is 12:56 AM. |