Linux and SSD


Recommended Posts

hey guys

I am getting an SSD in the next few weeks

now i know about no defrag etc but have some questions

after installing linux on it should i be setting anything else up on it to save writing all the time?

also i will have a normal drive in there too so was going to put

/home

/var

on the spinning drive is this ok to do?? should anything else go on the normal drive

and will this give me any problems?

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/
Share on other sites

I really wouldn't worry too much, they are not a fragile device that could die at any given moment.

On mine I have efi / boot / root on the SSD and /home to an SSD card. I don't run a swap partition.

Bare in mind that you will have to wait for the second drive on reads/writes/spinup.

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457512
Share on other sites

I really wouldn't worry too much, they are not a fragile device that could die at any given moment.

On mine I have efi / boot / root on the SSD and /home to an SSD card. I don't run a swap partition.

Bare in mind that you will have to wait for the second drive on reads/writes/spinup.

so would you just have it all on the SSD, then say if i am downloading Distro just move them from home onto the 2nd drive for storage?

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457584
Share on other sites

I know I've posted this on Neowin somewhere before, but I can't seem to find it. I would recommend reading the Arch Wiki's article on Sold State Drives. Even if you're not running Arch, its an excellent resource. Here is my fstab, for reference:


proc /proc proc nodev,noexec,nosuid 0 0
UUID=7fd0430c-f487-4e11-847d-72face9a3cf0 / ext4 errors=remount-ro,noatime,discard 0 1
UUID=1ba9f35b-a7c0-4e57-8ef8-7e7e3823f079 /boot ext4 defaults,noatime,discard 0 2
UUID=695f1604-6590-45cd-99a2-4d6638a01c6b /home ext4 defaults,noatime,discard 0 2
UUID=b0f33380-a805-4192-ae7b-8c8515a42497 none swap sw 0 0
[/CODE]

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457996
Share on other sites

i seen aswell some recommend nodiratime

u dont have that

I didn't know that mount option existed before, but, honestly, noatime isn't really the most important switch for SSDs: discard is. noatime is merely a speed optimization to prevent file access times from being written to disk. (nodiratime does the same thing as noatime, but for directories instead of files.) You can use it on rotational hard disks as well (which, in fact, I do) to gain a slight advantage in that regard. discard is very important because it enables TRIM support, which will extend the life of your SSD by exploiting some of its technical characteristics.

Edit: I just read up on it and added nodiratime to my fstab. Thanks for the tip!

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458504
Share on other sites

so would you just have it all on the SSD, then say if i am downloading Distro just move them from home onto the 2nd drive for storage?

Yeah pretty much. If you GPT/UEFI it, you can pretty much have as many partitions as you wish. Currently I have it split with Windows 8 Pro x64:

100MB Linux EFI Partition

12884MB EXT4 Partition for Ubuntu 12.10 x64 as /

100MB EFI partition for Windows Boot Loader

350MB NTFS System partition

*MB for Windows 8 OS

I also have an 8GB SDHC card for /home, 16GB SDHC card (Fat32) to shift stuff around from OS to OS and 2x500GB HDD's for Windows storage and games.

I might add fedora 18 onto the end depending on how I find it on a live test.

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458798
Share on other sites

While it is fine to have your home and var partitions on a separate physical disk, don't just dd your current home partition - or really any partition - from your hard drive to your SSD; you will likely end up with alignment issues that will adversely affect performance and life expectancy. Format a partition on the new disk and use cp -a as root to copy everything from the old partition to the new one without losing file permissions and other extended attributes. (You can also use rsync -a --progress if you would like to see what is being copied instead of having no output.)

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458832
Share on other sites

ok so looking online i have found this info so far

remove relatime and add in discard, noatime, nodiratime

update grub file to use deadline as a scheduler

Worked out i dont really want to put any partition on the HDD such as var etc as if it fails or i remove it the whole system goes lol

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595459686
Share on other sites

  • 2 weeks later...

Ok set Deadline as the scheduler

and does this look good to you guys?


guys does this look good to you
Code:
UUID=e5b30aa2-a4b6-41a3-9e0a-6688252d36ee / ext4 defaults,discard,noatime,nodiratime 1 1
UUID=8351a5aa-4bfd-4c45-872c-2ae6dc431e37 /boot ext4 defaults,discard,noatime,nodiratime 1 2
UUID=5757507b-3c10-4495-89f9-a2b1eeaccaea /home ext4 defaults,discard,noatime,nodiratime 1 2
UUID=1794135c-6075-4f17-b3bb-2b6635fd6380 swap swap defaults,discard,noatime,nodiratime 0 0
none /tmp tmpfs defaults 0 0
[/CODE]

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595481706
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "TeamViewer is the fast, simple and friendly solution for remote access over the Internet" Regarding the "friendly" description, has is stopped unceremoniusly booting your session after a couple of minutes accusing you of using it in a commercial environment?!
    • I hate religious supremacist genocidal maniacs. How antisemitic of you to imply that's what all Jews are like. Still no links I see. I guess when you're a zionists, backing your claims with proof doesn't matter. bEliEvE mE oR yOuRe hItLeR.
    • Moto G Stylus has better specs and a stylus. Search for the specs to see if they they're important to you. 
    • Funny how people who don't use OneDrive feel the need to give their opinion.
    • Win11Debloat 06.10.2026 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 06.10.2026 release notes: This release brings some long-requested features alongside a host of fixes. For starters, Win11Debloat can now automatically detect previously applied tweaks for the logged-in user. And reverting them is as simple as unchecking the corresponding setting. The script now also fully supports running under the SYSTEM account, which has also made it possible to apply changes to users who are still logged in. This makes it far easier to integrate Win11Debloat into your automations and deployments. What's changed: Add confirmation dialogs & warning for Windows Terminal Removal by @Raphire Add Support for running the script under SYSTEM account by @soccerzockt in #609 With this, support was also added for applying changes to users that are still logged-in. Add option to show & undo previously applied tweaks by @Raphire in #599 Add additional options to change the All Apps view in the start menu (Hide, Grid, Category, List) by @Raphire in #599 Clean up logging of exceptions during Appx Package uninstallation via Write-Verbose by @HetCreep in #617 Improve log output in Get.ps1/Get-Dev.ps1 and clean up file exclusions by @Raphire Remove RemoveCommApps and RemoveW11Outlook app removal parameters. Use -RemoveApps parameter instead by @Raphire in #599 Resolve nested quoting bug in Run.bat when path has spaces, see #583 by @Raphire in #599 Fix desync issue when toggling "Only Show Installed" checkbox too fast by @Raphire in #599 Fix: add missing keys in Sysprep/Undo regfiles for Disabling Recall and Windows Suggested content by @Raphire in #599 Fix 'Disable Animations' Sysprep settings not being set for new users by @Raphire in #599 Fix typo in Disable_Game_Bar_Integration Sysprep registry file by @Raphire Note The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps. Download: Win11Debloat 06.10.2026 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      PsYcHoKiLLa
      207
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      89
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!