Difference between revisions of "Fdisk:Change"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Change A Partition using Fdisk == <syntaxhighlight> Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a par...")
 
(No difference)

Latest revision as of 14:37, 6 September 2013

Change A Partition using Fdisk

Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)
fdisk /dev/sda  #start fdisk on sda
p #print partition table
t #change partition type
L # List types
82 # set type
w # write changes to disk