How to Mount USB Disk Drive in UNIX or Linux Kaip kalnas USB Disk Drive UNIX arba Linux

Most distros (distributions) of Linux include Mandrake 10.1, SuSE 9.x and Fedora Core 3 can now support plug-and-plug detection, discovery and driver installation for portable USB drive or USB disk (and any type of USB-based data storage devices devices such as hard drives, pen drives, USB keys, flash disk, thumb drive, memory key, USB zip drive and memory stick). Dauguma paskirstymo (distribucijos) Linux įtraukti Mandrake 10.1, SuSE 9.x, Fedora Core 3 dabar gali remti kištuko ir lizdo nustatymo, atradimai ir vairuotojo įrengimo nešiojamų USB arba USB diskas (ir bet kokio tipo USB duomenų saugojimo prietaisai, įtaisai, pavyzdžiui, kietieji diskai, tušinukas diskų, USB raktai, Flash diską, nykščio disko atminties raktas, USB Zip diską ir atminties kortelę). Some Linux operating system even can auto-mount the USB drives, especially if you're using Gnome and KDE. Kai kurios operacinės sistemos Linux net gali automatiškai prijungti USB diskų, ypač jei jūs naudojate Gnome, KDE. When you plug-in the USB disk, Linux will pop-up a window showing the content of USB disk just like Microsoft Windows. Kai tipo plug-in USB diską, linux Iššokantis langas rodomi turinio USB diske, kaip Microsoft Windows.

However, if you're using older version of Linux, or using UNIX operating system, or your Linux distro installation unable to detect and mount the USB storage device automatically, then you will have to manually install and mount the USB drive. Tačiau, jei jūs naudojate senesnę Linux ar naudojant UNIX operacinės sistemos, arba Linux distribucijos diegimo negalėjo aptikti ir prijungti USB prietaisas automati ¹ kai, tada jums teks rankiniu būdu įdiegti ir prijungti USB įrenginį.

To manually mount a USB disk or USB drive or USB device in Linux or UNIX: Norėdami rankiniu būdu prijungti USB diske ar USB diską ar USB įrenginį Linux arba UNIX:

  1. Login as root. Prisijungti kaip root. You can use the su command to switch to root user. Jūs galite naudoti su komanda pereiti į root vartotoją.
  2. Create a folder /mnt/USB with the command: mkdir /mnt/USB Sukurkite katalogą / mnt / USB su Komandų: mkdir / mnt / USB
  3. Add the following line in the file /etc/fstab (fstab is the file that tells Linux where to mount the various devices, and thus simplying the mount command): Pridėkite šią eilutę į rinkmeną / etc / fstab (fstab yra failas, kuris pasakoja Linux kai prijungti įvairius įrenginius ir taip simplying kalno komandų):

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, savininkas, kuzu 0 0

    Note: The “auto” on the above line means auto detection of filesystem. Pastaba: "auto" į pirmiau eilutė reiškia automatinio aptikimo rinkmenų. If your system unable to determine the filesystem type, change it accordingly to the USB drive's filesystem (eg vfat or ntfs or ext2 or ext3). Jei jūsų sistema negali nustatyti failų tipą, pakeisti atitinkamai USB disko failų sistemą (pvz. vfat ar ntfs ar ext2 ar ext3).

  4. Mount the USB storage device with the following command: mount /dev/sda1 Mount USB saugojimo įrenginį su šią komandą: mount / dev/sda1

Without the need modifying fstab (step 3), you can also straight away issue the mount command (step 4) with the following syntax: Be pakeitimus fstab (žingsnis 3), taip pat galite iš karto išduoda kalno komandą (4 žingsnis) su šią sintaksę:

mount /dev/sda1 /mnt/USB mount / dev/sda1 / mnt / USB

