Pupsave location & sharing Windows swap

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
houndstooth
Posts: 226
Joined: Sun Jul 17, 2022 9:41 am
Location: U.S.A.
Has thanked: 12 times
Been thanked: 17 times

Pupsave location & sharing Windows swap

Post by houndstooth »

Perhaps this is common knowledge not understood through lack of experience:

Q1: If boot details are contained in a pupsave, how does Puppy find a pupsave out of its default location?

I normally have individual pups in 2nd level GRUB2 sub-directories, eg., /mnt/sdc1/xenialpup64-7.5-uefi/[Puppy files]. The pupsaves always go in those directories, working. What happens when they're placed elsewhere by the creation tool upon logout?

This machine has a 3 GB pagefile.sys Windows swap file in C:\. Puppy will never reside there, in next level sub-directories or a different partition.

Q2: Is it possible & safe to use Windows swap for Puppy? If so, how do we specify a different directory from the pupsave?

Puppy Wikka:

...when using a pup_save file, Puppy will use these files for swap on boot if in same directory as the pup_save file : WIN386.SWP, PAGEFILE.SYS, pup.swp and, with Puppy 2.01, pupswap.swp.

forum swap topics:

What is a Swap File?
https://www.forum.puppylinux.com/viewtopic.php?t=3933
https://oldforum.puppylinux.com/viewtopic.php?t=37449
https://oldforum.puppylinux.com/viewtopic.php?t=28503
https://oldforum.puppylinux.com/viewtopic.php?t=65554

User avatar
Flash
Moderator
Posts: 907
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 47 times
Been thanked: 109 times

Re: Pupsave location & sharing Windows swap

Post by Flash »

I think it should be safe for Puppy to use Windows' swap memory, but only if Windows is shut down completely, not hibernating.

Chaos coordinator :?
williwaw
Posts: 1669
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 148 times
Been thanked: 301 times

Re: Pupsave location & sharing Windows swap

Post by williwaw »

What happens when they're placed elsewhere by the creation tool upon logout?

what happened when you tried it?

Specifying psave=<partition> can be quite useful in directing all save layers to a different partition.
e.g. If your puppies reside on an ntfs partition,
then you can get yourself a savefolder by creating a Linux partition on a usb stick or hd,
and then specifying a psave=<the uuid of the Linux partition> boot parameter.
If you forget to plug in the appropriate device, Puppy will simply do a first boot,
no harm done, just insert the appropriate usb device and reboot.

viewtopic.php?t=5484

User avatar
houndstooth
Posts: 226
Joined: Sun Jul 17, 2022 9:41 am
Location: U.S.A.
Has thanked: 12 times
Been thanked: 17 times

Re: Pupsave location & sharing Windows swap

Post by houndstooth »

@williwaw I have never used the boot parameter, will try it, although it seems like swap demands putting pupsaves in the Windows boot directory which is less than ideal.

Post Reply

Return to “Users”