Puppy running out of space. How to enlarge NTFS pup001?

Booting, installing, newbie
Post Reply
Message
Author
Guest

Puppy running out of space. How to enlarge NTFS pup001?

#1 Post by Guest »

I have approximatley 12gb of space left on my HD, but puppy reports about 100mb left in /root. I think this has something to do with the fact that I had to download pup001, since it could not create a partition on my NTFS hard drive. Is there any way I can enlarge the amount of space in /root (esentially pup001, or is there another problem?

Thanks in advance.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

Start - Utilities - resize root filesystem will give you an info how to do it on ntfs.
In the past several people encountered, that they can maximize pup001 to a maximum of ~740 MB.
I would suggest to make a backup of pup001 first (simply make a copy in Windows).

If you run out of space after resizing, ask again; there are some advanced tricks to get more space.

Mark

Guest

#3 Post by Guest »

I did what it said in the dialog, and the total pup001 file was resized to 689MB through XP, and everything went fine until I rebooted to Puppy. It went through startup, but hit this snag and had to go through a 60 second pause.
Resizing ext f.s. in mnt/home/pup001 to fill 673M file
resize2fs 1.34 (25-Jul-2005)
resize2fs: Invalid argument while trying to flush /mnt/home/pup001
It then started up puppy normally with all my settings, but the filesystem size remains the same. This happened when I resized to 988mb, which seems to be the maximum. Dunno. Help?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

thats a bug in older puppy-versions.

Which Puppy do you use?

There might be a solution.

Is your pup001 located on C:\, the first harddrive?

Also try:
resize2fs mnt/home/pup001

in a consolewindow.

Guest

#5 Post by Guest »

It is Puppy Llinux 1.0.7. Yes, pup001 is located in the c:\ directory. And do I use that command in Puppy?

Guest

#6 Post by Guest »

Oh, and I got this when I entered that command:
# resize2fs mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
resize2fs: No such file or directory while trying to open mnt/home/pup001
Couldn't find valid filesystem superblock.
#

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#7 Post by Flash »

Anonymous wrote:... do I use that command in Puppy?
Yes, that is a Linux command. Open a rxvt console (or whatever you prefer that's available in Puppy) and enter it. I believe you must first mount the partitions it affects.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

/mnt/home is already mounted.

I had a typo in my command, it must be

resize2fs /mnt/home/pup001

Mark

Guest

#9 Post by Guest »

It had me run some other command, and when resize2fs started, this happened:
Free blocks count wrong for group #4 (7262, counted=7269).
Fix<y>? yes

Free blocks count wrong for group #5 (6178, counted=6185).
Fix<y>? yes

Free blocks count wrong (112343, counted=112357).
Fix<y>? yes


/mnt/home/pup001: ***** FILE SYSTEM WAS MODIFIED *****
/mnt/home/pup001: 2833/65536 files (1.6% non-contiguous), 149787/262144 blocks
#
# resize2fs mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
resize2fs: No such file or directory while trying to open mnt/home/pup001
Couldn't find valid filesystem superblock.
# resize2fs /mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
Resizing the filesystem on /mnt/home/pup001 to 689736 (1k) blocks.
*** glibc detected *** double free or corruption (!prev): 0x0805ae78 ***
Aborted

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

yes, run this command again a second time.
This is a strange, but uncritical bug.

It should disappear after the second run.
Mark

Guest

#11 Post by Guest »

It had me run
# resize2fs /mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
Please run 'e2fsck -f /mnt/home/pup001' first.

#
first, then when I hit yes to all the fixes it asked, and started resize2fs, and it gave me this again. I hit resize2fs again, and then it gave me the bottom "resized" reply. The f.s. size still reads as 96 mb free.
/mnt/home/pup001: ***** FILE SYSTEM WAS MODIFIED *****
/mnt/home/pup001: 2853/65536 files (1.7% non-contiguous), 150442/262144 blocks
# resize2fs /mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
Resizing the filesystem on /mnt/home/pup001 to 689736 (1k) blocks.
*** glibc detected *** double free or corruption (!prev): 0x0805ae78 ***
Aborted
# resize2fs /mnt/home/pup001
resize2fs 1.34 (25-Jul-2003)
The filesystem is already 689736 blocks long. Nothing to do!

PuppyUsr
Posts: 11
Joined: Tue 20 Dec 2005, 17:09

#12 Post by PuppyUsr »

All above "Guest" posts made by me. Forgot the pass, and I just found the activation email.

I recently rebooted puppy, and when I did, it gave me the same error and 60 second pause it gave before, and then it went into some kind of automatic e2fsck, and wiped all the data in pup001. The filesystems size stayed the same. I called the 639M backup, and Im back to where I was before, but the FS is still original size.

PuppyUsr
Posts: 11
Joined: Tue 20 Dec 2005, 17:09

#13 Post by PuppyUsr »

So, can anyone help me out?

User avatar
BlackAdder
Posts: 385
Joined: Sun 22 May 2005, 23:29

#14 Post by BlackAdder »

Have you readhttp://www.murga.org/~puppy/viewtopic.p ... his thread about enlarging pupxxx under NTFS?
Have not tried it myself, but looks as though it should work.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#15 Post by rarsa »

For me it's even better to have a separate pup file for just the data "pupdata"

In Windows:
- Just unzip the pup001.zip file somewhere,
- rename it to pupdata (or whatever name),
- Make it as large as you need by addint the 'pupextra' as explained in the link in the previous post (mine is 1.2 GB)
- Move it to the same folder where the pup001 file is (C:\)
- Boot puppy
- resize the "pupdata" filesystem with

Code: Select all

resize2fs -pf /mnt/home/pupdata
- Create a folder, mount pupdata and delete everything under it (I do this under root)

Code: Select all

cd ~
mkdir /root/data
mount -o loop /mnt/home/pupdata /root/data
cd /root/data
rm fr *
That's it. You have separate file for all your data.

If you want to mount that file at every boot up, just add the mount command to your /etc/rc.d/rc.local file.

PuppyUsr
Posts: 11
Joined: Tue 20 Dec 2005, 17:09

#16 Post by PuppyUsr »

Thanks a buttload guys. I successfuly resized the F.S.. And thanks for the advice rarsa, I'll keep it in mind. Thanks all.

Post Reply