HOW TO CREATE A SWAPFILE IN THE EXT4 FILESYSTEM IN LINUX | LINUX TUTORIAL

Опубликовано: 28 Март 2026
на канале: XQOHARX09
880
19

#xqohar09 #swapfile #swapfileExt4 #linuxtutorial

Hopefully the video HOW TO CREATE A SWAPFILE IN A LINUX EXT4 FILESYSTEM | LINUX TUTORIALS

sudo apt install gedit htop (for installing gedit and htop debian base)

sudo dd if=/dev/zero of=/swapfile bs 1M count=4096 status=progress
ls /
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo gedit /etc/fstab
add line : /swapfile swap swap default 0 0

Time Stamp:
00:00 Intro
00:57 swapfile Size calculation
01:58 how to create an ext4 swapfile and explanation of commands
05:37 enable swapfile by default after restart
07:48 out video

watch other videos on this channel. make sure to subscribe.
Don't forget the like share and subscribe buttons.
If you don't like this video, press the dislike button and don't forget to include your reasons in the comments section below.

Daily Driver :
FX553VD Laptop
Processor i7 7000 HQ
GTX 1050 2GB GPU
Ram 16 GB Default 8GB
Additional RAM Gskil Ripjaws Sodim ddr4 2666 Mhz : https://tokopedia.link/Gfxc5CuAVpb
SSD Samsung 970 Evo 250GB : https://tokopedia.link/lzlUHaPAVpb
2.5 inch hard disk built into 1TB laptop
Seagate 500GB External Hard Drive
Sandisk type C 32GB flash disk: https://tokopedia.link/uNBp0I4AVpb
Logitech G435 headset: https://tokopedia.link/BrbeObgBVpb
tuf K3 keyboard: https://tokopedia.link/wpOLi7qBVpb
Logitech mouse G502 Hero: https://tokopedia.link/bfMu7u4Absb
Rexus KVLAR Large Speed ​​mousepad: https://tokopedia.link/J3Y1IBQBVpb
Deepcool N80 cooling pad: https://tokopedia.link/ihV7krLnLrb
Smartphones
Asus Zenfone 5 2018

OS :
android
windows
Linux Mint
Fedora Spin

odysee : https://odysee.com/$/invite/@XQOHARX09:2
Instagram :   / xqoharx09  
Facebook :   / qohar.xfriend  
  / 469230098231608  
Github : https://github.com/xqoharx?tab=reposi...
support with saweria : https://saweria.co/donate/XQOHARX09

brave browser : https://brave.com/xqo877