How to Mount USB Disk Drive in UNIX or Linux Ako pripojiť disk USB disk v prostredí UNIX alebo 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). Väčšina distribúciách (distribúcia) patrí Mandrake Linux 10.1, SuSE 9.x a Fedora Core 3 teraz podporuje plug-and-plug odhaľovaní, zisťovaní a inštalácia ovládačov pre prenosný USB disk alebo USB disk (a pre každý typ USB-bázy dát zariadenia, zariadenia, ako sú pevné disky, usb disky, USB kľúčenky, flash disk, jednotka palec, pamäťovú kľúčenku, ZIP disk a USB memory stick). Some Linux operating system even can auto-mount the USB drives, especially if you're using Gnome and KDE. Niektoré operačný systém Linux, dokonca môžete auto-mount USB disky, najmä ak používate KDE a GNOME. When you plug-in the USB disk, Linux will pop-up a window showing the content of USB disk just like Microsoft Windows. Keď plug-in USB disku, bude Linux pop-up okno zobrazujúce obsah USB disku, rovnako ako 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. Avšak, ak používate staršie verziu pre Linux alebo pomocou unixového operačného systému, alebo váš Linux odvrátenie inštalácia schopný detekovať a pripojiť USB zariadenie automaticky, potom budete musieť ručne nainštalovať a pripojiť USB disk.

To manually mount a USB disk or USB drive or USB device in Linux or UNIX: Ak chcete manuálne pripojiť USB disku alebo USB disk alebo USB zariadení v systéme Linux alebo UNIX:

  1. Login as root. Prihlásiť sa ako root. You can use the su command to switch to root user. Môžete použiť príkaz su sa prepnúť na užívateľa root.
  2. Create a folder /mnt/USB with the command: mkdir /mnt/USB Vytvoriť novú zložku / mnt / USB pomocou príkazu: 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): Pridajte nasledujúci riadok v súbore / etc / fstab (fstab je súbor, ktorý povie, Linux, kde pripojiť rôzne zariadenia, a tak simplying príkaz mount):

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

    Note: The “auto” on the above line means auto detection of filesystem. Poznámka: "auto" na vyššie uvedených riadok pomocou automatického rozpoznávania súborového systému. 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). Ak je váš systém schopný určiť typ súborového systému, zmena sa teda na USB disku na súborový systém (napr. vfat a ntfs, alebo ext2 alebo ext3).

  4. Mount the USB storage device with the following command: mount /dev/sda1 Mount USB zariadenia s nasledujúcim príkazom: 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: Bez toho by bolo potrebné úprave fstab (krok 3), môžete tiež okamžite vydať príkaz mount (krok 4), s nasledujúcej syntaxou:

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: Poznáte Ak súborový systém na USB disk alebo systém nedokáže určiť správny súborový systém, parameter-t možno použiť súborový systém typu zariadenia USB:

mount -t vfat /dev/sda1 /mnt/usb (for vFAT filesystem) mount-t vfat / dev/sda1 / mnt / usb (pre vfat filesystem)
mount -t ntfs /dev/sda1 /mnt/usb (for NTFS filesystem) mount-t ntfs / dev/sda1 / mnt / usb (na NTFS)

Sometimes, the USB drive or USB storage device is detected by the system but been assigned a different device name from sda1. Niekedy je USB disk alebo pamäťové zariadenie USB odhalené systémom, ale bol pridelený iný názov zariadenia od sda1. If so, the correct device name need to be determined by viewing and OS log file. Ak áno, správny názov zariadenia musia byť určená prezeranie a OS log súboru. 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: Zvyčajne Linux a UNIX zavádzací záznam a správa je uložená v / var / log / messages, a môžete prezerať protokol správy s nasledujúcimi príkazmi:

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

or alebo

dmesg dmesg

Check for the name of the device that appears after operating system detects the USB devices. Skontrolujte, či názov zariadenia, ktoré sa objaví po operačný systém detekuje USB zariadenie.

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. Po použití USB disku, nezabudnite odpojiť USB disk s nasledujúcim príkazom, aby sa zabránilo prípadnej straty dát alebo zmeny a riziko zásahom do vášho oddielu.

umount /mnt/USB umount / mnt / USB

Configure Gnome to automatically detect, install and mount USB drive Konfigurácia Gnome automaticky zistiť, inštalovať a pripojiť USB disk

