LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2003, 04:20 PM   #1
royalewitcheez
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
The destination disk is read only


Hello. I have a terrible problem. I'm trying to work with files while logged in as root, and I'm receiving the message, "You don't have the right permissions." Being logged in as root, shouldn't I be able to do whatever? Also, I can't delete some files, because "The destination disk is read only," and I can't empty the trash bin, because the file "is on a read only disk." Argh, I was loving this until about an hour ago.

I searched and couldn't find the answers anywhere, so any help would be GREATLY appreciated. G:

Edit: I'm on redhat 9.0 on hdb. I can't think of anything else so let me know if you need to know anything. Just a little while ago I compiled and installed a kernel that would allow me to read NTFS partitions on hda. Could that have something to do with it? Maybe I screwed something up? Thanks again.

Last edited by royalewitcheez; 11-02-2003 at 04:22 PM.
 
Old 11-02-2003, 04:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Show's the output of
mount
?

Cheers,
Tink
 
Old 11-02-2003, 04:41 PM   #3
royalewitcheez
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Like this?

Disk /dev/hdb: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 6 48163+ 83 Linux
/dev/hdb2 7 261 2048287+ 83 Linux
/dev/hdb3 262 355 755055 82 Linux swap
/dev/hdb4 356 784 3445942+ 5 Extended
/dev/hdb5 356 569 1718923+ b Win95 FAT32
/dev/hdb6 570 784 1726956 b Win95 FAT32
[root@localhost root]# mount /dev/hdb5
mount: /dev/hdb5 already mounted or /usr/local busy
mount: according to mtab, /dev/hdb5 is already mounted on /usr/local
[root@localhost root]# mount /dev/hdb6
mount: /dev/hdb6 already mounted or /opt busy
mount: according to mtab, /dev/hdb6 is already mounted on /opt
 
Old 11-02-2003, 04:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
More like this...

Code:
root@tp:~# mount
/dev/hda8 on / type reiserfs (rw)
/dev/hda1 on /usr type reiserfs (rw)
/dev/hda5 on /boot type ext2 (rw)
/dev/hda7 on /home type reiserfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc type proc (rw)
192.168.1.1:/usr/rip on /mnt/rip type nfs (rw,noexec,nosuid,nodev,addr=192.168.1.1)
Cheers,
Tink
 
Old 11-02-2003, 04:48 PM   #5
royalewitcheez
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I see.

Code:
[root@localhost root]# mount
/dev/hdb2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb6 on /opt type vfat (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdb5 on /usr/local type vfat (rw)
 
Old 11-02-2003, 04:57 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
K, nothing is mounted ro ... :)

Which mount point do the files
you're trying to edit/delete live on?

Cheers,
Tink
 
Old 11-02-2003, 04:59 PM   #7
royalewitcheez
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
They're on /opt

I was going to unmount and do fsck, but... "umount: /opt: device is busy"

Edit: Ok, it's a tar and I can extract it to another folder, it just won't let me extract in that folder or delete from that folder. (Also, I can't empty the trash bin still.)

Last edited by royalewitcheez; 11-02-2003 at 05:05 PM.
 
Old 11-02-2003, 05:05 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You could go
init 1
to be able to unmount it ...

But tell me: why on earth do
you have a linux specific directory
on a vfat partition? :)

Cheers,
Tink
 
Old 11-02-2003, 05:15 PM   #9
royalewitcheez
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Well, that was cruel of you.

Isn't windows not able to read from a linux filesystem? I thought that if you formatted a partition in vfat you could use it to swap files over to windows from linux....

How can I get the system back up, please?
 
Old 11-02-2003, 05:48 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Well, that was cruel of you.
?!?

Quote:
Isn't windows not able to read from a linux filesystem? I thought that if you formatted a partition in vfat you could use it to swap files over to windows from linux....
Well, yes, it can, but it's a whole different
story. Linux permissions and file flags are
-so to speak- just emulated on the fly on a
windows file system. The biggest issue is that
everything on FAT will be executable. You
should, however, be able to delete stuff from
it.

Quote:
How can I get the system back up, please?
Ummm ... it went down? Oh ...
init 5, and you should be back
in graphical mode. However,
runlevel 1 is NOT equivalent to
"system down" - quite the opposite
is the case. You can do pretty much
anything there :)

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
The Destination disk is read-only. novkhan Linux - Newbie 8 11-21-2005 05:08 AM
READ-ONLY disk Einsteino Fedora 3 05-10-2005 09:06 PM
Cannot read Zip Disk Krazykrl Fedora 3 10-22-2004 07:43 PM
Disk read error? hbbtstar Linux - Newbie 0 10-18-2004 01:12 PM
How do you mount and read from a disk? Roitoy Linux - Newbie 8 08-11-2004 09:12 AM


All times are GMT -5. The time now is 06:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration