How to Mount USB Disk Drive in UNIX or Linux כיצד הר USB Disk Drive ב-UNIX או לינוקס

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). רוב distros (הפצות) של לינוקס כוללות מנדרייק 10.1, 9.x SuSE ו Fedora Core 3 יכול עכשיו תמיכה plug-and-plug איתור, גילוי ההתקנה של מנהל ההתקן עבור כונן USB נייד או דיסק ה-USB (וגם כל סוג של מבוסס USB אחסון נתונים התקנים התקנים כגון כוננים קשיחים, כוננים עט, מפתחות USB, דיסק פלאש, כונן אגודל, מפתח זיכרון, כונן USB מיקוד מקל הזיכרון). Some Linux operating system even can auto-mount the USB drives, especially if you're using Gnome and KDE. כמה מערכת ההפעלה Linux אפילו יכול אוטומטית לעלות על כונני USB, במיוחד אם אתה משתמש ב-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. כאשר התוספת דיסק ה-USB, לינוקס יהיה חלון קופץ המציג את התוכן של הדיסק USB בדיוק כמו של 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. עם זאת, אם אתה משתמש בגירסה ישנה יותר של לינוקס, או באמצעות מערכת הפעלה UNIX, לינוקס או התקנה הפצה שלך מסוגל לזהות לעלות על התקן אחסון USB באופן אוטומטי, אז תצטרך להתקין ידנית ולא לעלות על כונן USB.

To manually mount a USB disk or USB drive or USB device in Linux or UNIX: ידנית הר דיסק USB או כונן USB או התקן USB ב-Linux או UNIX:

  1. Login as root. התחברות כמו השורש. You can use the su command to switch to root user. אתה יכול להשתמש בפקודה su כדי לעבור שורש המשתמש.
  2. Create a folder /mnt/USB with the command: mkdir /mnt/USB יצירת תיקיה / mnt / USB עם הפקודה: 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): הוסף את השורה הבאה בקובץ etc / (fstab fstab הוא אומר כי את הקובץ לינוקס שבו לעלות על התקנים שונים, וכך simplying הר הפקודה):

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, הבעלים, Kuzu 0 0

    Note: The “auto” on the above line means auto detection of 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). אם המערכת שלך יכולה לקבוע את סוג מערכת הקבצים, לשנות אותו בהתאם אל מערכת הקבצים של הכונן USB (למשל vfat או NTFS או ext2 או ext3).

  4. Mount the USB storage device with the following command: mount /dev/sda1 הר התקן אחסון USB עם הפקודה הבאה: 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: ללא צורך בשינוי fstab (שלב 3), אתה יכול גם מיד סוגיית הר הפקודה (שלב 4) עם התחביר הבא:

mount /dev/sda1 /mnt/USB הר / 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: אם אתה מכיר את מערכת הקבצים של כונן ה-USB או המערכת יכולה לקבוע את מערכת הקבצים הנכונה, את האפשרות-לא ניתן להשתמש בסוג מערכת הקבצים של התקן ה-USB:

mount -t vfat /dev/sda1 /mnt/usb (for vFAT filesystem) mount-t vfat / dev/sda1 / mnt / USB (עבור מערכת הקבצים vFAT)
mount -t ntfs /dev/sda1 /mnt/usb (for NTFS filesystem) mount-t ntfs / dev/sda1 / mnt / USB (עבור מערכת הקבצים NTFS)

Sometimes, the USB drive or USB storage device is detected by the system but been assigned a different device name from sda1. לפעמים, כונן USB או התקן אחסון USB מזוהה על ידי המערכת אבל שהוקצה שם התקן שונה sda1. If so, the correct device name need to be determined by viewing and OS log file. אם כך, את שם ההתקן המתאים צריכים להיקבע על ידי הצגה OS קובץ יומן. 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: בדרך כלל לינוקס ו-UNIX ו האתחול ההודעה יומן מאוחסן / var / log / הודעות, ואתה יכול להציג את יומן הודעות עם הפקודות הבאות:

tail -f /var/log/messages זנב-F / var / log / הודעות

or או

dmesg dmesg

