Page 1 of 1

1.0.4 Resizing pup001 in NTFS: Error : Invalid argument whil

Posted: Wed 20 Jul 2005, 04:25
by Guest
Short story:
I get the following message when rebooting puppy after resizing pup001
Invalid argument while trying to flush /mnt/home/pup001
I downloaded pup001.zip from ibiblio.
Created the extension using fsutil
Appended pup001 and the pupextension
Rebooted

I get the error and the boot process pauses for 60 seconds. When puppy starts I can see that the root fs seems to be the correct size.

Extra information:
I already had a resized pup001 file working OK under 1.0.3.
I first backed it up and restarted with 1.0.4. It updated the menues, removed unregistered files from /usr, etc.
No error, no problem.
I just decided to start fresh and reinstall the packages I really need and copy files from the old pup001.

So: 1.0.4 does not complain when the file has already been resized by 1.0.3.

Is this a bug? am I doing something wrong?

Posted: Wed 20 Jul 2005, 05:01
by rarsa
Sorry, it was me not logged in. :oops:

Actually I meant to say that the /root fs does not seem to be the right size.

In the 'How to: Enlarging the pup001 file in XP (NTFS) siv explains a similar problem and Barry explains that in 1.0.4 you just need to resize in the XP command line (as I did). But it still does not work.

As I said in the previous message: I can use the resized 1.0.3 pup001 file. But I cannot resize a new pup001 file under 1.0.4

Posted: Wed 20 Jul 2005, 05:39
by rarsa
After a quick investigation I found a solution.

From my point of view it seems like a bug in the rc.sysinit script.

The resize2fs command does not like the -F (flush) option.

I am adding the workaround I followed to the corresponding HowTo.