Page 1 of 2

Enlarging the pup001 file in XP (NTFS)

Posted: Mon 06 Jun 2005, 06:47
by PakRat
Following directions
and using version 1.0.1 Puppy I downloaded the iso and pup001 file and followed the directions and easily expanded the pup001 file from 262,144k to 762,144k using a 512000000 command in the instructions instead of the 128000000 recomended. I see no reason why it would not accept other commands , as long as you have enough hard drive space (and patience-- no % scrolls or hourglass). Then delete the .bak and extra files as necessary to save space..after assuring all files are transfered to their proper directories.. As for updating to the next level of Puppy, I have not tried it yet..

If you need step by step instructions :

1. Download the pup001.zip from the puppy-1.0.1 directory at :

ftp.nluug.nl/vol/4/metalab/distributions/puppylinux/puppy-1.0.1

[ things seem to download much faster from my location

using their FTP than using ibibilo's ]

2. Unzip into the XP C: drive

3. Burn the iso from the same sight onto a Fresh CD.

4. Re-boot the pc with the cd in the drive and the bios set to boot from CD / A / C:

5. Setup the system as desired

6. Re-boot without the CD in the drive .. e.g. back to XP

7. Resizing the pup001 filesize in the NTFS formatted drive :
(Check the size by going to Start / Programs / Accessories /
Windows Explorer / My computer / C\:> and look for the
pup001 file....Click - View / Details -)
a> Access the command prompt (e.g. Start / Programs /
Accessories / Curser {there's a reason for the name})
c:\nomatterwhat> cd\
c:> fsutil file createnew pupextra 512000000 {input your
desired expansion size here in bytes}
c:> copy/b pup001 pup001.bak
c:> copy/b pup001+pupextra pup001
c:> exit
8. ShutDown the XP system , I did a cold boot from here.

9. Re-Boot with the Version 1.0.1 Puppy in the CD

10. Start / Utilities / Resize /root filesystem

11. Press the "Continue" button --- Puppy will automatically re-boot

12. Done.. You may wish to repeat the process to add more space
for Puppy Unleashed and or other DotPups or PupGet
Apps..

No credit is due here, I only followed instructions given in the
program and directions within Puppy. I only put it down in
step by step format.. I did this with a virgin XP Pro system
using a 4.2 Gig Hard Drive with 128M ram. I did not even load
the drivers for XP on the system (e.g. audio / vidio / etc...) I
used CD's entirely to do this , not even connected to the Internet
with the PC tested..

You still need the Puppy 1.0.1 Version CD you Burned to boot your system in PuppyLinux. It only saves added applications / files / settings / and expands your capabilities in Puppy while 'scabbing' off the 'TaDa' file system..

I do hope this helps someone , somewhere , sometime . Later,:-) bd

Posted: Tue 07 Jun 2005, 02:01
by BarryK
A warning also.
In another thread, a couple of people have reported Pup 1.0.2 causing the NTFS filesystem to become corrupted -- they were able to fix it by booting Win XP, but that is NOT GOOD.

This is a 2.6 kernel problem.

Pup 1.0.1 uses 2.4 kernel (with a NTFS patch) and Pup 1.0.3 will also use a 2.4 kernel.

So, don't use 1.0.2, either go back to 1.0.1 or wait for 1.0.3.

Posted: Sun 03 Jul 2005, 02:59
by siv
how can i tell if it resized correctly?

Posted: Sun 03 Jul 2005, 03:27
by rarsa
You can see the actual file size from Windows.

If you then start puppy you can type the following in a console terminal (rxvt)

Code: Select all

df -h
You will see a line similar to the following
/dev/loop1 247.9M 142.4M 92.8M 61% /root

The first number is the actual size of /root.
In puppy /root is stored in Pup001
So the size of /root is the size of your Pup001 file.

Posted: Sun 03 Jul 2005, 22:11
by siv
when i goto the resize thing in puppy, then check the size of /root/ it's the same size as it was before i did all of the dos stuff.

Posted: Mon 04 Jul 2005, 01:31
by Flash
Um, this particular thread is specifically about NTFS partitions. If you are doing DOS (FAT32 or FAT16) please start a new thread, to make it easier to find. Thanks.

ftp adres

Posted: Thu 14 Jul 2005, 19:58
by menno
The ftp adres should be :

http://ftp.nluug.nl/pub/os/Linux/distr/ ... ppy-1.0.1/

All puppys are there . Greatings Menno .

Posted: Thu 14 Jul 2005, 23:11
by BarryK
Regarding the howto steps posted above for NTFS, see the News page -- for 13th July I think -- steps 10, 11, 12 will not be needed for Puppy 1.0.4.

That is, just resize the file in XP, then boot Puppy. That's it.

Posted: Wed 20 Jul 2005, 05:37
by rarsa
There seems to be a bug in the rc.sysinit script in Puppy 1.0.4.

Here is what I had to do to successfully resize:

1. Resize the pup001 in XP as indicated in step 7 of the first post in this thread.
2. Start puppy using option 3 and selecting not to save to HD
3. Mount the XP partition. e.g.

Code: Select all

mount -t ntfs /dev/hda1 /mnt/home
4. Manually rezise the partition inside the pup001 file:

Code: Select all

resize2fs -pf /mnt/home/pup001
5. Reboot puppy as regularly. (this time I did not get any error messages)
6. Confirmed the size of /root using de command line:

Code: Select all

df -h

Posted: Fri 30 Sep 2005, 18:05
by siv
ummm major problem with that. i upgraded to 1.0.5 and it enlarged correctly and everything, but i can't get in to puppy when i choose my pup001 file. it brings up login and password. help please?

Posted: Fri 30 Sep 2005, 18:54
by sivart0
nevermind about that, i put in a new pup001 and then resized it and it's working now.

Posted: Wed 19 Oct 2005, 10:49
by zygo
Thanks rarsa. Resizing worked fine on my pc several times with PakRat's instructions only. Then along comes 105 and no more resizing. The 'failed' (in red) to resize error came up at boot time. So I swore.

I had resized 104 so I tried doing this again from the downloaded iso. It was no longer possible. I thought it was ntfs corruption so deleted the puppy files and defragged the disk. No 'failed' error at boot but no actual resizing either. I use xp for very little (now that I have a dvd player) so I rebuilt the disk from the xp recovery/install cd. No change in result.

So the disk had had a new image written to it by norton ghost from the cd (not for the first time) but it still had this error. I swore again. Twice.

Followed your instructions and hey presto. Now I can start to remaster 105.

Posted: Tue 01 Nov 2005, 09:42
by tybris
rarsa wrote:

Code: Select all

resize2fs -pf /mnt/home/pup001
this keeps saying something like:

Code: Select all

*** glibc detected *** double free or corruption (!prev): 0x0805ae78 ***
Aborted
but the errors are fixed on the next boot and everything works fine (and the partition is enlarged)

Posted: Tue 01 Nov 2005, 18:25
by MU
I added that to the bugforum:
http://www.murga.org/%7Epuppy/viewtopic.php?t=3350

Mark

Re: ftp address

Posted: Tue 01 Nov 2005, 23:42
by edoc
menno wrote:The ftp address should be :
http://ftp.nluug.nl/pub/os/Linux/distr/ ... ppy-1.0.1/
All puppys are there . Greetings Menno .
Will this work for 1.0.5 ?

Also, several places refer to the pup001.zip file on the download site but it is not there.

Need it for 1.0.5 to work on a HP Pavilion set up for WinXP (NTFS).

Thanks! doc

Posted: Wed 02 Nov 2005, 01:46
by MU
yes you can take it.
It is an almost empty file, and newer versions of Puppy "convert" it automatically to their needs.

Mark

Posted: Wed 02 Nov 2005, 02:06
by aahhaaa
doc- it seems to be there now! :wink: downloading... says pup001.zip in Firefox downloads window...

... but it shows on the desktop as grub_101.zip ? :?

Posted: Wed 02 Nov 2005, 02:14
by MU

Posted: Fri 18 Nov 2005, 00:24
by edoc
Thanks! Got it.

New challenge: Puppy 1.0.6, same as 1.0.5, locks up when it gets to selecting the keyboard layout. The keyboard is suddenly completely inaccessible (it works fine up to that point).

HP Pavilion ze4600 laptop.

Thanks! doc

Hangs at point of selecting keyboard map

Posted: Sat 19 Nov 2005, 10:09
by kelewax
add
PKEYS=us PSLEEP=25

to the menu.lst file