Results 1 to 6 of 6

Thread: Ubuntu 12.04 on SSD. partitioning,TRIM support help

  1. #1
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post Ubuntu 12.04 on SSD. partitioning,TRIM support help

    Hi,

    I bought a 180GB Intel 330 series SSD. want to install Ubuntu 12.04 in SSD.
    I have a hard drive already.
    so, can SSD users help Me with SSD partitions?

    what to do with new SSD partition table?
    which partition table is to be used? MSDOS or GPT?
    BTW, I've a DH67CL board with standard BIOS(not efi) and will install Windows 7 later. since Mine motherboard doesn't have a EFI BIOS, will it be a option to use GPT partition table? Can I dual boot with Windows 7 with GPT?

    regarding disk partitioning, I think a separate / partition of 15GB and /home of 40-50GB enough?

    Will I place Swap partition on SSD or HDD?

    and lastly, You have to enable TRIM support for SSDs right? Please explain what to do.

    Thanks in Advance,
    dc
    Last edited by deepclutch; July 18th, 2012 at 06:05 PM.

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 12.04 on SSD. partitioning,TRIM support help

    Hi deepclutch.

    Quote Originally Posted by deepclutch View Post
    what to do with new SSD partition table?
    which partition table is to be used? MSDOS or GPT?
    I would recommend MBR (MSDOS).

    Quote Originally Posted by deepclutch View Post
    BTW, I've a DH67CL board with standard BIOS(not efi) and will install Windows 7 later.
    If you can, I suggest partition the disk first with Live CD/Gparted, then install Windwows7 and lastly install Ubuntu. It is a little more easy that way.


    Quote Originally Posted by deepclutch View Post
    regarding disk partitioning, I think a separate / partition of 15GB and /home of 40-50GB enough?
    Sounds reasonable.

    Quote Originally Posted by deepclutch View Post
    Will I place Swap partition on SSD or HDD?
    This is more debatable. Read this guide. If you have enough RAM and you are not concern with hibernation, you can even go without swap just fine.


    Quote Originally Posted by deepclutch View Post
    You have to enable TRIM support for SSDs right? Please explain what to do.
    Yes, AFAIK it as post installation step. You basically add a mount option to the mount table. Read about it here.

    I hope that helps, and let us know how it goes.
    Regards.

  3. #3
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Ubuntu 12.04 on SSD. partitioning,TRIM support help

    Thank You @papibe for the answers.
    Another doubt, I read SSDs required proper partition alignment? Is there any resources available on this.

    Thanks Again,
    DC

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.04 on SSD. partitioning,TRIM support help

    New partitioning tools in the last year or two align correctly. I normally download newest gparted or use gparted from newest Ubuntu liveCD. Windows defaults to 2048 as first sector or 1MiB boundry.

    srs5694's to show 8 sector alignment post #9
    http://ubuntuforums.org/showthread.php?t=1685666

    First, understand that most partitioning tools have moved to a policy of aligning partitions on 1 MiB (2048-sector) boundaries as a way of improving performance with some types of arrays and some types of new hard disks (those with 4096-byte physical sectors). See article by srs5694:
    http://www.ibm.com/developerworks/li...-sector-disks/
    Post on 8-sector boundaries alignment by srs5694
    http://ubuntuforums.org/showthread.php?t=1685666
    it's 8-sector (4096-byte) alignment - post 8
    http://ubuntuforums.org/showthread.php?t=1768635

    I do not install Windows on SSD, so I use gpt with BIOS. But Windows only boots from gpt with UEFI. So if you want Windows you have to use MBR(msdos) partitioning as papibe states.
    Do SSD need customization?
    http://ubuntuforums.org/showthread.php?t=1981478
    https://wiki.archlinux.org/index.php/Solid_State_Drives

    You still need discard for trim and noatime to reduce writes. You can also use ext4 but turn journal off. I think that was about all I actually did. If using any newer version of gparted you should have alignment or first partition starts at sector 2048 and all partition starts are divisible by 8.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post Re: Ubuntu 12.04 on SSD. partitioning,TRIM support help

    I am slowly figuring out all these info about partition alignment.

    So, "Erase Block Size" needs to be known for partition/file system alignment?

    I searched for Intel 330 SSDs(Mine is 180GB) and there is no information available.

    330 SSD specs shows:
    — Intel® 25nm NAND Flash Memory
    — Multi-Level Cell (MLC)

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.04 on SSD. partitioning,TRIM support help

    I think if you just use the new default with gdisk or gparted of 2048 as the start and 1MiB then you have no issues.

    https://wiki.archlinux.org/index.php/Solid_State_Drives
    If choosing to start on a sector before the 2048th gdisk will automatically shift the partition start to the 2048th disk sector. This is to ensure a 2048-sectors alignment (as a sector is 512B, this is a 1024KiB alignment which should fit any SSD NAND erase block).
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •