How to Mount USB Disk Drive in UNIX or Linux Kā Mount USB Disk Drive in UNIX vai 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). Lielākā daļa distros (sadalēm) of Linux ietvert mandragora 10,1, SUSE 9.x un Fedora Core 3 tagad var atbalstīt kontaktdakšas un kontaktligzdas atklāšanā, atklājot un vadītāju uzstādīšana pārnēsājamām USB diska vai USB diskā (un jebkura veida USB balstītas datu glabāšanas ierīcēm, ierīcēm, piemēram, diskdziņiem, pildspalva diskus, USB atslēgas, flash diska, īkšķis vadīt, atmiņas atslēga, USB zip vadīt un Memory Stick). Some Linux operating system even can auto-mount the USB drives, especially if you're using Gnome and KDE. Daži Linux operētājsistēmu pat var auto-mount USB drives, it īpaši, ja jūs lietojat GNOME un KDE. When you plug-in the USB disk, Linux will pop-up a window showing the content of USB disk just like Microsoft Windows. Kad jūs plug-in USB disku, Linux būs uznirstošs logs rāda saturu USB diska tāpat kā 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. Tomēr, ja jūs izmantojat vecāku versiju, Linux, vai izmanto UNIX operētājsistēmu, vai jūsu Linux distro instalācija nespēj atklāt un mount USB akumulatorā automātiski, tad Jums būs manuāli uzstādīt un montēt USB disku.

To manually mount a USB disk or USB drive or USB device in Linux or UNIX: Lai manuāli uzstādīt USB diskā vai USB disku vai USB ierīci Linux vai UNIX:

  1. Login as root. Login kā root. You can use the su command to switch to root user. Varat izmantot su komandu, lai pārslēgtos uz root lietotājam.
  2. Create a folder /mnt/USB with the command: mkdir /mnt/USB Izveidot mapi / mnt / USB ar komandu: 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): Pievieno šādu pozīciju, failu / etc / fstab (fstab ir fails, kuru stāsta Linux kur mount dažādās ierīcēs, un līdz ar to simplying to mount komanda):

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, īpašnieks, kuzu 0 0

    Note: The “auto” on the above line means auto detection of filesystem. Piezīme: "auto" uz virs līnijas ir auto atklāšanu filesystem. 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). Ja jūsu sistēma nevar noteikt filesystem tipa, mainīt atbilstoši USB vadīt's filesystem (piemēram vfat vai ntfs vai ext2 vai ext3).

  4. Mount the USB storage device with the following command: mount /dev/sda1 Mount USB akumulatorā ar šādu komandu: 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 vajadzības pārveidojot fstab (STEP 3), varat arī uzreiz izdot mount komanda (solis 4) ar šādu sintaksi:

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: Ja jūs zināt filesystem no USB diska vai sistēmas nespēj noteikt pareizo filesystem, tad-t opciju var izmantot, lai filesystem veida USB ierīce:

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

Sometimes, the USB drive or USB storage device is detected by the system but been assigned a different device name from sda1. Dažreiz, USB diska vai USB akumulatorā atklāj sistēmā, bet ir piešķirts atšķirīgs ierīce vārdu no sda1. If so, the correct device name need to be determined by viewing and OS log file. Ja tā, pareizu ierīce nosaukums jānoteic ar apskatei un OS log failu. 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: Parasti Linux un UNIX boot un log message uzglabā in / var / log / ziņas, un jums var apskatīt žurnāla sludinājumi ar šādiem komandas:

tail -f /var/log/messages tail-f / var / log / sludinājumi

or vai

dmesg dmesg

Check for the name of the device that appears after operating system detects the USB devices. Pārbauda, vai nosaukumu, kā ierīce, kas izskatās pēc operētājsistēmas atklāj USB ierīcēm.

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. Pēc tam, kad, izmantojot USB diska, atcerieties unmount USB vadīt ar šādu komandu, lai izvairītos no iespējamiem zaudējumiem, kas radīti dati vai izmaiņas un riska messing savu partition.

umount /mnt/USB umount / mnt / USB

Configure Gnome to automatically detect, install and mount USB drive Konfigurēt gnome, lai automātiski atklātu, instalēt un mount USB DRIVE

