Create swap partition after OS installation
How to make swap partition after OS installation?
Expert
swap can be made in two ways after the installation,
1. fdisk command
2. create a swap file by using dd command
after creating swap file or file system
#mkswap /dev/sda10
#swapon /dev/sda10
#swapon -s #To see the swap devices
by using dd command
#dd if=/dev/zero of=/swap bs=1024 count=1
Which will creates the file size 1024(1GB).
#mkswap /swap
#swapon /swap
#swapon -s #to see the swap devices
Normal 0 false false
18,76,764
1925043 Asked
3,689
Active Tutors
1432740
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!