Skip to content

New SSD need help partitioning

I currently have a 4 SSD setup with two SSD's in Raid 0 for just Windows, one for my Steam library, and a separate ssd which I want to install Arch on. How do I partition the new SSD for Arch in order to keep the bootloader separate. I just want to be able to pick my boot drive in my BIOS.

Using parted should I

Mkpart primary ext4 start 200MiB <-- For Boot
Mkpart primary linux_swap 200MiB 4GiB <-- For Swap
Mkpart primary ext4 4GiB 24GiB <-- For /
Mkpart primary ext4 24GiB 100% <-- For /home

Im not sure if I even need the swap I have 16Gb ram but I would like to have it for sleep.

Please let me know if this is the correct way to format the drive. Thanks

Edited 21 Jul 2015. We only hold this version.

5 points8 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
5 · 100% up
Kind
Text
ID
3e0uff

Author

2
posts
5
comments
0
media
View profile

9 comments

I don't think the swap is really needed with 16Gb of RAM, and anyways it makes more damage than health. If you are in a hurry and need one just:

# dd if=/dev/zero of=swapfile bs=1024 count=65536
# mkswap swapfile
# swapon swapfile

^not ^tested, ^but ^it ^should ^work

I'm using btrfs for the filesystem in my root partition with the mount options:

noatime,discard,ssd,compress=lzo,space_cache

which I think is behave better with SSD.

3 points

I don't think the swap is really needed with 16Gb of RAM

From what I've been told, having no swap at all causes some confusion for the kernel - better to have a small amount (like 10mb) than nothing.

I didn't make one when I set up my current machine - 16gb RAM, SSD for the OS - and haven't noticed any problems, but it sounds like it's better to recommend some small amount of swap rather than none, since the kernel's algorithms are built around it being there, even if the system has enough RAM not to need it.

Also - I kept meaning to look up the steps for making a swapfile but not getting around to it. You've pushed me one step closer to putting some swap on my machine (after which I should have a better idea of whether it helps, too!). So thanks :)

1 points

I always make sure to have enough swap to back all the tmpfs filesystems that get mounted automatically.

I do not want a user to put a copy of a DVD or something into /tmp and have that eat gigabytes of RAM without any chance to evict that to disk eventually.

0 points

Huh well I think I need to go back and do some more reading. I've never heard of btrfs before now but I like what it stands for (Better File System) =P

Also I'm still scratching my head over UEFI vs BIOS. I think my Mobo does UEFI because that's what Windows 8.1 uses. All this dual-booting/partition table stuff is confusing the ever living heck out of me.

-1 points

Also I'm still scratching my head over UEFI vs BIOS.

Dual boot with UEFI is headache source. I'd try it and went back to the old BIOS/MSDOS partition table. But if you are going to try it, Windows should have SecureBoot deactivated and the partition table should be UEFI/GPT.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.