If you're using Gnome yet unable to automatically detect and mount USB drive for usage, a few packages needed to be install. Ja jūs izmantojat gnome vēl nespēj automātiski atklāt un Mount USB DRIVE lietošanai, daži iepakojumi jāatrisina instalēt. The packages to install are dbus, hald and Gnome-Volume-Manager. Iesaiņojumiem uzstādīt ir dbus, hald un gnome-volume-Manager. After installing these packages, configure dbus and hald setup to run via init scripts. Pēc instalēšanas šos iepakojumus, konfigurēt dbus un hald setup palaist caur init skriptus. Then in Gnome, some configuration has to be done. Tad gnome, daži konfigurācija ir jādara. Click on the 'Desktop' menu, then go to 'Preferences', and then to 'Removable Drives and Media'. Noklikšķiniet uz 'Desktop' izvēlnē, pēc tam doties uz "Preferences", un pēc tam uz "Noņemamas Drives un Media". Configure the settings to your liking. Konfigurēt iestatījumus jūsu patika. Once you plug-in a usb drive, an icon for the drive will appear on the desktop. Tiklīdz jūs plug-in USB disku, ikona par vadīt parādīsies darbvirsmu. Other possible setting is to have Gnome opens a window showing the contents of the USB drive. Citi iespējamie uzstādījumu ir gnome atver logu, kas parāda saturu, USB diska.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


6 Responses to “How to Mount USB Disk Drive in UNIX or Linux” 6 Atbildes uz "Kā Mount USB Disk Drive in UNIX vai Linux"

  1. Jacques Jacques
    September 27th, 2008 13:25 Septembris 27, 2008 13:25
    6 6

    In reply to David. Atbildot uz David. If you have a sata hdd that would be /dev/sda1. Ja jums ir SATA HDD, kas būtu / 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. Ja tas tā ir jūsu USB DRIVE visticamāk / dev/sdb1 Vai dmesg redzēt, kā jūsu usb tiek atzīti, kad plugged in

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

    When I mount dev/sda1 it mounts my main filesystem drive not the usb. Kad es mount dev/sda1 to stiprinājumiem mans galvenais filesystem vadīt ne usb. I can't get my usb to mount no matter what I do (running Ubuntu) but windows reads it fine. Es nevaru saņemt savu usb pieaugt neatkarīgi no tā, ko es do (tekošie Ubuntu), bet logi skan tā naudas sodu.

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

    [...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...] [...] Es beidzot atrast helpful dienests, kas skaidro labāk detalizēti nekā lielākā daļa, kā montāžas apjomi [...]

  4. admin admin
    February 17th, 2007 13:42 Februāris 17, 2007 13:42
    3 3

    I believe kuzu would work, kudzu is kind of for cdrom. Es uzskatu, kuzu varētu strādāt, kudzu ir veids, lai cdrom.

  5. Ogryzek Ogryzek
    February 17th, 2007 11:25 Februāris 17, 2007 11:25
    2 2

    Please note that there is a small typo in the main article above. Ņemiet vērā, ka pastāv maza typo ir pamata raksts iepriekš.

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, īpašnieks, kuzu 0 0

    Should read: Jābūt:

    /dev/sda1 /mnt/USB auto noauto,owner,kudzu 0 0 / dev/sda1 / mnt / USB auto noauto, īpašnieks, kudzu 0 0

    Still, the article did help… thanx Still, raksta bija palīdzēt ... thanx

  6. Gervase Chavasse Gervase Chavasse
    January 24th, 2007 17:18 Janvāris 24, 2007 17:18
    1 1

    Thanks for an excellent article. Paldies par lielisku rakstu. 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ču pēc jaunināšanu uz SUSE 10,1 (10,2 nebūtu instalēt), Es nevaru piekļūt savai USB Iomega ZIP vadīt un saņemt msg "Mount ar paraksta" ssas "par saskarni" org.freedesktop.Hal.Device.Volume "neeksistē" . It seems that the introduction of HAL has complicated matters and I have been unable to find an answer on the forums. Šķiet, ka ieviešot HAL sarežģī lietās un man nav izdevies atrast atbildi uz forumos. Can you help, please, perhaps with an updated article? Vai varat palīdzēt, lūdzu, iespējams, ar atjauninātu rakstu? All my back-up data is on the ZIP which is unreadable either by Windows or Knoppix. Visi mani dublējošo datus par ZIP, kas ir nelasāms, vai nu ar Windows vai Knoppix.

Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

