Find the answer to your Linux question:
Results 1 to 6 of 6
i want to remove the swap as i have a SSD HARD DRIVE and you cant trim the swap and i have 8 gigs, at the installer i didnt know ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186

    remove swap from mint 10 64


    i want to remove the swap as i have a SSD HARD DRIVE and you cant trim the swap and i have 8 gigs, at the installer i didnt know how so i installed mint with the whole 60 gigs it made the partitions on its own, can it be done inside mint with h\gparted or other in mint runnng disk tool? also what are the mount point tweaks for SSD thanks

  2. #2
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=a5a945d9-6294-4a0e-b5ac-aa8e75b4e78f / ext4 errors=remount-ro 0 1
    thats my fstab what do i change to tweak for SSD?

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Add discard as an option.
    so: discard,errors=remount-ro
    You must always face the curtain with a bow.

  4. #4
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    can you show me edit it to what youre saying # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=a5a945d9-6294-4a0e-b5ac-aa8e75b4e78f / ext4 errors=remount-ro 0 1
    thats my fstab what do i change to tweak for SSD?

  5. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Before the option "errors" insert the new option "discard".
    Options need to be separated by comma.
    You must always face the curtain with a bow.

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    To remove the swap, you should be able to remove the swap line in fstab, and use a live CD with gparted to combine your swap partition with another partition.

    A couple other things you might want to do.

    Mount with noatime or relatime.

    Code:
    UUID=a5a945d9-6294-4a0e-b5ac-aa8e75b4e78f / ext4 noatime,discard,errors=remount-ro 0 1
    Mount /tmp to RAM. Add this line
    Code:
    none                   /tmp          tmpfs     size=100M  0      0
    You can adjust the size depending on how large you want to allow this to get. Obviously dependent on how much RAM you have to spare. Note that this means /tmp will not survive reboots.

    Switch to the noop scheduler.

    To do so, edit /etc/default/grub, find the line
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    Add elevator=noop
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="elevator=noop quiet splash"

Posting Permissions

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