Results 1 to 8 of 8

Thread: Accessing external hard drive from other system

  1. #1
    Join Date
    Mar 2013
    Beans
    14

    Accessing external hard drive from other system

    The short version is I had a ubuntu server that has become inaccessable. My plan is to wipe it out and start over. I had some files backed-up to an external hard-drive (formated ext4). Before I wipe out my server, I want to be able to confirm that I can get to these files on the external hard drive. I've tempoaraliy installed ubuntu 12.04 desktop onto another computer and plugged that drive in. The main folders show up, but when I try to acces them I get "The folder contents could not be displayed. You do on have the permmissions necessary to view the contents". When I click on permissions it says that the owner is "1002 - user #1002" (I have no idea what that is) and that since I am not the owner, I cannot change these permissions.

  2. #2
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Accessing external hard drive from other system

    Give this a shot. What file manager are you using? Let's say nautilus. Open a terminal and:

    Code:
    gksudo nautilus
    (Replace 'nautilus' with 'thunar' or 'pcmanfm' or whatever you are using.)

    Now you have permission. Move what you want where you want then close nautilus straight away. Don't go fooling around in there and forget what you came for. Just exit. Reason: you are running nautilus as root and you can do some real damage.

    Good luck.
    Last edited by Bucky Ball; September 18th, 2013 at 07:10 PM.

  3. #3
    Join Date
    May 2013
    Location
    Slovakia
    Beans
    39
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Accessing external hard drive from other system

    try accessing as root... I use gnome commander...
    HTML Code:
    sudo gnome-commander

  4. #4
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Accessing external hard drive from other system

    Quote Originally Posted by dankojoffrey View Post
    try accessing as root... I use gnome commander...
    HTML Code:
    sudo gnome-commander
    As I said, more or less. Open file manager as root, don't really need gnome-commander, but it looks interesting. Incidentally, you should run any GUI with gksudo if you are running it as root from a terminal, not sudo.

    Also, 12.04 LTS uses Unity, not Gnome, so will gnome-commander work? Not sure, I don't use either. I suspect it will probably just drag in the gnome dependencies and make itself work. Unsure though.
    Last edited by Bucky Ball; September 18th, 2013 at 07:16 PM.

  5. #5
    Join Date
    May 2013
    Location
    Slovakia
    Beans
    39
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Accessing external hard drive from other system

    Quote Originally Posted by Bucky Ball View Post
    As I said, more or less. Open file manager as root, don't really need gnome-commander, but it looks interesting. Incidentally, you should run any GUI with gksudo if you are running it as root from a terminal, not sudo.

    Also, 12.04 LTS uses Unity, not Gnome, so will gnome-commander work? Not sure, I don't use either. I suspect it will probably just drag in the gnome dependencies and make itself work. Unsure though.
    yeah, it's gonna work. I use gnome commander in Unity every day... you can even start it as normal user and then go to "File->Start GNOME Commander As Root" it is gonna ask you for root password and you've got root privileges...

    But if you don't wanna install gnome commander, just use Nautilus with gksudo like Bucky Ball suggested...

    cheers...

  6. #6
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Accessing external hard drive from other system

    Do as Bucky Ball suggested to get your files moved. Later you should do (from a terminal)
    Code:
    sudo chown -R your_username:your_username *.*
    in whatever subdirectory the files reside, in order to gain ownership of your own files. Warning: close that gksudo window ASAP or you can destroy everything unintentionally.
    Last edited by whitesmith; September 18th, 2013 at 08:25 PM. Reason: Warning insertion
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  7. #7
    Join Date
    Mar 2013
    Beans
    14

    Re: Accessing external hard drive from other system

    On the main menu when I click on the "home" folder, there is a section at the top left titled "Devices" and one of the accessable devices is the usb drive. However when I go into terminal and type "gksudo nautilus", there is no "Devices" option on the left. I cannot find the usb drive within that window.

    Found it under /media - I swear it was not there the first time I looked there.
    Last edited by qwerty3656; September 18th, 2013 at 10:41 PM.

  8. #8
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Accessing external hard drive from other system

    Quote Originally Posted by qwerty3656 View Post
    Found it under /media - I swear it was not there the first time I looked there.
    Excellent. Move what needs to be moved and close nautilus.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •