Jump to content

question re: strange swap/usb behavior


condor
 Share

Recommended Posts

pineapple ver 2.7.0

having issues with the swap partition taking over the sdcard. this happens after issuing the 'mkswap /dev/sda2' command.

I've never had this problem before, and I've used many sdcards.

Now I'm having this problem no matter what sdcard I use.

I started from scratch on an sdcard and left the second partition unformatted, then loaded infusions onto the larger partition from the pineapple bar. This seemed to work, so I formatted the leftover space to ext4 and all, then put it into pineapple, issued mkswap /dev/sda2 and got

root@Pineapple:/# mkswap /dev/sda2
Setting up swapspace version 1, size = 1686820 KiB
no label, UUID=77689b90-181a-4be3-9cb5-c6a4617434c1

funny thing is, that size up there is correct. 1.6gb, but after a reboot, the swap size becomes

root@Pineapple:~# free
             total         used         free       shared      buffers
Mem:         29480        27276         2204            0         3788
-/+ buffers:              23488         5992
Swap:      3373640            0      3373640

...which is 3.3gb! so lost

can someone shed some light here? lol

been using this contraption for a year now.. I have 4 of them. did I miss something?

Link to comment
Share on other sites

I swear I never had to do anything like this before, but...

..after looking into things, I found that the pineapple was mounting the storage side of my sdcard @ sdb1, so I just changed the fstab to reflect that and left everything else alone. Fixed. I can install modules from the pineapple bar to usb, and I have a swap partition now as well.

Could this strange behavior be attributed to the sdcard being on a 3/4G modem? I just gotta make this thing into a standalone attack platform.

Going to Disney in 3 days, lol

here Mickey, Mickey...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...