Results 1 to 5 of 5

Thread: What format should the SWAP partition be?

  1. #1
    Join Date
    Jan 2008
    Beans
    735
    Distro
    Ubuntu 10.04 Lucid Lynx

    What format should the SWAP partition be?

    Hi I am making a SWAP partition for ubuntu - which format should this be in? Ext3 or Ext4?

    I am running with 9.10 and there is no partition for swap.

    thanks

  2. #2
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: What format should the SWAP partition be?

    Quote Originally Posted by listerdl View Post
    Hi I am making a SWAP partition for ubuntu - which format should this be in? Ext3 or Ext4?

    I am running with 9.10 and there is no partition for swap.

    thanks
    It should be linux-swap
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  3. #3
    Join Date
    Mar 2007
    Location
    United States
    Beans
    108
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: What format should the SWAP partition be?

    When partitioning with the live or alternate cd the format should say (linux swap) or something similar to that

  4. #4
    Join Date
    Jan 2008
    Beans
    735
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: What format should the SWAP partition be?

    Quote Originally Posted by championboxes View Post
    When partitioning with the live or alternate cd the format should say (linux swap) or something similar to that
    Absolutely - there is that option with GParted from the live CD so thats what I will do!

    Thanks !

  5. #5
    Join Date
    Dec 2005
    Beans
    474

    Re: What format should the SWAP partition be?

    Quote Originally Posted by listerdl View Post
    Absolutely - there is that option with GParted from the live CD so thats what I will do!
    Just so you know, if you haven't already done it yet: the way a swap partition gets set up during a default installation is a logical partition inside an extended partition.

    If you do a clean Ubuntu install, and allow the auto-partitioner to do its thing, you will wind up with /dev/sda1 formatted as ext4 for the main system, /dev/sda2 as an extended partition, and /dev/sda5 inside it formatted as linux-swap. Your /etc/fstab file will then mount /dev/sda5 (not /dev/sda2) as your swap partition.

    Not saying it must be this way, but if you keep it "stock" you'll have an easier time getting help in the forums if you have problems later.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •