Thread: swapon failed: Invalid argument
hi there,
i'm trying swap file on sdcard, i'm getting error
here sequence produce errorcode:swapon failed: invalid argument
here mount partcode: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
when create file on root filesystem (ext4) works fine.code:/dev/sdb1 on /media/sd1 type btrfs (rw,nosuid,nodev,compress)
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
Post a Comment