Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 31 Mar 2020, 22:01
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How do I decrease the size of a save file?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
nathanallen347

Joined: 21 Apr 2013
Posts: 16

PostPosted: Mon 28 Oct 2013, 12:02    Post subject:  How do I decrease the size of a save file?  

I have increased my save file's size quite a bit, I feel I've increased it too much and I don't need it to be that big(11 GB) so how would I decrease the size?
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Mon 28 Oct 2013, 13:04    Post subject:  

How'd you get on with your time thread?
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4427
Location: West Lothian, Scotland, UK

PostPosted: Mon 28 Oct 2013, 16:11    Post subject: Re: How do I decrease the size of a save file?  

nathanallen347 wrote:
...how would I decrease the size?

I'm no Puppy expert, but...
What I'd try to do is...
a. Whilst running the session, with your pupsave file in use...
Remaster the Puppy ISO file...
And make a new/2nd optical disk using that ISO...
Then...
b. Boot some other Puppy optical disk, and move the pupsave for the 1st Puppy to some other location so it cannot be found by the 2nd disk of the 1st Puppy when you boot it.
Then...
c. Boot that 2nd [remastered] disk of the 1st Puppy...
Then reboot it...
[It won't be using a pupsave file, since it won't have found one.]
And at shutdown/reboot MAKE A NEW PUPSAVE FILE of a smaller size that suits your liking. [no more than 1GB?]
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Tue 29 Oct 2013, 02:05    Post subject: Re: How do I decrease the size of a save file?  

nathanallen347 wrote:
I have increased my save file's size quite a bit, I feel I've increased it too much and I don't need it to be that big(11 GB) so how would I decrease the size?


Best will be to first free op space on the save file if you can (uninstall programmes you don't want, try to empty caches of your browser/s) and then do a remaster. The remaster will compress the actual data on the save file and the free space on it will not be included. After the remaster you can discard the old save file (but make sure everything works on the remastered cd first). After this you can use a very small save file ( make a copy for backup) and rather use sfs. add-ons instead of installing new programmes. The sfs files already have the data in compressed form. You can also combine more than one sfs file into one and sfs can be edited. Download and save files to your /mnt/home folder or other partitions and not to root.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3460
Location: The Blue Marble

PostPosted: Tue 29 Oct 2013, 09:34    Post subject:  

Code:
e2fsck -f /path/to/pup_save.3fs
resize2fs /path/to/pup_save.3fs newsize
e2fsck -f /path/to/pup_save.3fs

1. "newsize" can be 500M, 1G, 2G etc.
2. Run e2fsck twice - before and after resize.
3. Do this when your savefile isn't used (ie, boot with pfix=ram)
4. I'm not sure whether recent puppies has "resize2fs", if should but if it doesn't then you can try other methods explained previously by others.

_________________
Fatdog64 forum links: Latest version | Contributed packages | ISO builder
Back to top
View user's profile Send private message 
selvam

Joined: 03 Dec 2013
Posts: 145

PostPosted: Mon 16 Dec 2013, 01:05    Post subject: only can shrink unmounted drives
Subject description: only can shrink unmounted drives
 

The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device.
Iam using a flash usb to run puppy5.2.8
i can not unmount lupusave.2fs what to do
how do i shrink
Selvam
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Mon 16 Dec 2013, 03:59    Post subject: Re: only can shrink unmounted drives
Subject description: only can shrink unmounted drives
 

selvam wrote:
The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device.
Iam using a flash usb to run puppy5.2.8
i can not unmount lupusave.2fs what to do
how do i shrink
Selvam

Create a fake save file eg. lupusave-1.2fs in the same directory as your save file (right-click in the directory of your save file and select new > blank file, rename it to lupusave-1.2fs). Reboot and you will get a screen to choose the save file to boot. Select 0 so no save file will boot. You will now be able to work with your big, unmounted save file. I've never used resize2fs but the command is given by jamesbond in the post just above (just use the correct name of your save file). After resizing, delete the fake save file you created and reboot (choose not to create a save file at prompt).
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 13045
Location: Stratford, Ontario

PostPosted: Mon 16 Dec 2013, 17:23    Post subject:  

@selvam: You never replied to your request for help here. It is polite to do so before posting new messages.
Back to top
View user's profile Send private message 
selvam

Joined: 03 Dec 2013
Posts: 145

PostPosted: Mon 16 Dec 2013, 23:58    Post subject: thank you rcrsn51  

thank you rcrsn51 for your help
I copied lupusave.2fs to harddisk
resized it
copied it back and now it is working perfectly
I completed the task now only
so i could not thank you immediately
your post was of immense help
i appreciate your help
Regards
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0549s ][ Queries: 12 (0.0062s) ][ GZIP on ]