Thread
:
How to upgrade the internal memory by extending the root filesystem to a memory card
View Single Post
djs_tx
2006-02-22 , 04:18
Posts: 227 | Thanked: 51 times | Joined on Feb 2006
#
49
I did the extrootfs script with no problems but swapon is failing.
If I try the commands exactly as written:
1. Create an empty file to hold the swap:
* dd if=/dev/zero of=/Root/swapfile bs=1024 count=24576
2. Turn the empty file into a swap file:
*mkswap /Root/swapfile
3. Now it can be activated like that (as root):
*swapon /Root/swapfile
4. To deactivate it, use this command (as root):
*swapoff /Root/swapfile
It first chokes on step 1 unless I am root because it won't let me create a new file in /Root as user.
I then sudo gainroot and it chokes on step 3 with a mysterious "swapon: /Root/swapfile: Invalid argument"
Any ideas?
Oh and how come the second partition is obviously working but it does not show up in the list when you issue the "mount" command with no args?
Quote & Reply
|
djs_tx
View Public Profile
Send a private message to djs_tx
Find all posts by djs_tx