If you're using Gnome yet unable to automatically detect and mount USB drive for usage, a few packages needed to be install. Ak používate Gnome nie je schopný automaticky detekovať a pripojiť USB disk pre použitia, niekoľko balíkov je potrebné nainštalovať. The packages to install are dbus, hald and Gnome-Volume-Manager. Balíčky pre inštaláciu, sú dbus, háld a Gnome-volume-manager. After installing these packages, configure dbus and hald setup to run via init scripts. Po inštalácii týchto balíčkov dbus a háld konfigurovať nastavenia pre spustenie cez init skripty. Then in Gnome, some configuration has to be done. Potom v Gnome, niektoré konfigurácie je potrebné urobiť. Click on the 'Desktop' menu, then go to 'Preferences', and then to 'Removable Drives and Media'. Kliknite na menu 'Desktop', potom choďte na 'Preferences', a potom na 'Removable pohony a médií'. Configure the settings to your liking. Konfigurovať nastavenia podľa vašich predstáv. Once you plug-in a usb drive, an icon for the drive will appear on the desktop. Akonáhle si plug-in usb disk, ikona disku sa objaví na ploche. Other possible setting is to have Gnome opens a window showing the contents of the USB drive. Ostatné nastavenia je možné mať Gnome sa otvorí okno zobrazujúce obsah disku USB.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.


6 Responses to “How to Mount USB Disk Drive in UNIX or Linux” 6 Reakcie na "ako na Mount Disk USB disk v prostredí UNIX alebo Linux"

  1. Jacques Jacques
    September 27th, 2008 13:25 27.září 2008 13:25
    6 6

    In reply to David. V odpovedi na Davida. If you have a sata hdd that would be /dev/sda1. Ak máte SATA HDD, ktoré by boli / 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. Ak je to váš prípad usb disk bude s najväčšou pravdepodobnosťou / dev/sdb1 Do dmesg vidieť, ako sa usb uznaná pri zasunuté dovnútra

  2. David David
    August 13th, 2008 05:44 13.august 2008 05:44
    5 5

    When I mount dev/sda1 it mounts my main filesystem drive not the usb. Keď som ho montuje hora dev/sda1 môj hlavný súborový systém disk nie je 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 pripojiť bez ohľadu na to, čo mám robiť (beh Ubuntu), ale okná to číta dobre.

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

    [...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...] [...] Som nakoniec nájsť užitočné príspevok, ktorý podrobne vysvetľuje lepšie než väčšina ostatných, ako pripájanie [...]

  4. admin admin
    February 17th, 2007 13:42 17.februára 2007 13:42
    3 3

    I believe kuzu would work, kudzu is kind of for cdrom. Verím, že kuzu bude fungovať, Kudzu je v istom zmysle pre cdrom.

  5. Ogryzek Ogryzek
    February 17th, 2007 11:25 17.februára 2007 11:25
    2 2

    Please note that there is a small typo in the main article above. Upozorňujeme, že tam je malý preklep v hlavnej článok vyššie.

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

    Should read: By mal znieť:

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

    Still, the article did help… thanx Napriek tomu článok sa pomôcť ... thanx

  6. Gervase Chavasse Gervase Chavasse
    January 24th, 2007 17:18 24. januára 2007 17:18
    1 1

    Thanks for an excellent article. Vďaka za skvelý článok. 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”. Ale po inovácii na Suse 10.1 (10.2 nebude inštalácia), nemôžem sa dostať ku svojmu USB Iomega ZIP a prijímať msg "Mount s podpisom" ssas "na rozhranie" org.freedesktop.Hal.Device.Volume "neexistuje" . It seems that the introduction of HAL has complicated matters and I have been unable to find an answer on the forums. Zdá sa, že zavedenie HAL má komplikované záležitosti a ja sme neboli schopní nájsť odpoveď na fórach. Can you help, please, perhaps with an updated article? Môžete mi pomôcť, prosím, snáď s aktualizovaný článok? All my back-up data is on the ZIP which is unreadable either by Windows or Knoppix. Všetky moje back-up dáta je na ZIP, ktorý je nečitateľný buď Windows alebo 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> Môžete použiť tieto značky: href = "" <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Prihlásiť sa k pripomienkam funkcia bola zakázaná. To receive notification of latest comments posted, subscribe to Ak chcete dostávať oznámenia o najnovšie komentáre vyslaný, prihláste sa My Digital Life Comments RSS feed Má Digital Life Komentáre RSS or alebo register to receive zaregistrovať na new comments in daily email digest. nové komentáre v dennom email Digest.
