Step 09 - Set a swap partition in fdisk

We already create a swap space in the first primary partition. However that is still a Linux system partition not a swap partition. We need to change the system id to make it the Linux swap partition type.

Press t to change the system id.

Command (m for help): t

Choose partition number 1.

Partition number (1-4): 1

Enter L to list hex codes.

Hex code (type L to list codes): L
Screenshot image: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.