Trying to create a swapfile

nshiell

New Member
Credits
32
I have an ASUS C101P Chromebook
I have followed some guides to build a working Arch with a custom Kernel

As root I issue the commands:
dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress
chmod 600 /swapfile
mkswap /swapfile

swapon /swapfile

When I run swapon I see:
swapon: /swapfile: swapon failed: Invalid argument

Is there anything I can do to have swap?
 


nshiell

New Member
Credits
32
Thanks, I was acutally using that page, so I'm still stuck
I think it's either the Kernel doesn't support it somehow
Or the way Chrome devices do partitions etc might be incompatabile with swaping
 

Nelson Muntz

Well-Known Member
Credits
4,871
There's some Arch users on the forum perhaps they will be able to help out.

I tried Arch and it was frustrating as hell and to time consuming for me plus I ain't got the patience for Arch to many other distros that work OOTB.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Latest posts

Top