The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Arch linux question

    Discussion in 'Linux Compatibility and Software' started by arabdelight, May 22, 2008.

  1. arabdelight

    arabdelight Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    5
    Ive been following the beginners guide on the arch linux wiki:
    http://wiki.archlinux.org/index.php/Beginners_Guide

    I got to the part where I partion my harddrive. In the example they provide:
    sda1 = root
    sda2 = swap
    sda3 = home

    But when it comes to set the file system mountpoints, they want me to set swap as sda3 and home as sda2. Is that a typo or is that what im supposed to do?
     
  2. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    That the way I TRY to do mine....swap on the outside....do it
     
  3. arabdelight

    arabdelight Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    5
    So after I partion my hdd, I should set my swap mountpoint as my home partion, and my home mountpoint as my swap partion?
     
  4. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Here's what I do with mountpoints: / (for the OS), /home (for settings and files), and /swap. / is sda1, /home is sda2, and /swap is sda3. If you mean just switch which partition home and swap go on, then yes. Maybe someone else can explain it better.
     
  5. LostDestiny

    LostDestiny Notebook Consultant

    Reputations:
    30
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    30
    Looks like a typo to me
    what is the size of sda2 and sda3?
    obviously the smaller is the swap and the larger is the home
    so set the smaller as swap and larger as home
     
  6. f4ding

    f4ding Laptop Owner

    Reputations:
    261
    Messages:
    2,085
    Likes Received:
    0
    Trophy Points:
    55
    I doesn't matter what they suggested, just set it as when you partition the drive in the step before that. That's because you already set in the partition table the type of the partition. So, choose the right partition as you set it in the previous task (Preparing the HDD).

    As for whether it is wise or not to set the swap on the outside, I have not seen any documentation that says that. Doesn't mean it's not true, maybe I simply don't know.
     
  7. jeffsmythe

    jeffsmythe Notebook Geek

    Reputations:
    97
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    15
    It can sometimes matter where you put swap, but really only in terms of performance.

    When you hit your swap, you want your heads to move as little as possible (to get the fastest seek times), so it is often recommended to put swap somewhere in the middle of the disk (between root, home or var or tmp or whatever).

    It is totally irrelevant as far as I'm aware if you're using SSDs.
     
  8. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    The outside of the drive has the highest angular velocity thus faster seek times for the swap, but I never hit the swap file even running a virtual machine with several linux programs running at the same time. I have 3 gigs of ram.