How to delete files in another partition

Thierry de Coulon tcoulon at decoulon.ch
Mon Nov 22 17:27:28 UTC 2010


On Monday 22 November 2010 05:44:50 pm Albert Wagner wrote:
> How can I make changes to another partition with another instance of
> Ubuntu 10.04?  I made changes to a file in /usr/lib/X11/xorg.conf.d on
> installation "A" that caused a fatal error in X during boot.  I
> installed another instance of Ubuntu in partition "B".  I can mount and
> view files on "A" from "B", but I cannot figure out how to modify/delete
> files on "A" from "B".

If I understand right, you mounted "A" on some mountpoint of "B".

What you now need is to be root to deal with (most) files on "A" because they 
are owned by root, or anyway not by your user.

I would install Gnome Commander on "B". Once you are running GC, you have a 
menu point to open GC as root. Enter your password and you should ne able to 
browse, edit and delete files on "A".

If you are told you don't have enough rights, maybe sudo is not enough and you 
should give root a password on "B" so as to really be root completely, but 
most of the time sudo will do.

(I regularly do this sort of thing, even between different distributions).

Thierry





More information about the ubuntu-users mailing list