The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-06-23
, 07:41
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#242
|
Device Boot Start End #cyls #blocks Id System /dev/mmcblk1p1 0+ 62499 62500- 1999992 c W95 FAT32 (LBA) /dev/mmcblk1p2 62500 200467 137968 4414976 83 Linux /dev/mmcblk1p3 224882 249295 24414 781248 82 Linux swap / Solaris /dev/mmcblk1p4 200468 224881 24414 781248 82 Linux swap / Solaris
![]() |
2014-07-07
, 16:59
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#243
|
I have 4 partions on SD set up as so:
FlopSwap doesn't seem able to see them. Is there something else I need to do to get them noticed?
Originally Posted by sixwheeledbeastI have discovered what the porblem was; even though I told cfdisk under easy debian to make the partions swap, I still had to run mkswap to get them ready. Have now done so and everything's tickety-boo.How did you get on with Flopswap and your modified boot settings. I didn't find what had been changed from stock to try and help.
![]() |
2014-07-10
, 15:50
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#244
|
The Following 5 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-07-16
, 10:00
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#245
|
$ sudo /opt/flopswap/script/swapused.sh /dev/mmcblk1p2 /dev/mmcblk0p3 /dev/mmcblk1p2 mmcblk0p3 sh: mmcblk0p3: unknown operand sh: mmcblk0p3: unknown operand sh: mmcblk0p3: unknown operand
![]() |
2014-07-16
, 13:56
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#246
|
Flopswap can't check status for me:
and says check only one swap is activeCode:$ sudo /opt/flopswap/script/swapused.sh /dev/mmcblk1p2 /dev/mmcblk0p3 /dev/mmcblk1p2 mmcblk0p3 sh: mmcblk0p3: unknown operand sh: mmcblk0p3: unknown operand sh: mmcblk0p3: unknown operand
blkid | grep swap -- ( need root) dpkg-query -W -f='${Version}\n' upstart dpkg-query -W -f='${Version}\n' flopswap cat /etc/default/mount-opts-overwrite cat /etc/default/mount-opts cat /etc/fstab
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-07-16
, 14:52
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#247
|
This is correct flopswap calculates swap used on the active swap, therefore only one must be active not two.
Good this is correct.
Have you setup two swap partitions on the uSD like in the wiki?
http://wiki.maemo.org/Flopswap#Partition_Requirements
http://wiki.maemo.org/Flopswap#FAQ
If you have issues after fixing your partitions and rebooting, please post output of
Code:blkid | grep swap -- ( need root) dpkg-query -W -f='${Version}\n' upstart dpkg-query -W -f='${Version}\n' flopswap cat /etc/default/mount-opts-overwrite cat /etc/default/mount-opts cat /etc/fstab
Nokia-N900:~# blkid | grep swap -- /dev/mmcblk1p2: UUID="4ca89a73-e144-40a2-92ee-6f5d4722addb" TYPE="swap" /dev/mmcblk0p3: UUID="d4a22705-08a3-4be5-91b1-90fe802ffb90" TYPE="swap" Nokia-N900:~# dpkg-query -W -f='${Version}\n' upstart 0.3.8-68+0cssu7 Nokia-N900:~# dpkg-query -W -f='${Version}\n' flopswap 0.1.9 Nokia-N900:~# cat /etc/default/mount-opts-overwrite swap_sd="1" Nokia-N900:~# cat /etc/default/mount-opts # !!! Do not edit this file. It can be overwritten in next update !!! # !!! Instead create and edit file /etc/default/mount-opts-overwrite !!! # Options for mounting all filesystems common_opts="noatime,nodiratime" # Options for mounting root's filesystems (/, /home) root_opts="errors=continue,commit=1,data=writeback" # Options for mounting user's filesystems (MyDocs, SD cards, ...) user_opts="noauto,nodev,exec,nosuid" # Options for swap partitions swap_opts="" # Options for different filesystems vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir" ntfs_opts="nls=utf8,uid=29999,umask=0000" # Renerate fstab at boot time in /etc/event.d/rcS-late genfstab="1" # When generating fstab add also swap partitions from SD card (if exists) swap_sd="0" # Call fsck -p for /home at boot time in /etc/event.d/rcS-late home_fsck="1" # Call fsck -p for user's partitions (MyDocs, SD cards, ...) user_fsck="1" # Include overwrite file if [ -f /etc/default/mount-opts-overwrite ]; then . /etc/default/mount-opts-overwrite fi
![]() |
2014-07-16
, 15:21
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#248
|
I'm not sure whether they're equally sized, but their sizes are similar. But one of them is on eMMC, on of them on uSD. And I'd rather it stayed like this
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-07-16
, 15:24
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#249
|
Unfortunately flopswap needs and is designed purposely to use the two linux swap partitions on the card.
It doesn't have anywhere to flop to otherwise
![]() |
2014-07-16
, 15:34
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#250
|
I am pretty happy with FlopSwap now.
Therefore, I have pushed it to testing, please rate. Thanks
http://maemo.org/packages/package_in...lopswap/0.1.9/
Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -
Before posting or starting a thread please try this.