If you know the filesystem of the USB drive or the system unable to determine the correct filesystem, the -t option can be used to the filesystem type of the USB device: Jei žinote rinkmenų į USB arba sistema negali nustatyti teisingą rinkmenų, su-t variantas gali būti naudojamas failų tipų įrenginiai USB:

mount -t vfat /dev/sda1 /mnt/usb (for vFAT filesystem) mount-t vfat / dev/sda1 / mnt / USB (už vfat failsistēmas)
mount -t ntfs /dev/sda1 /mnt/usb (for NTFS filesystem) mount-t ntfs / dev/sda1 / mnt / USB (į NTFS failų sistemą)

Sometimes, the USB drive or USB storage device is detected by the system but been assigned a different device name from sda1. Kartais, USB diską ar USB įrenginys yra nustatoma sistema, tačiau yra priskiriamas skirtingas prietaiso pavadinimas sda1. If so, the correct device name need to be determined by viewing and OS log file. Jei taip, teisingai prietaiso pavadinimas turi būti nustatomas pagal žiūrėjimo ir OS žurnalo faile. Usually the Linux and UNIX boot and log message is stored in /var/log/messages, and you can view the log messages with the following commands: Paprastai Linux ir UNIX įkrovos ir prisijunkite pranešimą saugomi / var / log / messages, galite peržiūrėti žurnalo pranešimus šias komandas:

tail -f /var/log/messages tail-f / var / log / messages

or arba

dmesg dmesg

Check for the name of the device that appears after operating system detects the USB devices. Pabandykite pavadinimas prietaisas, kuris pasirodys po to, kai operacinė sistema aptinka USB įrenginiai.

After using the USB disk, remember to unmount the USB drive with the following command to avoid any possible loss to the data or changes and risk messing up your partition. Kai naudojate USB diską, nepamirškite atjungti USB diskas su šią komandą, kad būtų išvengta bet kokių galimų nuostolių duomenis arba pokyčių ir rizikos Messing savo skyrių.

umount /mnt/USB umount / mnt / USB

Configure Gnome to automatically detect, install and mount USB drive Konfigūruoti Gnome automatiškai nustatyti, įdiegti ir prijungti USB

If you're using Gnome yet unable to automatically detect and mount USB drive for usage, a few packages needed to be install. Jeigu jūs naudojate Gnome dar negali automatiškai aptikti ir prijungti USB naudojimo, kelių paketus reikia įdiegti. The packages to install are dbus, hald and Gnome-Volume-Manager. Paketus įdiegti yra dbus, Hald ir gnome-volume-manager. After installing these packages, configure dbus and hald setup to run via init scripts. Įdiegus šių paketų, sukonfigūruokite dbus ir Hald setup paleisti per init scripts. Then in Gnome, some configuration has to be done. Tada Gnome, kai konfigūracija turi būti padaryta. Click on the 'Desktop' menu, then go to 'Preferences', and then to 'Removable Drives and Media'. Spustelėkite skirtuką "Desktop" meniu, tada pasirinkite "Nustatymai", tada "Removable Drives and Media. Configure the settings to your liking. Nustatykite parametrus pagal savo skonį. Once you plug-in a usb drive, an icon for the drive will appear on the desktop. Kai tipo plug-in usb diską, piktogramą disko pasirodys darbalaukyje. Other possible setting is to have Gnome opens a window showing the contents of the USB drive. Kiti galimi parametras turi Gnome atidaro langą turinį į USB.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Mašininio vertimo, gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


