Results 1 to 8 of 8

Thread: How to copy files from USB drive

  1. #1
    Join Date
    Nov 2008
    Beans
    25

    Question How to copy files from USB drive

    I put in the USB drive into Ubuntu 8.10, it sees the drive, I see my files in it, but I can't copy them onto the main drive via the GUI. I get an error permission denied, although I'm logged in as root. I can't find the USB stick through the shell. Where does it automount to? I tried using the find command to search for one of the .iso files that are on the USB stick, but it finds nothing.

  2. #2
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How to copy files from USB drive

    USB drives usually mount to /media. So look there and see if there's a subdirectory called "usbdisk" or perhaps the disk label.
    Code:
    ls /media
    As far as copying files from the usb drive - where are you trying to copy the files to? And you say you are logged on as root. Are you sure of that? By default the root account is disabled in ubuntu. If you are in fact not root, then that's why you can;t copy. A regular user can normally only copy files into your /home/username directory. (you can copy files elsewhere but you need to use the sudo command to do it)
    A computer without Microsoft is like a chocolate cake without mustard.

  3. #3
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: How to copy files from USB drive

    Code:
    gksudo nautilus
    will open your files as root.

    You can then copy, delete, move to your hearts content.

    Be wary though you can mess up big time if you`re not careful.

  4. #4
    Join Date
    Nov 2008
    Beans
    25

    Re: How to copy files from USB drive

    I figured out how to copy, but the .iso I copy aren't reading right.

    For example when I do

    $cd /usr/src/
    $cp /media/KINGSTON/some.iso .

    The files move to the /usr/src/, but VirtualBox is unable to use them for some reason. Says the aren't registered right or something and gives an error.

    However, I can use VirtualBox to boot off my .iso files if I point it directly to the USB stick just fine.

    Anyone have any idea?

    I'm gonna try the nautilus way...
    Last edited by NitroBooster; November 6th, 2008 at 07:04 PM.

  5. #5
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How to copy files from USB drive

    Try placing the iso somewhere in your /home directory and then have virtualbox boot from that iso. I run isos all the time from my hard drive inside virtualbox and it works just fine. But that's when the iso is in my home or some other directory that I own. /usr/src does not belong to you so maybe that's part or all of the problem. Is there a reason you are trying to put the iso in /usr/src? I guess I don't see the point in that...

    My other suggestion is to note the exact error it gives and then search here or on google to see if other people have had that error.
    A computer without Microsoft is like a chocolate cake without mustard.

  6. #6
    Join Date
    Nov 2008
    Beans
    25

    Re: How to copy files from USB drive

    Moving it from /usr/src/ to home directory did not help



  7. #7
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How to copy files from USB drive

    According to the virtualbox site, the VERR_ACCESS_DENIED error seems to be related to a permissions problem.

    So lets start over.
    I see from your error picture that the file resided in /home/adminuser. OK, dumb question, were you logged in as "adminuser" when you tried to have virtualbox load this iso? If not, that might explain the error since you probably wouldn't be able to go into another user's directories.

    As far as getting virtualbox to use the iso, how did you do it? Here's how I do it:
    open virtualbox
    highlight the desired VM and click on "Settings"
    In the setting window, click on CD/DVD-ROM
    click on Mount CD/DVD drive and ISO image file
    Use the folder icon next to the iso path area and browse to the desired iso file.
    Click Ok when done and then start the VM.

    Please list the permissions of the iso file, too.
    A computer without Microsoft is like a chocolate cake without mustard.

  8. #8
    scouser73's Avatar
    scouser73 is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2008
    Beans
    1,663
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Wink Re: How to copy files from USB drive

    To copy files in Root, use this command gksudo nautilus then go to your drive where you want to copy from, right click, select Properties then the Permissions tab and change the owner to you.

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
  •