Custom Search

New Articles Nové články

Incoming Search Terms for the Article Vcházející Hľadať Čas do člen určitý Artikel

ubuntu mount usb ubuntu hora usb - -- mount usb ubuntu Horná usb ubuntu - -- mount usb disk pripojiť usb disk - -- ubuntu mount usb drive ubuntu hora usb cesta - -- mount usb drive ubuntu hora usb cesta ubuntu - -- ubuntu mount usb device ubuntu hora usb zariadenia - -- linux mount usb disk linux hora usb disk - -- ubuntu usb mount ubuntu hora usb - -- mount usb disk ubuntu pripojiť usb disk ubuntu - -- ubuntu mount usb hard drive ubuntu hora usb disk - -- ubuntu mount usb disk ubuntu hora usb disk - -- fedora mount usb drive fedora hora usb cesta - -- mount USB linux pripojenie USB linux - -- linux usb disk linux usb disk - -- mount usb Horná usb - -- usb disk linux usb disk linux - -- linux mount usb linux hora usb - -- unix mount usb unix hora usb - -- usb mount usb hora - -- mount usb unix Horná usb unix - -- linux mount usb drive linux hora usb cesta - -- mounting usb ubuntu montážne usb ubuntu - -- mount usb fedora fedora hora usb - -- usb mount ubuntu usb hora ubuntu - -- mount usb device ubuntu ubuntu hora usb zariadenia - -- ubuntu usb drive mount ubuntu hora usb cesta - -- mount usb hard drive ubuntu hora usb disk ubuntu - -- mount usb drive unix hora usb cesta unix - -- ubuntu mounting usb ubuntu usb montáž - -- UNIX mount usb drive UNIX hora usb cesta - -- mount thumb drive linux hora palec drive linux - -- ubuntu mount external usb drive ubuntu pripojiť externý USB disk - -- mount usb drive fedora fedora hora usb cesta - -- ubuntu mount usb hdd ubuntu hora usb hdd - -- mount usb drive linux hora usb cesta linux - -- ubuntu mount usb ubuntu hora usb - -- usb unix usb unix - -- mount usbdisk pripojiť usbdisk - -- all všetko - -- usb disk mount usb disk pripojiť - -- mount usb on ubuntu hora usb na ubuntu - -- mount usb in linux hora usb do linux - -- fedora mount usb fedora hora usb - -- how to mount usb in linux ako hora usb do linux - -- ubuntu automount usb drive ubuntu automount usb disk - -- how to mount usb disk ako sa pripojiť usb disk - -- mount usb drive in unix hora usb cesta do unix - -- how to mount usb drive in ubuntu ako hora usb cesta do ubuntu - -- mount external usb drive ubuntu pripojiť externý USB disk ubuntu - -- ubuntu mount usb harddrive ubuntu hora usb pevný disk - -- mounting a USB drive in Ubuntu montáž USB disk v Ubuntu - -- mount USB drive pripojiť USB disk - -- mounting usb drive ubuntu montážne usb cesta ubuntu - -- vmware mount usb drive vmware hora usb cesta - -- fedora mount usb disk fedora hora usb disk - -- mount usb drive in fedora hora usb cesta do fedora - -- montare usb ubuntu montare usb ubuntu - -- automount usb drive ubuntu automount usb cesta ubuntu - -- how to mount usb drive in linux ako hora usb cesta do linux - -- mount usb drive in linux hora usb cesta do linux - -- how to mount usb ubuntu ako hora usb ubuntu - -- unix usb unix usb - -- Ubuntu USB mounten Ubuntu USB mounten - -- ubuntu how to mount usb drive ubuntu, ako sa pripojiť usb disk - -- linux on usb disk linux na usb disk - -- ubuntu auto mount ubuntu auto hora - -- mount usb in ubuntu v ubuntu hora usb - -- mount usb drive in ubuntu hora usb cesta do ubuntu - -- mount ubuntu usb ubuntu hora usb - -- usb drive mount ubuntu usb cesta ubuntu hora - -- how to mount usb on linux ako sa pripojiť na usb linux - -- mount usb harddrive ubuntu hora usb pevný disk ubuntu - -- mount usb ubuntu Horná usb ubuntu - -- unix usb drive unix usb disk - -- mount usb on unix pripojiť na usb unix - --