如何在U盤安裝Ubuntu同時支持bios和uefi啟動
日期 2022年5月26日
如果您覺得方案管用請 留言 和 點(diǎn)贊. 謝謝!
此方法來自網(wǎng)站StackExchange
原網(wǎng)址:https://askubuntu.com/questions/1300454/easy-full-install-usb-that-boots-both-bios-and-uefi
我在百度上以及嗶哩嗶哩上找了很多在U盤中安裝ubuntu的方法, 但都不是很管用.
出現(xiàn)的問題包括:
- 安裝的ubuntu只是裝機(jī)版的, 不能保存文件或軟件.
- 無法用uefi啟動
最后我使用了StackExchange上的這個方法成功將ubuntu安裝在u盤上. 而且這個方法非常簡單, 只需要大概7分鐘左右.
方法如下:

原文以方便復(fù)制鏈接:
Install Ubuntu from a Pre-built Image File.
This is another version of sudodus answer in step by step format.
If working in Windows:
Download Image File: from mkusb Index of /isos/linux-tools/uefi-n-bios at https://phillw.net/isos/linux-tools/uefi-n-bios/?C=M;O=D Download Link: https://phillw.net/isos/linux-tools/uefi-n-bios/dd_unb_ubuntu-20.04_15GB_2020-06-26.img.xz Link to MD5SUM's: https://phillw.net/isos/linux-tools/uefi-n-bios/md5sum.txt.ascdd_unb_ubuntu-20.04_15GB_2020-06-26.img.xz
Download Rufus*: https://github.com/pbatard/rufus/releases/download/v3.11/rufus-3.11.exe
Etcher may also be used to flash the image: https://www.balena.io/etcher/
Double click Rufus .exe file.
Select USB drive as Target drive in Rufus.
Select above Image File in Rufus.
Click Rufus start button.
Wait for flashing to complete... Done.
Password is "changeme", change it
The USB drive should boot on almost any modern X86-64 computer.
enter image description here
Thanks to sudodus for the image file.
In Windows it may be necessary to install 7Zip before proceeding. Rufus and Etcher will use it when working with the .xz image: https://www.7-zip.org/a/7z1900-x64.exe
If working in Ubuntu: you can use mkusb, Disks or Etcher to flash the USB drive. If using mkusb, select option "c" Cloning iso file... for flashing the image to disk. P7zip may be needed to extract the .xz image with Disks or Etcher.