Results 1 to 17 of 17

Thread: SWAP SPACE [Ubuntu] LINUX

  1. #1

    Thread Starter
    Hyperactive Member demon.KILER's Avatar
    Join Date
    Jul 2006
    Location
    I cannot remember !?
    Posts
    408

    Question SWAP SPACE [Ubuntu] LINUX

    What is swap ????


    I didn't chose swap space when I installed So can a add swap space after I installed ??
    VS 2005 .....Framework SDK 3.0

    "Its mostly the brave one who choose to not fight"

  2. #2
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Re: SWAP SPACE [Ubuntu] LINUX

    swap space is like virtual memory in windows.It makes your os run faster(a very simple definition).It's generally 256~512 mb in size .

    To create a swap partition,open your synaptics package manager,search for gparted and install it.
    Then open a terminal and type
    Code:
    sudo gparted
    which will launch gparted.
    __________________
    ________________0îîî___
    ___îîî0________(___)____
    __(___)_________) _/_____
    ___\_ (_________(_/______
    ____\_)_________________

  3. #3
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: SWAP SPACE [Ubuntu] LINUX

    Quote Originally Posted by litlewiki
    It's generally 256~512 mb in size .
    Frequently recommended size for a linux swap partition was twice the size of your physical memory.

    But it isn't same anymore for modern systems with 2GB/4GB RAM.
    http://www.short-media.com/forum/arc...p/t-19063.html
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  4. #4
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Re: SWAP SPACE [Ubuntu] LINUX

    If you didn't make room for it when you set your partitions you're probably going to resize one of your partitions. Bear in mind that you cannot resize ext3 partitions. You have to remove the journal (and thereby degrading it to ext2), resize that partition then recreate the journal.

  5. #5
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    If you're using ubuntu, Open terminal and type:

    Code:
    sudo apt-get install gparted
    And go from there. Or if you have a icon that says Install on your PC, you can follow through that and resize your partition through there manually. They have the option to use your free space if you want to automatically set up a swap partition and ext2/ext3 partition.

    Good luck

  6. #6
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    Quote Originally Posted by iPrank
    Frequently recommended size for a linux swap partition was twice the size of your physical memory.
    My memory is 3GB!

  7. #7
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: SWAP SPACE [Ubuntu] LINUX

    I have another question, and assume that it is related to this thread.

    Let say I want to setup a dual OS system with WinXP and Ubuntu on a new HDD. Can you guys point out the steps which I have to follow.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  8. #8
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    In ubuntu, If you resize your NTFS partition and make the swap partition and ext2/ext3 partition, The GRUB installer should automatically pick up that you have got a Windows Installation and therefore will allow multiple boots.

    I have Ubuntu, Vista, and XP! The GRUB Bootloader comes first, then Vista's, and then Wndows XP (to change between normal XP and TuneUp Backups )

  9. #9
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: SWAP SPACE [Ubuntu] LINUX

    Thank kregg. I'll try it.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  10. #10
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    Try it out first on a virtual machine. That's always best as it is not permanent.

    Microsoft Virtual PC 2007

    VMWare Player

    Virtual PC is easier to use I think.

  11. #11
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: SWAP SPACE [Ubuntu] LINUX

    Quote Originally Posted by kregg
    Virtual PC is easier to use I think.
    I have little experience working with Virtual PC in the lab.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  12. #12
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    Try having a look at these two articles:

    Installing & Configuring Virtual PC Part 1 Part 2

  13. #13
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: SWAP SPACE [Ubuntu] LINUX

    In our lab we used Virtual PC 2004 and I have that booklet with me.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  14. #14
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    What lab are we talking about now?

  15. #15
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Re: SWAP SPACE [Ubuntu] LINUX

    I hate Virtual PC.Vmware is far better and as easy as virtual PC.
    __________________
    ________________0îîî___
    ___îîî0________(___)____
    __(___)_________) _/_____
    ___\_ (_________(_/______
    ____\_)_________________

  16. #16
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: SWAP SPACE [Ubuntu] LINUX

    Well eranga is going to use it, not you, so you can be a happy bunny now

  17. #17
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: SWAP SPACE [Ubuntu] LINUX

    Quote Originally Posted by litlewiki
    Vmware is far better and as easy as virtual PC.
    But wiki I don't have any experience on WMware at all.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

Posting Permissions

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



Click Here to Expand Forum to Full Width