Closed Thread
Results 1 to 6 of 6

Thread: Creating Linux-Swap Partition

  1. #1
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Creating Linux-Swap Partition

    I am trying to create a swap partition and it's not letting me.. I can create an ext2 etc.. but not swap partitions. It's giving me this error details:
    Code:
    GParted 0.3.3
    
     Libparted 1.8.8
    
     
    Create Primary Partition #1 (linux-swap, 1004.06 MiB) on /dev/sda  00:01    ( ERROR ) 
          
       create empty partition  00:00    ( SUCCES ) 
          
      path: /dev/sda1
    start: 63
    end: 2040254
    size: 2040192 (996.19 MiB) 
       set partitiontype on /dev/sda1  00:01    ( SUCCES ) 
          
      new partitiontype: linux-swap 
       create new linux-swap filesystem  00:00    ( ERROR ) 
          
      mkswap /dev/sda1 
          
      /dev/sda1: Device or resource busy
     
    
      ========================================
    And in Konsole it's showing
    Code:
    Can't have a partition outside the disk!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    The first partition, sda1, is usually your Linux or Windows partition. Is this a secondary HD?

  4. #3
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    No, sda1 is empty right now. I had the windows recovery partition, but as I have a recovery DVD, I just deleted that partition, now I have like 1GB with no use.. so, my Sabayon installation doesn't have a swap partition and it's running quite slow... So I thought, why not using sda1 as a linux-swap partition?


    But it won't let me!!

  5. #4
    X03
    X03 is offline Newbie
    Join Date
    Mar 2008
    Posts
    7
    Rep Power
    0
    You have to format it as a swap partition first. Did you do that?

  6. #5
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Yes, that low is of GParted, when I try to format it to a swap partition it does not.. shows an error.

  7. #6
    PenguinLover is offline Learning Programmer
    Join Date
    Jan 2008
    Posts
    53
    Rep Power
    0
    I find GParted very unstable! It crashes nearly after every action that it does.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Recover windows partition after uninstallling linux
    By Chinmoy in forum Computer Software/OS
    Replies: 5
    Last Post: 05-10-2009, 02:31 AM
  2. Creating a 3rd partition for Ubuntu in OS X Tiger...
    By ZipOnTrousers in forum Computer Software/OS
    Replies: 1
    Last Post: 02-28-2009, 05:00 AM
  3. creating images under linux
    By FemaleDuck in forum General Programming
    Replies: 0
    Last Post: 01-08-2009, 04:16 AM
  4. Swap Partition? Why?
    By TcM in forum Linux Hardware
    Replies: 8
    Last Post: 06-18-2008, 06:53 AM
  5. Label a Linux Swap Partition
    By erik in forum Linux Hardware
    Replies: 1
    Last Post: 10-11-2007, 03:25 PM

Tags for this Thread

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