LazyTech

  • Home
  • Blog
  • TV/Cinema
  • Video Tutorials
No Result
View All Result
  • Home
  • Blog
  • TV/Cinema
  • Video Tutorials
No Result
View All Result

JNews Game

No Result
View All Result
Home Video Tutorials Operating Systems

How to Migrate from Swap Partition to Swap File in Ubuntu

Gearloose by Gearloose
September 9, 2017
in Video Tutorials, Operating Systems, Linux
0
119
VIEWS
Share on FacebookShare on Twitter

Please join the discussion at EzeeTalk. https://www.ezeelinux.com/talk/ It’s free, secure and fun!
This video will show you how to create a swap files and remove Swap partitions from Ubuntu Linux.

Ubuntu SwapFaq: https://help.ubuntu.com/community/SwapFaq

HOW TO ADD A SWAP FILE TO UBUNTU

1. sudo dd if=/dev/zero of=/swapfile bs=1M count=(size in MB)
2. sudo e4defrag /swapfile (Spinning drives only!)
3. sudo chmod 600 /swapfile
4. sudo mkswap /swapfile

MOUNTING THE SWAP FILE

1. sudo cp /etc/fstab /etc/fstab.old
2. sudo nano /etc/fstab
3. add: “/swapfile none swap sw 0 0” to bottom of file.
4. Remove existing line for swap partition.
5. press Ctrl+O to save, then Ctrl+X to exit
6. Rebbot to confirm. (‘sudo mount -a’ will NOT work!)

Use Gparted in live session to remove swap partition and resize / partition.

Please be sure to give EzeeLinux a ‘Like’ on Facebook! Thanks! https://www.facebook.com/EzeeLinux
Check out http://www.ezeelinux.com and http://www.freedompenguin.com for more about Linux.

More Info

Recommended Posts

Linux Terminal Basics 2 | Working with Files
Operating Systems

Linux Terminal Basics 2 | Working with Files

September 16, 2019
Learn Kali Linux Episode #18: Staying Anonymous with ProxyChains (Part 2)
Operating Systems

Learn Kali Linux Episode #18: Staying Anonymous with ProxyChains (Part 2)

December 15, 2017
30 Things to do After Installing Ubuntu 18.04 LTS (all-in-one video)
Operating Systems

30 Things to do After Installing Ubuntu 18.04 LTS (all-in-one video)

June 17, 2018
Setting up a Minimalistic Ubuntu Installation
Operating Systems

Setting up a Minimalistic Ubuntu Installation

January 6, 2019
An Introduction To VirtualBox
Operating Systems

An Introduction To VirtualBox

June 9, 2016
Linux Mint Beginners Guide Part 05 - Utililizing Workspaces
Operating Systems

Linux Mint Beginners Guide Part 05 - Utililizing Workspaces

May 29, 2019
ShareTweetShare
Previous Post

How to Create a Japanese Tea Packaging Design

Next Post

Install the Tilda Terminal Emulator

Next Post
Install the Tilda Terminal Emulator

Install the Tilda Terminal Emulator

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


  • Trending
  • Comments
  • Latest
Resolve in a Rush Ep17 Using the Aperture Diffraction Plugin

Resolve in a Rush Ep17 Using the Aperture Diffraction Plugin

August 8, 2018
Linux commands for Beginners 20 - Package Management on Fedora and CentOS (dnf and yum)

Linux commands for Beginners 20 - Package Management on Fedora and CentOS (dnf and yum)

September 26, 2019
Part 3 - BadgerDB

Part 3 - BadgerDB

October 27, 2018
08 - Firebase Remember me - Android Remember me Checkbox

08 - Firebase Remember me - Android Remember me Checkbox

October 19, 2018
Web Development In 2021 - A Practical Guide

Web Development In 2021 - A Practical Guide

December 31, 2020
MagicaVoxel to Blender and Vice Versa [Greek] [Eng Subs]

MagicaVoxel to Blender and Vice Versa [Greek] [Eng Subs]

December 23, 2020
blender secrets

blender secrets

October 11, 2020
Demo: Boolean logic with switch and other syntax [28 of 51] | Beginner's Series to JavaScript

Demo: Boolean logic with switch and other syntax [28 of 51] | Beginner's Series to JavaScript

October 5, 2020

Recommended

5 - Collision Detection

5 - Collision Detection

August 13, 2018
Modern JavaScript Tutorial #6 - The Document Object Model

Modern JavaScript Tutorial #6 - The Document Object Model

April 18, 2019
Stack Views | Universal Interfaces – iOS 10 Geeky Lemon Development

Stack Views | Universal Interfaces – iOS 10 Geeky Lemon Development

October 22, 2016
4.8 Create your first professional animation

4.8 Create your first professional animation

October 8, 2018

About Us

Lazytech is about hardware hacking, such as video game consoles, PC and consumer stuff. There are lots of software hacks as well.


Blogs

  • Blog
  • TV/Cinema
  • Video Tutorials

Categories

3D & Animation Audio Production Design & Illustration Game Development General Knowledge Mobile Development Operating Systems Personal Development Photography Productivity Software Development Uncategorized Video Production Web Development
  • Contact Me
  • My Projects
  • Privacy Policy

© 2021 LazyTek.xyz - Created by BadTooth Studio.

No Result
View All Result
  • Home
  • Blog
  • TV/Cinema
  • Video Tutorials

© 2021 LazyTek.xyz - Created by BadTooth Studio.