UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You get your errors on the swap partition. Look up in your /etc/fstab on which disk the swap partition is, then use the diagnosis tool that is provided by the manufacturer of that disk.
it is ubuntu server so what is the command ???
this my /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' 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=d0eb1e97-2fe6-4f32-aac2-fa8467b886fd / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=4668857d-72ee-4656-a40a-e8664370bbb7 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
/dev/sdb1 /1 ext3 noatime,nodiratime 0 0
/dev/sdc1 /2 ext3 noatime,nodiratime 0 0
/dev/sdd1 /3 ext3 noatime,nodiratime 0 0
/dev/sde1 /4 ext3 noatime,nodiratime 0 0
/dev/sdf1 /logs ext3 noatime,nodiratime 0 0
As we can see here your swap partition is on /dev/sda, which is usually tghe first disk in the system. There is no guarantee, but usually the first disk in the system is the one on the first SATA port on the motherboard.
There is no package for Ubuntu and even there would be, how should I know the manufacturer of your harddisk?. Go to the manufacturer's website, download the tool, burn it to a CD and boot the system from it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.