Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
parted [2016/05/02 14:27] steve |
parted [2016/05/02 14:30] steve |
||
---|---|---|---|
Line 54: | Line 54: | ||
Final format: 1 MB boot partition used by GRUB, a 128 MB partition for the kernel and GRUB2 cnofig, mounted by OS as ''/boot'', a 2 GB swap partition, and the remaining space for the root partition, mounted at ''/''. | Final format: 1 MB boot partition used by GRUB, a 128 MB partition for the kernel and GRUB2 cnofig, mounted by OS as ''/boot'', a 2 GB swap partition, and the remaining space for the root partition, mounted at ''/''. | ||
- | Wipe the partition table, create a 1MB primary partition used by GRUB2 (not /boot), starting at the 1st MB and ending at the 2nd, name it ''grub'', and set the ''bios_grub'' label on: | + | Wipe the partition table, create a 2MB primary partition used by GRUB2 (not /boot), starting at the 1st MB and ending at the 2nd, name it ''grub'', and set the ''bios_grub'' label on: |
<code> | <code> | ||
parted /dev/sdc mklabel gpt | parted /dev/sdc mklabel gpt | ||
- | parted /dev/sdc mkpart primary 1 2 unit MB name 1 grub set 1 bios_grub on | + | parted /dev/sdc mkpart primary 1 3 unit MB name 1 grub set 1 bios_grub on |
+ | parted /dev/sdc mkpart primary 3 131 name 2 boot | ||
+ | parted /dev/sdc mkpart primary 131 2179 name 3 swap | ||
</code> | </code> |