PostmarketOS - Why swap file not on at boot?
#2
cat /etc/local.d/zram0.start
#!/bin/sh
modprobe zram
echo 2G > /sys/block/zram0/disksize
mkswap /dev/zram0
swapon /dev/zram0 -p 100


my solution

i realize that isnt what you want but you can just as easilly sneak in a /etc/local.d/swap.start script that swapons's your swap or call mount -a which should source fstab and try to mount everything therein why pmos doesnt do that and other distros do i couldnt tell ya
  Reply


Messages In This Thread
RE: PostmarketOS - Why swap file not on at boot? - by user526 - 06-16-2021, 05:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 2,700 11-23-2023, 07:37 AM
Last Post: KC9UDX
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,492 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Emergency Mode Boot Hotkey? jiacovelli 20 7,498 06-02-2023, 01:32 PM
Last Post: wdt
  Missing A Few Programs on PostmarketOS on PB Pro publiclewdness 0 776 03-06-2023, 11:33 PM
Last Post: publiclewdness
  Tow Boot install help Paulie420 7 4,956 11-24-2022, 10:24 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 2,515 10-31-2022, 10:14 AM
Last Post: wdt
  Bootloader: SD card boot quirks crazyquark 1 1,391 10-04-2022, 12:27 PM
Last Post: elitegamercody
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 74 129,619 08-24-2022, 02:06 PM
Last Post: petersen77

Forum Jump:


Users browsing this thread: 1 Guest(s)