6 Responses to “How to Mount USB Disk Drive in UNIX or Linux” 6 Responses to "Kaip kalnas USB Disk Drive UNIX arba Linux"

  1. Jacques Jacques
    September 27th, 2008 13:25 Rugsėjis 27, 2008 13:25
    6 6

    In reply to David. Atsakant į Dovydo. If you have a sata hdd that would be /dev/sda1. Jei turite SATA HDD, kad būtų / dev/sda1. If this is the case your usb drive would most probably be /dev/sdb1 Do dmesg to see how your usb is recognised when plugged in. Tokiu atveju jūsų USB diską tai tikriausiai reikštų / dev/sdb1 Ar dmesg kad pamatytumėte, kaip jūsų USB yra pripažįstamos, kai prijungtas in

  2. David Dovydas
    August 13th, 2008 05:44 Rugpjūtis 13, 2008 05:44
    5 5

    When I mount dev/sda1 it mounts my main filesystem drive not the usb. Kai aš ant kalno dev/sda1 ji stovų mano pagrindinis failų diske ne usb. I can't get my usb to mount no matter what I do (running Ubuntu) but windows reads it fine. I can't get my usb prijungti nesvarbu ką aš (dirbate Ubuntu), bet langai rašoma jį baudą.

  3. BlogSplat » Blog Archive » Adventures In Linuxland BlogSplat »Blog Archive» Adventures in Linuxland
    August 10th, 2008 16:03 Rugpjūtis 10, 2008 16:03
    4 4

    [...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...] [...] Aš galų gale padėti post paaiškina geriau išsamiau nei dauguma, kaip montavimo apimtis [...]

  4. admin admin
    February 17th, 2007 13:42 Birželio 17 2007 13:42
    3 3

    I believe kuzu would work, kudzu is kind of for cdrom. Manau kuzu bus darbo, Kudzu yra natūra už cdrom.

  5. Ogryzek Ogryzek
    February 17th, 2007 11:25 Birželio 17 2007 11:25
    2 2

    Please note that there is a small typo in the main article above. Atkreipkite dėmesį, kad yra mažos klaidos pagrindinis straipsnio pavadinime.

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, savininkas, kuzu 0 0

    Should read: Reikėtų skaityti:

    /dev/sda1 /mnt/USB auto noauto,owner,kudzu 0 0 / dev/sda1 / mnt / USB auto noauto, savininkas, Kudzu 0 0

    Still, the article did help… thanx Dar, straipsnyje buvo padėti ... thanx

  6. Gervase Chavasse Gervase Chavasse
    January 24th, 2007 17:18 Sausis 24th, 2007 17:18
    1 1

    Thanks for an excellent article. Ačiū už puikų straipsnį. But after upgrading to Suse 10.1 (10.2 wouldn't install), I cannot access my USB Iomega ZIP drive and receive msg “Mount with signature “ssas” on interface “org.freedesktop.Hal.Device.Volume” doesn't exist”. Tačiau po atnaujinimo SUSE 10.1 (10,2 nebus įdiegti), aš negaliu prieiti prie savo USB Iomega ZIP vairuoti ir gauti SMS "kalnas su parašu" ssas "dėl sąsaja" org.freedesktop.Hal.Device.Volume "neegzistuoja" . It seems that the introduction of HAL has complicated matters and I have been unable to find an answer on the forums. Atrodo, kad įvedus HAL turi sudėtingų klausimų ir buvau nerandate atsakymo į forumą. Can you help, please, perhaps with an updated article? Ar galite padėti, prašau, galbūt su atnaujintą straipsnį? All my back-up data is on the ZIP which is unreadable either by Windows or Knoppix. Visi mano atsargines kopijas duomenų apie ZIP kuris yra neįskaitomas arba Windows arba Knoppix.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šias žymeles: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive registruotis, norint gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Pradedantys Paieška Sąlygos straipsnį

ubuntu mount usb ubuntu prijungti USB - -- mount usb ubuntu prijungti usb ubuntu - -- mount usb disk prijungti USB diske - -- ubuntu mount usb drive ubuntu prijungti USB Drive - -- mount usb drive ubuntu prijungti USB diskas ubuntu - -- ubuntu mount usb device ubuntu prijungti USB prietaise - -- linux mount usb disk linux prijungti USB diske - -- ubuntu usb mount ubuntu usb prijungti - -- mount usb disk ubuntu prijungti USB diskas ubuntu - -- ubuntu mount usb hard drive ubuntu prijungti USB disko - -- ubuntu mount usb disk ubuntu prijungti USB diske - -- fedora mount usb drive Fedora prijungti USB Drive - -- mount USB linux prijungti USB linux - -- linux usb disk Linux USB diske - -- mount usb prijungti USB - -- usb disk linux USB disko linux - -- linux mount usb linux prijungti USB - -- unix mount usb unix prijungti USB - -- usb mount USB prijungti - -- mount usb unix prijungti USB unix - -- linux mount usb drive linux prijungti USB Drive - -- mounting usb ubuntu montavimo usb ubuntu - -- mount usb fedora prijungti USB Fedora - -- usb mount ubuntu USB prijungti ubuntu - -- mount usb device ubuntu prijungti USB įtaiso, ubuntu - -- ubuntu usb drive mount ubuntu usb diską prijungti - -- mount usb hard drive ubuntu prijungti USB disko Ubuntu - -- mount usb drive unix prijungti USB diske unix - -- ubuntu mounting usb ubuntu montavimas USB - -- UNIX mount usb drive UNIX prijungti USB Drive - -- mount thumb drive linux kalno nykščio vairuoti linux - -- ubuntu mount external usb drive ubuntu prijungti išorinius USB Drive - -- mount usb drive fedora prijungti USB disko Fedora - -- ubuntu mount usb hdd ubuntu prijungti USB HDD - -- mount usb drive linux prijungti USB diske linux - -- ubuntu mount usb ubuntu prijungti USB - -- usb unix USB unix - -- mount usbdisk kalno usbdisk - -- all visi - -- usb disk mount USB diską prijungti - -- mount usb on ubuntu prijungti usb ant ubuntu - -- mount usb in linux prijungti USB Linux - -- fedora mount usb Fedora prijungti USB - -- how to mount usb in linux kaip prijungti USB Linux - -- ubuntu automount usb drive ubuntu Automount USB Drive - -- how to mount usb disk kaip prijungti USB diske - -- mount usb drive in unix prijungti USB diską unix - -- how to mount usb drive in ubuntu kaip prijungti USB diskas ubuntu - -- mount external usb drive ubuntu prijungti išorinį USB diską ubuntu - -- ubuntu mount usb harddrive ubuntu prijungti USB Standžiųjų diskų - -- mounting a USB drive in Ubuntu montavimas USB diską Ubuntu - -- mount USB drive prijungti USB - -- mounting usb drive ubuntu montavimas USB diskas ubuntu - -- vmware mount usb drive vmware prijungti USB Drive - -- fedora mount usb disk Fedora prijungti USB diske - -- mount usb drive in fedora prijungti USB diską Fedora - -- montare usb ubuntu montare usb ubuntu - -- automount usb drive ubuntu Automount USB diskas ubuntu - -- how to mount usb drive in linux kaip prijungti USB diską linux - -- mount usb drive in linux prijungti USB diską linux - -- how to mount usb ubuntu kaip prijungti usb ubuntu - -- unix usb unix usb - -- Ubuntu USB mounten Ubuntu USB mounten - -- ubuntu how to mount usb drive ubuntu kaip prijungti USB Drive - -- linux on usb disk linux į USB diskas - -- ubuntu auto mount Ubuntu auto mount - -- mount usb in ubuntu prijungti usb ubuntu - -- mount usb drive in ubuntu prijungti USB diskas ubuntu - -- mount ubuntu usb prijungti ubuntu usb - -- usb drive mount ubuntu USB diską prijungti ubuntu - -- how to mount usb on linux kaip prijungti usb ant linux - -- mount usb harddrive ubuntu prijungti USB Standžiųjų diskų ubuntu - -- mount usb ubuntu prijungti usb ubuntu - -- unix usb drive unix usb diską - -- mount usb on unix prijungti USB UNIX - --