Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
1 how do you mount a usk key ive been trying sudo/mount/dev/sda1/mnt/usbdrive as root user but no good and how do i connect to a network drive im using fedora ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9

    new user with 2 problems


    1 how do you mount a usk key ive been trying

    sudo/mount/dev/sda1/mnt/usbdrive

    as root user but no good and how do i connect to a network drive

    im using fedora core 2

  2. #2
    Xko
    Xko is offline
    Just Joined!
    Join Date
    Aug 2004
    Location
    Birmingham, England
    Posts
    57
    I think...

    as root
    mkdir /mnt/usb
    mount /dev/sda1 /mnt/usb

  3. #3
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Can you please be more specific with the error message youre getting please... with the information you've provide us, there about 100 possible thing that could be wrong...

    Thanks in advance
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9
    well i dont even know where to start for the mount network drive bit

  6. #5
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9
    mount: can't find /dev/sda1/mnt/usbdrive in /etc/fstab or /etc/mtab

    im getting this error when i mount the usb


    /dev/sda1 /mnt/usbdrive vfat rw 0 is whats in my mtab file

  7. #6
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Quote Originally Posted by drifter
    mount: can't find /dev/sda1/mnt/usbdrive in /etc/fstab or /etc/mtab
    Like xko says, there are some spaces missing. You've got to separate one command from another and separate the switches and arguments from the commands.
    Quote Originally Posted by drifter
    /dev/sda1 /mnt/usbdrive vfat rw 0 is whats in my mtab file
    So, assuming that you are set up as a sudoer, you should be able to:
    Code:
    #  sudo  mount  /dev/sda1  /mnt/usbdrive
    Or, like xko says, if you are already root, you don't need the sudo:
    Code:
    #  mount  /dev/sda1  /mnt/usbdrive
    Please note that you should not enter the "#". That just means the command line prompt. And, while I have put multiple spaces in the lines above, that's just so you can see them. Only one space is needed in each place. And make sure that the directory /mnt/usbdrive exists. If not, you will need to:
    Code:
    #  mkdir  /mnt/usbdrive
    /IMHO
    //got nothin'
    ///this use to look better

  8. #7
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9
    k ill give that a try any ideas on mapping the network driive

  9. #8
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Quote Originally Posted by drifter
    any ideas on mapping the network driive
    I haven't gotten that far (got side-tracked) but I would guess that it would be pretty much like what's above: find out the name of the filesystem you want to mount and then mount it where you like. You don't have to mount all of the other filesystems under /mnt, but if it's just for file access, why not? If the filesystem is Linux, you should be able to mount with the mount command like shown above. Otherwise, you may have to use some switches with the mount command. Do
    Code:
    #  man   mount
    to learn more.
    /IMHO
    //got nothin'
    ///this use to look better

  10. #9
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9
    thanks lads that works fine is there a way to unmont the usb have not tried the network thing yet

  11. #10
    Linux Enthusiast
    Join Date
    Jun 2004
    Location
    Windsor, CO
    Posts
    656
    the same command, except replace mount with umount
    Emotions are the key to the soul.
    Registered Linux User #375050

Page 1 of 2 1 2 LastLast

Posting Permissions

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