Alright, so I do something a bit unconventional and use a very large (5 gig) save file. When I used puppy 1.0x I had no problems resizing pup001 from WinXP, then using resize2fs to correct the size after booting into puppy.
With puppy 2.10, I want to resize pup_save.3fs to be the same 5 gig size. I tried the Resize Personal Filesystem utility, it tells me to go back to Windows and do the whole pup + pupextra thing again. The problem is that the new pup_save.3fs did not automatically resize. So how do I force the filesystem to expand to fit the new, larger file size?
Thanks for any help.
Resizing pup_save.3fs
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
There seems to be a bug.
The script is /usr/sbin/resizepfile.sh. This puts up that message about NTFS,
however as NTFS is now writable, that special handling is no longer required.
I've modified the script accordingly.
However, the script normally writes to a file named 'pupsaveresize.txt', that
is read by Puppy at bootup (see /initrd/sbin/init script). This file has the
amount, in kilobytes, by which the pup_save.3fs file is to be increased.
It seems though, in the case of NTFS the resizepfile.sh script doesn't create
that file.
So, perhaps you can do it yourself. If you know how many kilobytes you
increased the pup_save.3fs file by, create a file pupsaveresize.txt in the
same place as pup_save.3fs and put the size-increase into it, then boot Puppy.
I've fixed the script, so it should be okay for 2.11 final.
The script is /usr/sbin/resizepfile.sh. This puts up that message about NTFS,
however as NTFS is now writable, that special handling is no longer required.
I've modified the script accordingly.
However, the script normally writes to a file named 'pupsaveresize.txt', that
is read by Puppy at bootup (see /initrd/sbin/init script). This file has the
amount, in kilobytes, by which the pup_save.3fs file is to be increased.
It seems though, in the case of NTFS the resizepfile.sh script doesn't create
that file.
So, perhaps you can do it yourself. If you know how many kilobytes you
increased the pup_save.3fs file by, create a file pupsaveresize.txt in the
same place as pup_save.3fs and put the size-increase into it, then boot Puppy.
I've fixed the script, so it should be okay for 2.11 final.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Okay, download, uncompress:
# gunzip resizepfile.sh
then copy it to /usr/sbin
However, RMW has already resized the file in XP, so I gave instructions
for that situation in my previous post.
# gunzip resizepfile.sh
then copy it to /usr/sbin
However, RMW has already resized the file in XP, so I gave instructions
for that situation in my previous post.
- Attachments
-
- resizepfile.sh.gz
- (2.57 KiB) Downloaded 474 times
That seems to have worked. Creating the file I mean. Luckily I had the original save file backed up, so I was able to just subtract the old size from the new one to get the increase size for pupsaveresize.txt. Might not be perfect, wasted space and all, but the size should be pretty close.
Thanks for the help.
Thanks for the help.