Skip to main content

Thread: swapon failed: Invalid argument


hi there,
i'm trying swap file on sdcard, i'm getting error
code:
swapon failed: invalid argument
here sequence produce error
code:
root@eee:/media/sd1# dd if=/dev/zero of=/media/sd1/hibernate.img bs=1024k count=200  200+0 records in  200+0 records out  209715200 bytes (210 mb) copied, 18.7177 s, 11.2 mb/s  root@eee:/media/sd1# mkswap /media/sd1/hibernate.img   mkswap: /media/sd1/hibernate.img: warning: don't erase bootbits sectors          on whole disk. use -f force.  setting swapspace version 1, size = 204796 kib  no label, uuid=81c367ac-5301-4af6-8681-40e2297b6d5c  root@eee:/media/sd1# swapon /media/sd1/hibernate.img   swapon: /media/sd1/hibernate.img: swapon failed: invalid argument
here mount part
code:
/dev/sdb1 on /media/sd1 type btrfs (rw,nosuid,nodev,compress)
when create file on root filesystem (ext4) works fine.

suggestions?

hello there.

im afraid cant problem have question it. why trying swap sd card. assume connected via usb connection not slow gain benefit having swap enabled it?

thought...


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware swapon failed: Invalid argument


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support