how to use pendrive as a linux swap partition in fedora (Linux )

Опубликовано: 02 Октябрь 2024
на канале: Rahul Bhadana
1,984
15

you can also use your flash drive as a swap or any other partition in your hard disk

1 - plug your flash drive or mount disk drive and format it into swap partition by Gparted

2 - open terminal type command
su

*3* - see the disk drive or flash drive by

fdisk -l

4 - on the swap by

swapon -v /dev/sdb1

where /dev/sdb1 is the usb flash drive or disk drive formatted on swap file system.