Check for the name of the device that appears after operating system detects the USB devices. בדוק את שם המכשיר שמופיע אחרי מערכת ההפעלה מזהה את התקני ה-USB.

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. לאחר באמצעות דיסק ה-USB, זוכר את נתקאת כונן USB עם הפקודה הבאה כדי למנוע אובדן נתונים אפשרי או שינויים סיכון לקלקל את המחיצה שלך.

umount /mnt/USB umount mnt / USB

Configure Gnome to automatically detect, install and mount USB drive קביעת תצורה של Gnome לזהות באופן אוטומטי, להתקין הר כונן USB

If you're using Gnome yet unable to automatically detect and mount USB drive for usage, a few packages needed to be install. אם אתה משתמש ב-GNOME עדיין מסוגלים לזהות באופן אוטומטי ו הר כונן USB לשימוש, כמה חבילות שצריך להתקין. The packages to install are dbus, hald and Gnome-Volume-Manager. כדי להתקין את החבילות הם dbus, hald ו-Gnome-Volume Manager. After installing these packages, configure dbus and hald setup to run via init scripts. לאחר התקנת חבילות אלו, dbus ו תצורת ההתקנה hald להפעיל באמצעות סקריפטים init. Then in Gnome, some configuration has to be done. ואז ב-GNOME, כמה תצורה שצריך לעשות. Click on the 'Desktop' menu, then go to 'Preferences', and then to 'Removable Drives and Media'. לחץ על התפריט 'שולחן עבודה', ואז ללכת "כונני העדפות ', ולאחר מכן ל' מדיה נשלפת ו '. Configure the settings to your liking. הגדר את ההגדרות לטעמך. Once you plug-in a usb drive, an icon for the drive will appear on the desktop. ברגע שאתה Plug-in כונן USB, סמל הכונן יופיע על שולחן העבודה. Other possible setting is to have Gnome opens a window showing the contents of the USB drive. הגדרת אפשרי אחר הוא שיש Gnome פותחת חלון המציג את התוכן של כונן ה-USB.

IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.


6 Responses to “How to Mount USB Disk Drive in UNIX or Linux” 6 תגובות ל "כיצד הר USB Disk Drive ב-UNIX או לינוקס"

  1. Jacques ז 'אק
    September 27th, 2008 13:25 27 ספטמבר 2008 13:25
    6 6

    In reply to David. בתשובה דוד. If you have a sata hdd that would be /dev/sda1. אם יש לך SATA HDD זה יהיה / 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. אם זה המקרה שלך יהיה כונן USB ככל הנראה להיות / dev/sdb1 האם dmesg כדי לראות איך ה-USB שלך מוכר כאשר מחובר פנימה

  2. David דוד
    August 13th, 2008 05:44 13 אוגוסט 2008 05:44
    5 5

    When I mount dev/sda1 it mounts my main filesystem drive not the usb. כשאני הר dev/sda1 זה שבלוליות כונן מערכת הקבצים העיקרית שלי לא USB. I can't get my usb to mount no matter what I do (running Ubuntu) but windows reads it fine. אני לא יכול להשיג USB להר לא משנה מה אני עושה שלי (מפעיל אובונטו) אבל חלונות קורא את זה בסדר גמור.

  3. BlogSplat » Blog Archive » Adventures In Linuxland BlogSplat »ארכיון הבלוג הרפתקאות» בשנת Linuxland
    August 10th, 2008 16:03 10 אוגוסט 2008 16:03
    4 4

    [...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...] [...] אני בסופו של דבר למצוא פירסום מועיל זה מסביר בפירוט טוב יותר מרוב כמה כרכים גובר [...]

  4. admin admin
    February 17th, 2007 13:42 17 פבואר 2007 13:42
    3 3

    I believe kuzu would work, kudzu is kind of for cdrom. אני מאמין Kuzu יעבוד, היא סוג של kudzu עבור cdrom.

  5. Ogryzek Ogryzek
    February 17th, 2007 11:25 17 פבואר 2007 11:25
    2 2

    Please note that there is a small typo in the main article above. שים לב כי יש טעות דפוס קטנה במאמר הראשי לעיל.

    /dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0 / dev/sda1 / mnt / USB auto noauto, הבעלים, Kuzu 0 0

    Should read: צריך לקרוא:

    /dev/sda1 /mnt/USB auto noauto,owner,kudzu 0 0 / dev/sda1 / mnt / USB auto noauto, הבעלים, kudzu 0 0

    Still, the article did help… thanx עדיין, את המאמר לא לעזור ... thanx

  6. Gervase Chavasse ז 'רווז Chavasse
    January 24th, 2007 17:18 24 ינואר 2007 17:18
    1 1

    Thanks for an excellent article. תודה על מאמר מצוין. 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”. אבל לאחר השדרוג ל Suse 10.1 (10.2 לא להתקין), אני לא יכולה לגשת לכונן ה-USB שלי Iomega ZIP ולקבל msg "הר עם החתימה" SSAS "על ממשק" org.freedesktop.Hal.Device.Volume "אינו קיים" . It seems that the introduction of HAL has complicated matters and I have been unable to find an answer on the forums. נראה כי הנהגת ה-HAL יש מסובך בעניינים ואני כבר לא מצליח למצוא תשובה בפורומים. Can you help, please, perhaps with an updated article? האם תוכלו לעזור לי, בבקשה, אולי עם ערך מעודכנת? All my back-up data is on the ZIP which is unreadable either by Windows or Knoppix. כל הגב שלי את הנתונים על ZIP אשר אינו קריא באמצעות Windows או קנופיקס.

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> באפשרותך להשתמש בתגים אלה: <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. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

