LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2017, 11:46 AM   #1
rootkali
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
Error while copying to hard disk "The Destination is read-only " In KALI LINUX


i am kali linux user and i am not expert in it . when i am going to copy something in hard disk, showing a message "the destination is read-only". what will be the solution??
i want solution as soon as possible.
 
Old 03-23-2017, 12:11 PM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,313
Blog Entries: 3

Rep: Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723
Quote:
Originally Posted by rootkali View Post
i am kali linux user and i am not expert in it . when i am going to copy something in hard disk, showing a message "the destination is read-only". what will be the solution??
i want solution as soon as possible.
Welcome.

http://docs.kali.org/introduction/sh...use-kali-linux

The fast way to both write to the hard disk and to become an expert is to download a copy of Linux Mint and train up on that. It has all the same tools you have on Kali but you can work on them one at a time in a more comfortable environment until such time as you become an expert. At that point, but not before, you can put Kali on a USB stick and carry it around to use as needed. Really that's the fast way as you can take the utilities on one at a time.

Which utility are you starting with first?

Last edited by Turbocapitalist; 03-23-2017 at 12:19 PM.
 
Old 03-23-2017, 03:30 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
If you have an actual install of Kali Linux, you may have a corrupted filesystem and need to run a filesystem check. Unless you are planning to use Kali Linux to study computer forensics, it is a very poor choice as explained at the link posted above.
 
Old 03-24-2017, 01:32 AM   #4
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Hi&welcome (I think Kali?s are like asking Police what to do with pile of Guns I found)

+1 #2 for link! Good reading! ...excuses for irreparable damages vs. legal consequences?

Your destination device/filesystem is probably mounted 'ro' read-only. Try this (&learn):
df <your DESTINATION directory> ; grep -w <what that df reports it's "Mounted on"> /proc/mounts
Code:
# touch /mydir/myfile
touch: /mydir/myfile: Read-only file system
# df /mydir
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sr0                  6878      6878         0 100% /mydir
# grep -w /mydir /proc/mounts
/dev/sr0 /mydir iso9660 ro,relatime 0 0
(Here's info on using 'CODE' tags; that was on mll)
You're probably running as 'root' (UID 0), so it's probably not write permission 'mode'
Here's another useful concept to learn: the difference adding -d makes on ls -l mydir
ByTheWay, tossing "the destination is read-only" into a web-search answers question!
Here's advice on 'using LQ' ("vehicle beeps when I shift": a truck? into reverse?)
p.s. Example of IMpolite: "i want [you to learn&reply] as soon as possible."

Best wishes! Looking forward to seeing that you are real&learning.

Last edited by Jjanel; 03-24-2017 at 01:53 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "error: attempt to read or write outside of disk 'hd0'" on different drives sashkello Linux - Hardware 12 02-15-2016 10:59 PM
Kali linux froze at "copying data to disk" kalicode10 Linux - Newbie 2 02-12-2015 03:07 PM
Hard drive in USB enclosure gets "device descriptor read/64, error -71" oot Linux - Hardware 1 10-19-2009 03:14 AM
crazy boot troubles "disk read error" dave_blob Linux - Software 6 06-28-2004 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration