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:
- Login as root. התחברות כמו השורש. You can use the su command to switch to root user. אתה יכול להשתמש בפקודה su כדי לעבור שורש המשתמש.
- Create a folder /mnt/USB with the command: mkdir /mnt/USB יצירת תיקיה / mnt / USB עם הפקודה: mkdir / mnt / USB
- 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).
- 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. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum כיצד לחשב וליצור MD5 Hash ערך Linux ו-Unix עם md5sum
- Refresh Linux or Unix Path Environmental Variables with rehash רענן לינוקס או יוניקס נתיב משתני הסביבה עם rehash
- How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending איך השבת Linux ו-Unix Cron Jobs (crontab) שליחת דוא"ל
- Change Group Ownership of Symbolic Links in Unix or Linux שינוי הבעלות על הקבוצה סמלי קישורים יוניקס או לינוקס
- How to Make or Create Symbolic Link in Unix or Linux כיצד להרוויח או יצירת קישור סימבולי יוניקס או לינוקס
- Download Virtual CloneDrive To Mount ISOs and Other Disk Images Without Burning a Disc הורד וירטואלית CloneDrive להר ISOS ותמונות אחרות, ללא דיסק צריבת דיסק
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux כיצד לשנות או Spoof MAC Address ב-Windows XP, Vista, Server 2003/2008, Mac OS X, Unix ו-Linux
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux פתח, חלץ המר ו DAA, ISO ו המיחזור קבצים עם לינוקס חינם PowerISO עבור לינוקס
- Mandriva Linux 2008 Available for Downloading מנדריבה לינוקס 2008 זמינה להורדה
- How To Mount and Access New Partition, Volume or Drive As Folder Path In Windows איך הר וגישה מחיצה חדשה, אמצעי האחסון או הכונן כתיקיית הנתיב ב-Windows










































September 27th, 2008 13:25 27 ספטמבר 2008 13:25
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 שלך מוכר כאשר מחובר פנימה
August 13th, 2008 05:44 13 אוגוסט 2008 05:44
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 להר לא משנה מה אני עושה שלי (מפעיל אובונטו) אבל חלונות קורא את זה בסדר גמור.
August 10th, 2008 16:03 10 אוגוסט 2008 16:03
[...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...] [...] אני בסופו של דבר למצוא פירסום מועיל זה מסביר בפירוט טוב יותר מרוב כמה כרכים גובר [...]
February 17th, 2007 13:42 17 פבואר 2007 13:42
I believe kuzu would work, kudzu is kind of for cdrom. אני מאמין Kuzu יעבוד, היא סוג של kudzu עבור cdrom.
February 17th, 2007 11:25 17 פבואר 2007 11:25
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
January 24th, 2007 17:18 24 ינואר 2007 17:18
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 או קנופיקס.