Note:

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

Difference between revisions of "Install/Prepare Disk"

From Funtoo
Jump to navigation Jump to search
(Marked this version for translation)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning|title=Prepare Disk}}
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning|title=Prepare Disk}}


<!--T:2-->
In this section, you will need to choose a disk format to use for booting and partitioning -- either MBR or UEFI/GPT. If you are not familiar with the differences between these options, please review our [[Install/Disk Formats|Disk Formats]] page for an overview of each option and the trade-offs. 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.
In this section, you will need to choose a disk format to use for booting and partitioning -- either MBR or UEFI/GPT. If you are not familiar with the differences between these options, please review our [[Install/Disk Formats|Disk Formats]] page for an overview of each option and the trade-offs. 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.


==== But First... ====
==== But First... ==== <!--T:3-->


<!--T:4-->
Before doing anything to your disks, make sure you are partitioning the right one. Use the {{c|lsblk}} command to view a list of all block devices on your system, as well as partitions on these block devices:
Before doing anything to your disks, make sure you are partitioning the right one. Use the {{c|lsblk}} command to view a list of all block devices on your system, as well as partitions on these block devices:


<!--T:5-->
{{console|body=
{{console|body=
# ##i##lsblk
# ##i##lsblk
Line 19: Line 23:
}}
}}


<!--T:6-->
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.
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.


<!--T:7-->
Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.
Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.
</translate>
</translate>

Revision as of 21:18, September 11, 2018

Install Guide, Chapter 2 < Prev Next >

In this section, you will need to choose a disk format to use for booting and partitioning -- either MBR or UEFI/GPT. If you are not familiar with the differences between these options, please review our Disk Formats page for an overview of each option and the trade-offs. 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.

But First...

Before doing anything to your disks, make sure you are partitioning the right one. Use the lsblk command to view a list of all block devices on your system, as well as partitions on these 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

Make sure you will not be overwriting any important data and that you have chosen the correct /dev/sd? device. Above, you can see that sda contains three partitions, sda1, sda2 and sda3, and that sda3 contains LVM volumes.

Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.