特殊:Badtitle/NS100:Installation/FromImgFiles
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Installation/FromImgFiles }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/af | • {{#if: UbuntuHelp:Installation/FromImgFiles|Afrikaans| [[::Installation/FromImgFiles/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ar | • {{#if: UbuntuHelp:Installation/FromImgFiles|العربية| [[::Installation/FromImgFiles/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/az | • {{#if: UbuntuHelp:Installation/FromImgFiles|azərbaycanca| [[::Installation/FromImgFiles/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/bcc | • {{#if: UbuntuHelp:Installation/FromImgFiles|جهلسری بلوچی| [[::Installation/FromImgFiles/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/bg | • {{#if: UbuntuHelp:Installation/FromImgFiles|български| [[::Installation/FromImgFiles/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/br | • {{#if: UbuntuHelp:Installation/FromImgFiles|brezhoneg| [[::Installation/FromImgFiles/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ca | • {{#if: UbuntuHelp:Installation/FromImgFiles|català| [[::Installation/FromImgFiles/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/cs | • {{#if: UbuntuHelp:Installation/FromImgFiles|čeština| [[::Installation/FromImgFiles/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/de | • {{#if: UbuntuHelp:Installation/FromImgFiles|Deutsch| [[::Installation/FromImgFiles/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/el | • {{#if: UbuntuHelp:Installation/FromImgFiles|Ελληνικά| [[::Installation/FromImgFiles/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/es | • {{#if: UbuntuHelp:Installation/FromImgFiles|español| [[::Installation/FromImgFiles/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/fa | • {{#if: UbuntuHelp:Installation/FromImgFiles|فارسی| [[::Installation/FromImgFiles/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/fi | • {{#if: UbuntuHelp:Installation/FromImgFiles|suomi| [[::Installation/FromImgFiles/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/fr | • {{#if: UbuntuHelp:Installation/FromImgFiles|français| [[::Installation/FromImgFiles/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/gu | • {{#if: UbuntuHelp:Installation/FromImgFiles|ગુજરાતી| [[::Installation/FromImgFiles/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/he | • {{#if: UbuntuHelp:Installation/FromImgFiles|עברית| [[::Installation/FromImgFiles/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/hu | • {{#if: UbuntuHelp:Installation/FromImgFiles|magyar| [[::Installation/FromImgFiles/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/id | • {{#if: UbuntuHelp:Installation/FromImgFiles|Bahasa Indonesia| [[::Installation/FromImgFiles/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/it | • {{#if: UbuntuHelp:Installation/FromImgFiles|italiano| [[::Installation/FromImgFiles/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ja | • {{#if: UbuntuHelp:Installation/FromImgFiles|日本語| [[::Installation/FromImgFiles/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ko | • {{#if: UbuntuHelp:Installation/FromImgFiles|한국어| [[::Installation/FromImgFiles/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ksh | • {{#if: UbuntuHelp:Installation/FromImgFiles|Ripoarisch| [[::Installation/FromImgFiles/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/mr | • {{#if: UbuntuHelp:Installation/FromImgFiles|मराठी| [[::Installation/FromImgFiles/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ms | • {{#if: UbuntuHelp:Installation/FromImgFiles|Bahasa Melayu| [[::Installation/FromImgFiles/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/nl | • {{#if: UbuntuHelp:Installation/FromImgFiles|Nederlands| [[::Installation/FromImgFiles/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/no | • {{#if: UbuntuHelp:Installation/FromImgFiles|norsk| [[::Installation/FromImgFiles/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/oc | • {{#if: UbuntuHelp:Installation/FromImgFiles|occitan| [[::Installation/FromImgFiles/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/pl | • {{#if: UbuntuHelp:Installation/FromImgFiles|polski| [[::Installation/FromImgFiles/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/pt | • {{#if: UbuntuHelp:Installation/FromImgFiles|português| [[::Installation/FromImgFiles/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ro | • {{#if: UbuntuHelp:Installation/FromImgFiles|română| [[::Installation/FromImgFiles/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/ru | • {{#if: UbuntuHelp:Installation/FromImgFiles|русский| [[::Installation/FromImgFiles/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/si | • {{#if: UbuntuHelp:Installation/FromImgFiles|සිංහල| [[::Installation/FromImgFiles/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/sq | • {{#if: UbuntuHelp:Installation/FromImgFiles|shqip| [[::Installation/FromImgFiles/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/sr | • {{#if: UbuntuHelp:Installation/FromImgFiles|српски / srpski| [[::Installation/FromImgFiles/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/sv | • {{#if: UbuntuHelp:Installation/FromImgFiles|svenska| [[::Installation/FromImgFiles/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/th | • {{#if: UbuntuHelp:Installation/FromImgFiles|ไทย| [[::Installation/FromImgFiles/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/tr | • {{#if: UbuntuHelp:Installation/FromImgFiles|Türkçe| [[::Installation/FromImgFiles/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/vi | • {{#if: UbuntuHelp:Installation/FromImgFiles|Tiếng Việt| [[::Installation/FromImgFiles/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/yue | • {{#if: UbuntuHelp:Installation/FromImgFiles|粵語| [[::Installation/FromImgFiles/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/zh | • {{#if: UbuntuHelp:Installation/FromImgFiles|中文| [[::Installation/FromImgFiles/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/zh-hans | • {{#if: UbuntuHelp:Installation/FromImgFiles|中文(简体)| [[::Installation/FromImgFiles/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Installation/FromImgFiles | UbuntuHelp:Installation/FromImgFiles | {{#if: | :}}Installation/FromImgFiles}}/zh-hant | • {{#if: UbuntuHelp:Installation/FromImgFiles|中文(繁體)| [[::Installation/FromImgFiles/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Installation/FromImgFiles|:Installation/FromImgFiles|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Installation/FromImgFiles/zh | | {{#ifexist: Installation/FromImgFiles/zh | | {{#ifeq: {{#titleparts:Installation/FromImgFiles|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Installation/FromImgFiles|1|-1|}} | zh | | }}
Ubuntu is distributed over the Internet as two types of files: CD image files, called ISOs, and flash image files, called IMGs. To install Ubuntu from flash media, you first need to write the downloaded IMG image to your flash device. This requires a working flash writer (e.g. USB stick, SD reader, etc.), and flash media with sufficient capacity for the install (1 GB or larger is recommended) formatted in FAT32. Commonly, a single USB stick is used to fulfill both requirements. Warning: This will destroy all data on the USB device. Please backup all data to other media before doing this. Be sure to verify that your computer supports booting from the device you selected for installation. Many computers can boot from a USB drive, and some from other sources. Check the documentation on your specific model for the procedure to boot from the selected device. If you have downloaded a ISO image, please refer to BurningIsoHowto The GettingUbuntu page has links to IMG and ISO image files, as well as other methods of GettingUbuntu.
MD5 Sums
Before writing your flash, it is highly recommended that you verify the md5 sum (hash) of the .img file. For instructions, please see UbuntuHelp:HowToMD5SUM. For the current list of Official Ubuntu MD5 hashes, see the MD5SUMS file for the release you're using under http://releases.ubuntu.com (and optionally the PGP|GnuPrivacyGuardHowto|PGP signatures in the MD5SUMS.gpg file), or see UbuntuHashes. This ensures that the file was not damaged during the download process and is 100% intact.
Windows
Graphical Interface
- Download the desired .img file
- Download Disk Imager from https://launchpad.net/win32-image-writer/+download
- Insert your flash media
- Note the drive letter assigned to your flash media
- Start Disk Imager
- Select the downloaded file and target device, and click "Write"
- Remove your flash media when the operation is complete
Command Line Interface
- Download the desired .img file
- Download flashnul from http://shounen.ru/soft/flashnul
- Attach your USB drive
- Run
flashnul -p
- Note the physical device number for the USB drive
- Run
flashnul <number obtained in prior step> -L \path\to\downloaded.img
- Answer "yes" if the selected destination device is correct
- Remove your USB drive when the command completes
Ubuntu
Graphical Interface
- Download the desired .img file
- Install the usb-imagewriter package
- If your release does not include this, download it from Oliver's PPA
- If imagewriter fails to launch, you may need to install python glade2 support. Install the python-glade2 package or Run
sudo apt-get install python-glade2
- Open Applications -> Accessories -> Image Writer
- KDE users will find this in Applications -> Utilities -> Image Writer
- on some usb-imagewriter versions (console command: imagewriter) the application fails to write if the image path contains blank spaces, exiting with "IndexError: list index out of range". Also, in case you prefer to launch it from the command line, don't forget to sudo it, otherwise it will give a permission error.
- Insert your flash media
- Select the downloaded file and flash device, and click "Write to Device"
- Remove your device when the operation is complete
Command Line Interface
- Download the desired .img file
- Open a terminal and insert your flash media
- Look at the output of
dmesg | tail -20
to determine the device node assigned to your flash media (e.g. /dev/sdb, not sdb1) - Run
sudo umount /dev/device/node
- Run
sudo dd if=/path/to/downloaded.img of=/dev/device/node bs=1M
- Remove your flash media when the command completes (you may need to wait a few extra seconds for it to finish)
Mac OS X
Command Line Interface
- Download the desired .img file
- Open a Terminal (under Utilities)
- Run
diskutil list
to get the current list of devices - Insert your flash media
- Run
diskutil list
again and determine the device node assigned to your flash media (e.g. /dev/disk2) - Run
diskutil unmountDisk /dev/disk
N (replace N with the disk number from the last command; in the previous example, N would be2
) - Execute
sudo dd if=/path/to/downloaded.img of=/dev/disk
Nbs=1m
(replace/path/to/downloaded.img
with the path where the image file is located; for example,./ubuntu.img
) - Run
diskutil eject /dev/disk
N and remove your flash media when the command completes