ubuntu mount usb Ubuntu mount usb - -- mount usb ubuntu Stiprinājumu usb Ubuntu - -- mount usb disk Stiprinājumu usb disk - -- ubuntu mount usb drive Ubuntu Mount USB DRIVE - -- mount usb drive ubuntu Mount USB DRIVE Ubuntu - -- ubuntu mount usb device Ubuntu mount usb ierīce - -- linux mount usb disk Linux mount usb disk - -- ubuntu usb mount Ubuntu usb mount - -- mount usb disk ubuntu Stiprinājumu usb diska Ubuntu - -- ubuntu mount usb hard drive Ubuntu mount usb cieto disku - -- ubuntu mount usb disk Ubuntu mount usb disk - -- fedora mount usb drive Fedora Mount USB DRIVE - -- mount USB linux Mount USB Linux - -- linux usb disk Linux usb disk - -- mount usb Stiprinājumu usb - -- usb disk linux usb diska Linux - -- linux mount usb Linux mount usb - -- unix mount usb Unix mount usb - -- usb mount usb mount - -- mount usb unix Stiprinājumu usb Unix - -- linux mount usb drive Linux Mount USB DRIVE - -- mounting usb ubuntu montāža usb Ubuntu - -- mount usb fedora Stiprinājumu usb Fedora - -- usb mount ubuntu usb mount Ubuntu - -- mount usb device ubuntu Stiprinājumu usb ierīce Ubuntu - -- ubuntu usb drive mount Ubuntu USB DRIVE mount - -- mount usb hard drive ubuntu Stiprinājumu usb cieto disku Ubuntu - -- mount usb drive unix Mount USB DRIVE Unix - -- ubuntu mounting usb Ubuntu uzstādīšanas usb - -- UNIX mount usb drive UNIX Mount USB DRIVE - -- mount thumb drive linux Stiprinājumu īkšķis vadīt Linux - -- ubuntu mount external usb drive Ubuntu mount ārējo USB DRIVE - -- mount usb drive fedora Mount USB DRIVE Fedora - -- ubuntu mount usb hdd Ubuntu mount usb HDD - -- mount usb drive linux Mount USB DRIVE Linux - -- ubuntu mount usb Ubuntu mount usb - -- usb unix usb Unix - -- mount usbdisk Stiprinājumu usbdisk - -- all viss - -- usb disk mount usb diska mount - -- mount usb on ubuntu Stiprinājumu usb par Ubuntu - -- mount usb in linux Stiprinājumu usb in Linux - -- fedora mount usb Fedora mount usb - -- how to mount usb in linux kā mount usb in Linux - -- ubuntu automount usb drive Ubuntu automount USB DRIVE - -- how to mount usb disk kā mount usb disk - -- mount usb drive in unix Stiprinājumu usb disku Unix - -- how to mount usb drive in ubuntu kā mount usb disku Ubuntu - -- mount external usb drive ubuntu Stiprinājumu ārējo usb disku Ubuntu - -- ubuntu mount usb harddrive Ubuntu mount usb harddrive - -- mounting a USB drive in Ubuntu montāža USB disku Ubuntu - -- mount USB drive Mount USB DRIVE - -- mounting usb drive ubuntu montāža USB DRIVE Ubuntu - -- vmware mount usb drive vmware Mount USB DRIVE - -- fedora mount usb disk Fedora mount usb disk - -- mount usb drive in fedora Stiprinājumu usb disku Fedora - -- montare usb ubuntu montare usb Ubuntu - -- automount usb drive ubuntu automount USB DRIVE Ubuntu - -- how to mount usb drive in linux kā mount usb disku Linux - -- mount usb drive in linux Stiprinājumu usb disku Linux - -- how to mount usb ubuntu kā mount usb Ubuntu - -- unix usb Unix usb - -- Ubuntu USB mounten Ubuntu USB mounten - -- ubuntu how to mount usb drive Ubuntu kā Mount USB DRIVE - -- linux on usb disk Linux uz usb disk - -- ubuntu auto mount Ubuntu auto mount - -- mount usb in ubuntu Stiprinājumu usb in Ubuntu - -- mount usb drive in ubuntu Stiprinājumu usb disku Ubuntu - -- mount ubuntu usb Stiprinājumu Ubuntu usb - -- usb drive mount ubuntu USB DRIVE mount Ubuntu - -- how to mount usb on linux kā mount usb par Linux - -- mount usb harddrive ubuntu Stiprinājumu usb harddrive Ubuntu - -- mount usb ubuntu Stiprinājumu usb Ubuntu - -- unix usb drive Unix USB DRIVE - -- mount usb on unix Stiprinājumu usb uz Unix - --