[SOLVED] best partitioning scheme on ssd (1tb) - install manjaro kde
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
best partitioning scheme on ssd (1tb) - install manjaro kde
Hii,
I know i have asked this question before, but now i have bought a brand new 1TB ssd and i want to install afresh manjaro kde.
My laptop configuration:
I am gonna have dual boot on this laptop - manjaro kde and win7
I have 2 new hdds, 1 is spinning hdd 1TB and one is ssd 1Tb.
I would want swap to be as a file instead of as partition.
What would be best configuration for that ?
I think, both os on a same ssd ? since ssd will make them faster. But /home set it to be on spinning hdd. ?
How is the configuration on manjaro that is best to be on limited ssd space and write cycle?
How is the configuration on win7 ?
Any good idea ? care to share ?
1 thing for sure: i won't let it auto decide on installation. :-)
I think Manjaro can be installed with no swap. % grep sw /etc/fstab to see if you have a swap device or partition. You can add one easily. The release I run, it is just "swapon" to list the swap. Try also "free" to list both memory and swap.
I think Manjaro can be installed with no swap. % grep sw /etc/fstab to see if you have a swap device or partition. You can add one easily. The release I run, it is just "swapon" to list the swap. Try also "free" to list both memory and swap.
Hii,
Without swap ? then how come it can suspend to ram ?
Free command did shows no swap... how it suspend to ram then ?
Code:
$ free
total used free shared buff/cache available
Mem: 7825 5841 336 514 1647 1136
Swap: 0 0 0
Errh! i thought swap is used for both suspend to ram and suspend to hdd..
What about suspend to ram ? where the data in the ram store in if not swap ? can't be just kept in ram the whole time.. can it ?
Hmm.. according to the url you provided.. it did said suspend to ram is to let the machine state be in ram.. not in swap. (i see, i have wrong concept of how it works)
Well, i eventually want to have suspend to swap working as well, but not now.. so not learning now. .until i get other more important thing done.
If you ask 10 people what is the best way you will get 100 opinions and it all depends on how you are planning to use each system. I like keeping things simple. Put /(root) on the SSD and /home on the mechanical drive is fine. With newer SSD technology a 1TB SSD should last 5 years or more with typical home use so I would not worry about it to much.
A /(root) partition of 50GB-100GB is more then sufficient.
Although where swap located really does not matter anymore I would still use a partition and place it on the mechanical drive.
If you have lots of files you want to share between the two systems use a separate data partition just to keep things organized.
If you ask 10 people what is the best way you will get 100 opinions and it all depends on how you are planning to use each system. I like keeping things simple. Put /(root) on the SSD and /home on the mechanical drive is fine. With newer SSD technology a 1TB SSD should last 5 years or more with typical home use so I would not worry about it to much.
A /(root) partition of 50GB-100GB is more then sufficient.
Although where swap located really does not matter anymore I would still use a partition and place it on the mechanical drive.
If you have lots of files you want to share between the two systems use a separate data partition just to keep things organized.
I have "pasted" my requirement of configuration on the begining of the post, i am hoping good people will give me opinion with respect to my requested requirement.
What you said is 100% agreeable , but please bear with my argument.
Quote:
statement1:
a /root partition of 50-100GB in ssd
Q1. what will causes /root to be bigger ? just the kernel files ? **i want to know so i can decide on how much space required, so that it won't used up space and causing problem, or wasting space for no use.
Quote:
statement2:
Yes to swap placed on a spinning hdd.
Q2.
But i wish swap be a file somewhere.. why you want it to be in a dedicated swap partition ? isn't it hard to change the partition size in case i set the wrong partition size at the installation (due to ignorant) ?
If it is a swap file (instaed of swap partition), when need to resize the swap (so no lacking and no waste), i can do it easily. But i need to know where to place the swap file so it will be save from everything that might harm it.
Quote:
statement 3:
create a common partition to share file between the 2 os. I think place it in spinning drive would be good.
Q3.
What fs type to use for this common sharing partition that would be accessible for win7 and linux os ?
Q4.
Is there more other partition ? or mounting point to know ? I wish to get the whole picture , document it well before proceed. (i have being following blindly with other people's instruction in the past, not knowing what is the best... and everything installed was just a mess at the end)
Thanks.
Q5.
/home in spinning drive ? or ssd ?
Q6.
oh ya, it is best to install win os first on the ssd before install linux right ? so that grub menu will make a grub boot menu so that both run. But now i also wonder how should i install win7 on ssd ?
Q7.
Is there something i need to manually set so that "channel" some system folders such "desktop" "download folder" "audio, photo...folders" to spinning hdd instead of ssd (so that ssd will be used up by downloaded stuff) ?
7. If home is on the mechanical drive then by default if you download something from the internet using a web browser it typically defaults to your /home/username/Downloads directory. You can always change the default to something else.
6. Yes, it is best to install Windows first. SDD or mechanical, in the end it does not matter your choice.
5. I would go with mechanical drive but again that is just my opinion.
4. There are many many many ways to partition a drive. I prefer to keep things simple. /,/home and swap and maybe a separate /boot
3. NTFS
2. Size of swap is always a debatable topic and not as simple as it seems. It typically depends on the amount of RAM and if you want to hibernate. Best to have it just in case then need it when you do not. With 1TB hard drive a few GB is only ~1 percent of the total.
1. Applications are typically installed to /bin /sbin /usr/bin /usr/sbin and these are on your / partition. Most people would save large files like videos and music to their home or data directories.
To make things way more complicated you could use LVM. This allows you to resize partitions and filesystems almost on the fly and therefore it does not matter if you make things to big or small at first.
I tried to partition the new ssd 1tb like such:
[reserve for windows 7 installation 50%][/boot ext2 1GB][/ ext4 100GB][/home ext4 remaining space]
*as for /home above, i will (hopefully) configure /Downloads, /Documents, /Pictures, Videos and /Music and any of folder that is only for personal data storing to be put stuff in into spinning hdd (use --bind or symlink method). Hence this /home in ssd is only gonna be for anything but the above mentioned data storage (this organizing will also make it easy for me to backup my personal data . swapfile will be store in /home on ssd.
I got got stuck partition when (considering you said /usr/bin and /usr/sbin typically reside in / directory which recommended only 100G max )
I know i have habit of downloading a lot of softwares to try out..
hence considering /usr/bin and /usr/sbin will significantly increase in size as i try out a lot of softwares.. hence do you think is it suitable for the /usr/bin and /usr/sbin to be residing inside / directory ?
should it not better if i separate out some folders that i foresee will causes / partition to be out of space in future ?
Also, i tend to "build" program from source code downloaded from git or anywhere to try out.. these bin will then be in my /home/some_folder .. this i will also need to sort out.. (i already encountered this problem, a mess, don't even know where are my program bin located.. it is everywhere - something need to be address ) How you guys tackle this source code built program binary location ?
Please comment of any foreseeable issue with my arrangement.. so that i will not regret after everything installed.
To answer Q1,
Every software package you install, and the cache for updates takes space on the root partition. 25G is probably too small, and 35G can be marginal in size for some. With a 1TB drive it is better to allow extra space rather than have to adjust sizes later when the partition fills up. I concur with the suggested 50 to 100G size. Remember, 100GB is only 10% of 1 TB. You never want the main system partition to fill up, and most of your downloads that do not involve installing software will be in /home, so how large you make it is a matter of personal preference once you are larger than the absolute minimum.
On my system 60G for / would be extremely tight right now.
I do not recommend breaking out a lot of different partitions like /usr/bin since they are required during the initial boot. I think your 100G for / is fine, and breaking out other subdirectories involves a lot of guess work in estimation of the needed sizes and results in wasted space. Using 1G for /boot is fine, but make certain that you use EFI for the windows install as well as for the linux install.
Too much micromanaging can cause more problems than it solves.
Simply install windows, then from within windows shrink its filesystem to the size you want and leave the rest for the install of linux. Any partitioning for linux should be done after the windows install is complete.
Last edited by computersavvy; 05-30-2021 at 04:57 PM.
should it not better if i separate out some folders that i foresee will causes / partition to be out of space in future ?
No.
I always build source code in my home directory and when you run make install they are moved to wherever the executable, configuration files and man pages were configured to be.
I always build source code in my home directory and when you run make install they are moved to wherever the executable, configuration files and man pages were configured to be.
Oh, so finally i know this part of doubt. So after run "make install" the bin file created will be moved to /user/bin or related folder, hence all the files in my "make" source code folder can be safely deleted ?
Too much micromanaging can cause more problems than it solves.
How about this :
simple configuration
Solid state: / (root filesystem) , /home (partial /home folder, excluding /download, /photo, /desktop ...any folder that is for placing of data file )
Spinning disk: /var (because files in this folder constantly changing..such log file), /home (/download, /video, /photo.. /desktop and any folder that is for placing downloaded files), /tmp, swapfile
/var is folder where logs files are.. which constantly changing.
/tmp is just temp files
/swap file
SSD partition table:
[system reserve-auto created by windoz] [win7] [/boot] [/] [/home (partial)]
This above is my planned partition making on ssd, The rest folder are placed on spinning hdd partition. please advice.
/system reserve - just a few Kb only i think
/ntfs partition for windows - 400GB
/boot partition - 1GB
/ partition - 100GB
/home partition - 400GB
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.