Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
parted [2016/05/02 14:27]
steve
parted [2016/05/02 14:28]
steve
Line 52: Line 52:
 ** Sample walkthrough ** ** Sample walkthrough **
  
-Final format: 1 MB boot partition used by GRUB, a 128 MB partition mounted by OS as ''/​boot'',​ a 2 GB swap partition, and the remaining space for the ''/'' ​mount.+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 unit MB name 1 grub set 1 bios_grub on+parted /dev/sdc mkpart primary 1 unit MB name 1 grub set 1 bios_grub on 
 +parted /dev/sdc mkpart primary 3 131 name 2 boot 
 </​code>​ </​code>​