Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 09:37
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Enlarging the pup001 file in XP (NTFS)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
PakRat


Joined: 15 May 2005
Posts: 7
Location: Iowa

PostPosted: Mon 06 Jun 2005, 02:47    Post_subject:  Enlarging the pup001 file in XP (NTFS)  

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,Smile bd

_________________
There are no luggage racks on a Hearse!
Back to top
View user's profile Send_private_message Visit_website YIM 
ICQ 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7100
Location: Perth, Western Australia

PostPosted: Mon 06 Jun 2005, 22:01    Post_subject:  

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.
Back to top
View user's profile Send_private_message Visit_website 
siv
Guest


PostPosted: Sat 02 Jul 2005, 22:59    Post_subject:  

how can i tell if it resized correctly?
Back to top
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sat 02 Jul 2005, 23:27    Post_subject:  

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:
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.
Back to top
View user's profile Send_private_message Visit_website 
siv
Guest


PostPosted: Sun 03 Jul 2005, 18:11    Post_subject:  

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.
Back to top
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11181
Location: Arizona USA

PostPosted: Sun 03 Jul 2005, 21:31    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
menno
Guest


PostPosted: Thu 14 Jul 2005, 15:58    Post_subject: ftp adres  

The ftp adres should be :

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

All puppys are there . Greatings Menno .
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7100
Location: Perth, Western Australia

PostPosted: Thu 14 Jul 2005, 19:11    Post_subject:  

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.
Back to top
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 20 Jul 2005, 01:37    Post_subject:  

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:
mount -t ntfs /dev/hda1 /mnt/home

4. Manually rezise the partition inside the pup001 file:
Code:
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:
df -h
Back to top
View user's profile Send_private_message Visit_website 
siv
Guest


PostPosted: Fri 30 Sep 2005, 14:05    Post_subject:  

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?
Back to top
sivart0

Joined: 30 Sep 2005
Posts: 1

PostPosted: Fri 30 Sep 2005, 14:54    Post_subject:  

nevermind about that, i put in a new pup001 and then resized it and it's working now.
Back to top
View user's profile Send_private_message 
zygo
Guest


PostPosted: Wed 19 Oct 2005, 06:49    Post_subject:  

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.
Back to top
tybris

Joined: 22 Oct 2005
Posts: 16

PostPosted: Tue 01 Nov 2005, 05:42    Post_subject:  

rarsa wrote:
Code:
resize2fs -pf /mnt/home/pup001


this keeps saying something like:

Code:
*** 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)

Edited_time_total
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Tue 01 Nov 2005, 14:25    Post_subject:  

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

Mark
Back to top
View user's profile Send_private_message Visit_website 
edoc


Joined: 07 Aug 2005
Posts: 4451
Location: Southeast Georgia, USA

PostPosted: Tue 01 Nov 2005, 19:42    Post_subject: Re: ftp address  

menno wrote:
The ftp address should be :
http://ftp.nluug.nl/pub/os/Linux/distr/puppylinux/puppy-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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy Carolina 1.3 & Lighthouse64-b602
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0886s ][ Queries: 12 (0.0077s) ][ GZIP on ]