ssd partitioning scheme

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Re: ssd partitioning scheme

Postby js3915 on Fri Jun 27, 2014 12:17 am

mr_raider wrote:On a separate note can someone explain to me the fascination with separate boot partitions?



I just want to bang my head into the desk.. Looking deeper your right but i think there needs tobe some free space on efi or gpt for proper loading if im not mistaken course i could b :? .. but the actual /boot can state under root.. Im still learning GPT but always run into trouble if i dont allocate a small portion for the ef02((bios boot partition)) partition.

newer systems that support efi its probably better to have your system load that way versus the old MBR way...


Im always learning daily :)
js3915
Level 3
Level 3
 
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Linux Mint is funded by ads and donations.
 

Re: ssd partitioning scheme

Postby mr_raider on Fri Jun 27, 2014 9:39 am

GPT disks always leave enough space. As a matter of fact, if you create a GPT disk in Linux and try to boot it legacy (BIOS) style, the installer will force you to create an empty partition at the beginning of the disk with the bios_grub label. If you try to boot a GPT EFI style, the installer will demand an efi partition of at least 100MB which is sufficient for all your needs.

On ms-dos (MBR) disks, any newer partitioner (Vista, 7, 8.1, current versions of gparted and ubiquity) will leave at least 1MB at the start of teh disk for proper alignment on SSds. This will also give enough space for the grub boot code to reside in.

Initial revisions of btrfs did require separate /boot partition, but grub has been amended to directly boot btrfs partitions.

More on the flexibility of btrfs:

https://www.kubuntuforums.net/showthrea ... -s-upgrade!

https://www.kubuntuforums.net/showthrea ... -new-drive!
mr_raider
Level 4
Level 4
 
Posts: 289
Joined: Sun Jun 20, 2010 9:50 am

Re: ssd partitioning scheme

Postby Janus12th on Sat Jun 28, 2014 11:52 am

Why when i came to do fresh intsall wasnt btrfs an option ?

ext2 3 4 jfs and others all there but btrfs wasnt an option it wasnt even on the list
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Re: ssd partitioning scheme

Postby mr_raider on Sat Jun 28, 2014 4:22 pm

The mint live cd does not have the btrfs modules enbaled by default. Open a terminal and type


sudo apt install btrfs-tools
mr_raider
Level 4
Level 4
 
Posts: 289
Joined: Sun Jun 20, 2010 9:50 am

Re: ssd partitioning scheme

Postby Janus12th on Sun Jun 29, 2014 2:22 am

Thanks mr_raider

it was mentioned earlier sorry information overload

Thanks
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Re: ssd partitioning scheme

Postby js3915 on Sun Jun 29, 2014 3:51 pm

Janus12th wrote:Thanks


Let us know how it works out!
js3915
Level 3
Level 3
 
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: ssd partitioning scheme

Postby Janus12th on Mon Jun 30, 2014 6:40 am

It worked Fine seems no different than ext4 although i wouldnt expect to see a difference

i did
/ 20gig
/var 10 gig
/home rest of disk

i understand /var doesn't need to be split but i had already done it by the time i realized but it works fine - lm17 seems a bit buggy but im sure they will work that out

Thanks
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Re: ssd partitioning scheme

Postby js3915 on Mon Jun 30, 2014 10:56 am

Janus12th wrote:It worked Fine seems no different than ext4 although i wouldnt expect to see a difference


I think mint is on 3.13 kernel not sure but I know Kernel 3.13, 3.14, 3.15 btrfs has gotten alot of love and improvements and speed enhancements 3.16 is supposed tobe another good boost to btrfs which should be out in a couple months. On my arch box btrfs feels snappier than ext4 on the 3.15 kernel


Glad it worked! :)
js3915
Level 3
Level 3
 
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: ssd partitioning scheme

Postby mr_raider on Mon Jun 30, 2014 11:06 am

Janus12th wrote:It worked Fine seems no different than ext4 although i wouldnt expect to see a difference

i did
/ 20gig
/var 10 gig
/home rest of disk

i understand /var doesn't need to be split but i had already done it by the time i realized but it works fine - lm17 seems a bit buggy but im sure they will work that out

Thanks


By doing / and /home separate, you loose the main advantage of having two subvolumes share the same physical space.

However, btrfs has the ability to do snapshots, so if you every upgrade Mint and dont like it, you can revert
mr_raider
Level 4
Level 4
 
Posts: 289
Joined: Sun Jun 20, 2010 9:50 am

Re: ssd partitioning scheme

Postby Janus12th on Mon Jun 30, 2014 12:35 pm

Thanks

So mr_raider are you just saying install btrfs across the whole disk and dont split them as i thought btrfs would split them anyway

i would have no idea how to do snapshots still trying to get my head around the basics in linux

Thanks
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Re: ssd partitioning scheme

Postby mr_raider on Thu Jul 03, 2014 7:44 am

Janus12th wrote:Thanks

So mr_raider are you just saying install btrfs across the whole disk and dont split them as i thought btrfs would split them anyway

i would have no idea how to do snapshots still trying to get my head around the basics in linux

Thanks


By default btrfs creates a subvolume for home and root. Not separate partitions. Subvolume are containers within the same partition. However they use the same physical space. You get the benefits of isolation, with full access to all the space:

http://www.funtoo.org/BTRFS_Fun#Playing ... _snapshots
mr_raider
Level 4
Level 4
 
Posts: 289
Joined: Sun Jun 20, 2010 9:50 am

Re: ssd partitioning scheme

Postby Janus12th on Sun Jul 13, 2014 8:05 am

Thanks

So when i come to set up the trim option if i do trim / will this also take care of the /home or do i need to do that aswell as its a subvolume ?
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Re: ssd partitioning scheme

Postby mr_raider on Sun Jul 13, 2014 8:35 am

Janus12th wrote:Thanks

So when i come to set up the trim option if i do trim / will this also take care of the /home or do i need to do that aswell as its a subvolume ?


Yes. If you have a single / partition, fstrim / will trim all subvolumes. If you did your partitioning scheme above, you have to trim /, /home and /var sperately.
mr_raider
Level 4
Level 4
 
Posts: 289
Joined: Sun Jun 20, 2010 9:50 am

Re: ssd partitioning scheme

Postby Janus12th on Mon Sep 01, 2014 3:59 am

Update

01st Sept 2014

I Bought a new computer - i7 - Z97
Tried to install btrfs and although the installation went fine and it asked me to restart - nothing happened, i got post and then just a black screen with a cursor and someone said its because btrfs is still in its infancy

i then tried ext 4 - splitting the drive into /boot /biosgrub /boot/efi / & /home this wouldnt even install kept giving me errors abot vfat format even though all partitions were ext4

then tried ext4 across the whole drive without partitions and got an error about boot efi partition

things in bios i have done - changed boot options from window efi to other Os and in cm i have told the drive use legacy

although im told to disable secure boot i cannot find any options in mb to do this - greyed out and cannot alter

what else do i have to do to get lm17 on this mother board


moved to new post as this was a partition help page please see link and respond there - viewtopic.php?f=90&t=177293
Janus12th
Level 2
Level 2
 
Posts: 60
Joined: Wed Jun 11, 2014 3:39 am

Linux Mint is funded by ads and donations.
 
Previous

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot] and 26 guests