Ask Your Question
1

How to properly install Fedora 22 on SSD+HDD setup

asked 2015-08-13 02:27:40 -0600

Kord gravatar image

Hello Guys,

It's been quite a while since I've installed fedora and this time my setup will be totally different as I am building my own custom laptop.. I will have an 256GB SSD just for the system, and 1TB drive for Home and files.. What I am wondering about thou, is how to properly create partitions, as I would like to leave a 250GB on the HDD for a "backup solution". Can someone guide me how to prepare such partitions so that all applications will be stored on the "system" drive and what size they should be? I guess I can skip swap, as I'll have 16GB of ram that will get slight overclock.

Thanks in advance for your help.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2015-08-13 10:32:29 -0600

mcr314 gravatar image

You don't say what you do with your laptop. I'm gonna guess you write some code, but maybe you don't compile kernels regularly.

256G is still a lot of space, and I can't see a reason why you wouldn't put a separate /home partition on your SSD.
I'd make sure to use LVM on both, but make sure they are different LVM volume groups. Then I'd make partitions on the SATA drive for projects; make them as small as you like: you can extend them easily with lvextend. Make a 256G /backup partition as I guess you want to be able to copy the SSD to the spinning drive. Alternately, put /home on the spinning drive and put your heavy data use projects on the SSD; what makes more sense depends upon what you do and how you operate. But, definitely use LVM: don't partition all the (LVM) space in advance.

edit flag offensive delete link more

Comments

huge space for other system to try~ make it dual-triple-quartet boot, sweet~

yonkyunior gravatar imageyonkyunior ( 2015-08-13 11:45:47 -0600 )edit
1

answered 2015-08-13 09:35:32 -0600

aeperezt gravatar image

I have the same configuration 256G SSD with /boot /root and swap partition and 1T sata where my /home partition is.

/dev/sda1 * 2048 1026047 1024000 500M 83 Linux /dev/sda2 1026048 436092927 435066880 207,5G 83 Linux /dev/sda3 436092928 468860927 32768000 15,6G 82 Linux swap / Solaris /dev/sdb1 2048 1953523711 1953521664 931,5G 83 Linux

I'm using xfs on /root and /home partition

Booting is really fast only thing is I encrypt my partitions using lucks

Hope this help.

edit flag offensive delete link more
0

answered 2015-08-19 01:15:15 -0600

Kord gravatar image

Hello fellow Fedorians,

Thank you for the replies, even thou I have not provided enough info in the first place (sorry 'bout that!) but my laptop is currently in pieces waiting for me to assembly it so I have to reply from work, but since I don't have much time it delays this "project" for me..

Here's some more info about the purpose of the laptop: I am not a dev nor programmer so no compilations or projects will run on the SSD, however I will have some VM's running all the time (max two thou), so I would like to leave enough space on SSD for them and also all the system files etc, I may dual boot in the future (thinking about arch or something debian based for the sake of learning) so i suppose LVM would be better choice in my case, please correct me if I am wrong on this.. Like I've said it's been a while since I've installed linux and usually it was a typical partitioning via anaconda with slight modifications in the partition size...

For the HDD, it will mainly store my music/photos/videos collection, and as I've mentioned previously I would like to backup the SSD to it on a regular basis (once a week) untill I will get myself some proper solution for that.. If I will encrypt the drive with say luks should i expect some issues when doing the backup?

Once again, thanks for all the answers.

Cheers!

edit flag offensive delete link more
0

answered 2015-08-13 13:05:05 -0600

lsatenstein gravatar image

This is what I have done. I formatted the hard disk as one partition. You may perhaps want to format it into two partitions. I did a default install to the SSD, and not using lvm and put everything into one partition (/, /boot, /home etc) After the first boot, as the administator I added the hard disk to the fstab (/etc/fstab)
for every entry therein, after default keyword I added noatime default,noatime Swap was retained on the SSD. I also added the UUID= for the hard disk partition(s), naming the partitions On one partition I created a /Downloads /Documents, /Music, /Pictures Now, on my ~ directory I rmdir'd Downloads Documents Music Pictures and replaced those by symbolic links My first partition on the hard drive I titled /hdrive1, my second partition /hdrive2 from my ~ (home directory) I created symbolic links as follows

ln -s /hdrive1/Documents Documents ln -s /hdrive1/Downloads Downloads etc for Music, Pictures,

I also added a root owned crontab entry to run at a time when I would be on the computer as follows. 30 9 * * mon,thu /fstrim -a

Thus, I can reinstall to the SSD at anytime and with a few symbolic link changes, replace Fedora with an upgrade.

You may want to consider a Full Remix of Fedora 22 titled Korora Linux or Chapeau Linux . These two provide all the codecs that you would want to struggle to install after having installed Fedora 22. A remix is Fedora22 with the best extras included.

Second consideration. The SSD drive will more than ilkely outlast your hard disk by 3 to 4 lifetimes. If your SSD survives the first week or two, it will provide you with 8 to 10 years of reliable service. You will probably scrap your computer before the SSD dies on you.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-13 02:27:40 -0600

Seen: 7,714 times

Last updated: Aug 19 '15