ubuntu mount usb Ubuntu הר USB - -- mount usb ubuntu הר Ubuntu USB - -- ubuntu mount usb drive Ubuntu הר כונן USB - -- mount usb drive ubuntu הר Ubuntu כונן USB - -- ubuntu mount usb disk Ubuntu הר דיסק USB - -- mount usb disk הר דיסק USB - -- ubuntu usb mount USB Ubuntu הר - -- ubuntu usb drive כונן USB Ubuntu - -- linux mount usb disk Linux הר דיסק USB - -- mount usb disk ubuntu הר Ubuntu דיסק USB - -- fedora mount usb drive Fedora הר כונן USB - -- how to mount a usb drive in ubuntu איך הר כונן USB ב-Ubuntu - -- How to mount USB drive in ubuntu כיצד הר כונן USB ב-Ubuntu - -- linux usb disk mount Linux דיסק USB הר - -- mount usb disk linux הר Linux דיסק USB - -- usb disk linux Linux דיסק USB - -- unix mount usb UNIX הר USB - -- usb drive ubuntu Ubuntu כונן USB - -- ubuntu usb drive mount כונן USB Ubuntu הר - -- linux usb disk Linux דיסק USB - -- ubuntu mount usb hard drive Ubuntu הר כונן קשיח USB - -- mount usb unix הר UNIX USB - -- USB Mount ubuntu USB Ubuntu הר - -- ubuntu usb disk mount דיסק USB Ubuntu הר - -- mount usb on ubuntu הר USB על Ubuntu - -- ubuntu mount usb hdd Ubuntu הר בחיבור USB - -- mount usb drive fedora הר המגבעת כונן USB - -- mount usb in ubuntu הר USB ב-Ubuntu - -- ubuntu usbmount Ubuntu usbmount - -- linux detect usb drive Linux לזהות כונן USB - -- unix usb USB UNIX - -- ubuntu detect usb drive Ubuntu לזהות כונן USB - -- ubuntu usb driver הנהג USB Ubuntu - -- linux mount usb Linux הר USB - -- mount usb drive unix הר UNIX כונן USB - -- how to mount usb drive ubuntu איך הר Ubuntu כונן USB - -- ubuntu mount usb device Ubuntu הר התקן USB - -- unix mount usb drive UNIX הר כונן USB - -- unix usb drive UNIX כונן USB - -- linux mount usb drive Linux הר כונן USB - -- mount usb drive ubuntu server הר Ubuntu כונן USB שרת - -- mount usb hdd ubuntu הר Ubuntu בחיבור USB - -- mount usb drive in ubuntu הר כונן USB ב-Ubuntu - -- mounting a usb drive in unix הרכבה כונן USB ב-UNIX - -- mount usb device ubuntu הר Ubuntu התקן USB - -- mounting usb drive on ubuntu גובר כונן USB על Ubuntu - -- mount usbdisk הר usbdisk - -- mount usb drive הר כונן USB - -- usb ubuntu mount Ubuntu USB הר - -- detect usb drive linux Linux לזהות כונן USB - --