注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Install/Prepare Disk/zh-tw"

From Funtoo
Jump to navigation Jump to search
(Created page with "在對硬碟做任何的變更之前,請確保你選擇了正確的目標,使用 {{c|lsblk}} 指令來查看你系統上的所有硬碟(block devices),以及在這些硬...")
(Updating to match new version of source page)
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning}}</noinclude>
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning}}</noinclude>


<div class="mw-translate-fuzzy">
在這個章節,你需要選擇一個MBR或UEFI/GPT之中選擇一個硬碟格式,如果你不太熟悉這兩者之間的差別,請參考 [[Install/Disk Formats|Disk Formats]]以了解更多,大致上在小於2.2TB硬碟之下選擇legacy MBR方法會通常沒什麼問題,大多數的現代Pc系統同時支援MBR和UEFI啟動。
在這個章節,你需要選擇一個MBR或UEFI/GPT之中選擇一個硬碟格式,如果你不太熟悉這兩者之間的差別,請參考 [[Install/Disk Formats|Disk Formats]]以了解更多,大致上在小於2.2TB硬碟之下選擇legacy MBR方法會通常沒什麼問題,大多數的現代Pc系統同時支援MBR和UEFI啟動。
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
MBR is the traditional way of booting a PC. It works by installing executable code on the boot sector of your hard drive, which starts the boot process. When you use MBR to boot, you must have BIOS booting enabled in your BIOS, use traditional MBR partitions on your disk which are created using the {{c|fdisk}} tool.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
UEFI is the more modern way to boot a PC. It works using a boot loader that is built into your computer. Boot entries are created and stored in your computer's non-volatile memory. When you use UEFI to boot, you must have UEFI enabled in your BIOS, and use more modern GPT partitions which are created using the {{c|gdisk}} tool.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Generally, it's usually safe to pick the legacy MBR method for system disks under 2TB in size and most modern PC systems support MBR as well as UEFI booting.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
{{note|For more information on differences between MBR and UEFI, see our [[Install/Disk Formats|Disk Formats]] page for an overview of each option and the trade-offs.}}
</div>


==== 在此之前... ====
==== 在此之前... ====
Line 23: Line 41:
}}
}}


Make sure you will not be overwriting any important data and that you have chosen the correct {{c|/dev/sd?}} device. Above, you can see that {{c|sda}} contains three partitions, {{c|sda1}}, {{c|sda2}} and {{c|sda3}}, and that {{c|sda3}} contains LVM volumes.
<div lang="en" dir="ltr" class="mw-content-ltr">
{{Note|If you're not sure which disks are which, you can use {{c|lsblk -o MODEL,NAME,SIZE}} to show the device models matching the {{c|/dev/sd?}} names.}}
</div>
 
<div class="mw-translate-fuzzy">
確保你不會把任何重要資料複寫掉而且選擇了正確的 {{c|/dev/sd?}} 裝置,在上面的範例中,你可以看到 {{c|sda}} 包含三個分割區 {{c|sda1}}, {{c|sda2}} {{c|sda3}}而且{{c|sda3}}包含LVM分割。
</div>


Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.
重複確認完你的目標硬碟之後,確定你將要分割正確的那個硬碟,之後執行。
<noinclude>{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning|align=right}}</noinclude>

Latest revision as of 16:30, March 21, 2024

Other languages:
English • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎中文(台灣)‎

安裝教學: 準備硬碟

Install Guide, Chapter 2 < Prev Next >

在這個章節,你需要選擇一個MBR或UEFI/GPT之中選擇一個硬碟格式,如果你不太熟悉這兩者之間的差別,請參考 Disk Formats以了解更多,大致上在小於2.2TB硬碟之下選擇legacy MBR方法會通常沒什麼問題,大多數的現代Pc系統同時支援MBR和UEFI啟動。

MBR is the traditional way of booting a PC. It works by installing executable code on the boot sector of your hard drive, which starts the boot process. When you use MBR to boot, you must have BIOS booting enabled in your BIOS, use traditional MBR partitions on your disk which are created using the fdisk tool.

UEFI is the more modern way to boot a PC. It works using a boot loader that is built into your computer. Boot entries are created and stored in your computer's non-volatile memory. When you use UEFI to boot, you must have UEFI enabled in your BIOS, and use more modern GPT partitions which are created using the gdisk tool.

Generally, it's usually safe to pick the legacy MBR method for system disks under 2TB in size and most modern PC systems support MBR as well as UEFI booting.

   Note

For more information on differences between MBR and UEFI, see our Disk Formats page for an overview of each option and the trade-offs.

在此之前...

在對硬碟做任何的變更之前,請確保你選擇了正確的目標,使用 lsblk 指令來查看你系統上的所有硬碟(block devices),以及在這些硬碟上的所有分區。

root # lsblk
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda             8:0    0  1.8T  0 disk 
├─sda1          8:1    0  512M  0 part 
├─sda2          8:2    0    8G  0 part [SWAP]
└─sda3          8:3    0  1.8T  0 part 
  ├─main-root 254:0    0  500G  0 lvm  /
  └─main-data 254:1    0  1.3T  0 lvm  /home
   Note

If you're not sure which disks are which, you can use lsblk -o MODEL,NAME,SIZE to show the device models matching the /dev/sd? names.

確保你不會把任何重要資料複寫掉而且選擇了正確的 /dev/sd? 裝置,在上面的範例中,你可以看到 sda 包含三個分割區 sda1, sda2sda3而且sda3包含LVM分割。

重複確認完你的目標硬碟之後,確定你將要分割正確的那個硬碟,之後執行。

Install Guide, Chapter 2 < Prev Next >