LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The destination disk is read only (https://www.linuxquestions.org/questions/linux-newbie-8/the-destination-disk-is-read-only-111567/)

royalewitcheez 11-02-2003 03:20 PM

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.

Tinkster 11-02-2003 03:36 PM

Show's the output of
mount
?

Cheers,
Tink

royalewitcheez 11-02-2003 03:41 PM

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

Tinkster 11-02-2003 03:45 PM

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

royalewitcheez 11-02-2003 03:48 PM

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)


Tinkster 11-02-2003 03:57 PM

K, nothing is mounted ro ... :)

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

Cheers,
Tink

royalewitcheez 11-02-2003 03:59 PM

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.)

Tinkster 11-02-2003 04:05 PM

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

royalewitcheez 11-02-2003 04:15 PM

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?

Tinkster 11-02-2003 04:48 PM

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


All times are GMT -5. The time now is 04:11 PM.