Enlarging the pup001 file in XP (NTFS)

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
PakRat
Posts: 7
Joined: Sun 15 May 2005, 13:17
Location: Iowa
Contact:

Enlarging the pup001 file in XP (NTFS)

#1 Post 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
There are no luggage racks on a Hearse!
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post 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.
siv

#3 Post by siv »

how can i tell if it resized correctly?
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#4 Post 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.
siv

#5 Post 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.
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#6 Post 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.
menno

ftp adres

#7 Post 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 .
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#8 Post 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.
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#9 Post 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
siv

#10 Post 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?
sivart0
Posts: 1
Joined: Fri 30 Sep 2005, 18:33

#11 Post by sivart0 »

nevermind about that, i put in a new pup001 and then resized it and it's working now.
zygo

#12 Post 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.
tybris
Posts: 16
Joined: Sat 22 Oct 2005, 22:55

#13 Post 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)
Last edited by tybris on Wed 02 Nov 2005, 20:36, edited 1 time in total.
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

I added that to the bugforum:
http://www.murga.org/%7Epuppy/viewtopic.php?t=3350

Mark
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: ftp address

#15 Post 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
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post 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
User avatar
aahhaaa
Posts: 341
Joined: Fri 07 Oct 2005, 03:21
Location: Lower Michigan, North America

#17 Post 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 ? :?
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#19 Post 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
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
User avatar
kelewax
Posts: 41
Joined: Fri 04 Nov 2005, 16:26
Location: Nigeria

Hangs at point of selecting keyboard map

#20 Post by kelewax »

add
PKEYS=us PSLEEP=25

to the menu.lst file
Post Reply