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 Jul 2019, 16:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy 4.00 won't create pup_save file
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
Irihapeti
Guest


PostPosted: Thu 26 Jun 2008, 06:02    Post subject:  Puppy 4.00 won't create pup_save file  

Just downloaded Puppy 4.00, 2.6.21-7 version. Md5sum checked out ok.

The problem is that it isn't offering to create a pup_save file. It just says "shutting down without saving" or something very similar. What do I need to do in order to get a pup_save file?

Irihapeti
Back to top
vanchutr

Joined: 05 Aug 2006
Posts: 439

PostPosted: Thu 26 Jun 2008, 09:09    Post subject:  

You can take this trick:
Replace the rc.shutdown of Pup 400 by the rc.shutdown Pup 301 (File rcshutdown is in /etc/rc.d)
Then you restart your Pup 400. This time you can save your pup_save.2fs
(If you are hacker you can change some instructions in rc.shutdown)
Good chance!
Back to top
View user's profile Send private message 
playdayz


Joined: 25 Apr 2008
Posts: 3794

PostPosted: Thu 26 Jun 2008, 15:04    Post subject: Did That to Me  

I did that that (or something very similar) to me that other day, but I am pretty sure I brought it on myself. I wanted it to save directly to a partition, rather than to a pup_sav.2fs, and I got careless moving the pup_400 and other files and folders around on two partitions, until I think it was reading a different pup_400.sfs on a different partition than I wanted. Big mess. When I backed up and cleaned everything up, it started behaving. Or, let's say, when I clearly told it what I wanted, then it did it. Wink
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2946
Location: Southampton, UK

PostPosted: Thu 26 Jun 2008, 16:01    Post subject:  

Assuming you want the pupsave on hda1 and that hda1 is mounted
how about
Code:
dd if=/dev/zero of=/mnt/hda1/pup_save.2fs bs=1k count=50000
mke2fs -q -m 0 -F /mnt/hda1/pup_save.2fs
this makes you an empty 50MB pupsave which should be used automatically on your next boot
I am interested in why you didn't get a pupsave made for you. Could you tell us a bit more about your hardware and how you booted it? If you boot with the bootparm
puppy pfix=ram
what do you see in etc/rc.d/PUPSTATE?

The message
Quote:
Shutting down without saving...
should only get displayed if you choose not to save to file or to cd. I can't think what has gone wrong.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 26 Jun 2008, 18:31    Post subject:  

Thanks for your replies.

The pc has a 80 GB hard drive with several partitions:

sda1: Ubuntu 7.10
sda2: Puppy 2.17 (frugal install)
sda4: Puppy 4.00 (frugal)
sda6: Puppy 3.01 (frugal)
There is also a swap partition (sda5) of 1GB.

The computer itself has 512MB of RAM and a 3.04GHz processor; I doubt that this is the problem.

Booting in all cases is from grub in Ubuntu 7.10.

All the Puppies reside in the top directory of their respective partitions and have the same boot command, with only the drive designator being different.
i.e.

Code:
rootnoverify (hd0,x)
kernel /vmlinuz root=/dev/ram0
initrd /initrd.gz


Puppy 2.17 and Puppy 3.01 have behaved like the champions they are.

Now I did wonder if, having tried to upgrade an earlier pup_save and having a second copy of zdriv_400.sfs on sda6, it might have confused Puppy 4.00, so I removed the extra file. Yes, I deleted it - it wasn't hiding in a .Trash folder. I even tried reinstalling Puppy 4.00 from the .iso file. No joy - same problem.

Here is the content of the PUPSTATE file:

Code:
PUPMODE=5
PDEV1=''
DEV1FS=''
PUPSFS='sda4,ext3,/pup_400.sfs'
PUPSAVE=''
PMEDIA=''
SATADRIVES='sda '
#these directories are unionfs layers in /initrd...
SAVE_LAYER=''
PUP_LAYER='/pup_ro2'
#The partition that has the pup_save file is mounted here...
PUP_HOME=''
#(in /initrd) ...note, /mnt/home is a link to it.
#this file has extra kernel drivers and firmware...
ZDRV='sda4,ext3,/zdrv_400.sfs'
PSWAPFILE=''
PSAVEMARK=''


Maybe this will be useful as well, so I've included it. It's from Topview:

Code:
Mem: 213560K used, 171204K free, 0K shrd, 21288K buff, 157100K cached
CPU:   1% usr   0% sys   0% nice  97% idle   0% io   0% irq   0% softirq
Load average: 0.03 0.04 0.01
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 6468  6467 root     S <   147m  39%   1% X :0 -br -nolisten tcp
 6517     1 root     S    15992   4%   0% /usr/local/apps/ROX-Filer/ROX-Filer -p
 6531     1 root     S     9976   3%   0% blinky -bg #DCDAD5
 6522  6486 root     S     9936   3%   0% absvolume -bg #DCDAD5
 6486  6467 root     S     5180   1%   0% jwm
 5921     1 root     S     4496   1%   0% /usr/sbin/cupsd
 6525     1 root     S     3412   1%   0% xload -nolabel -bg #888888 -fg red -hl
 6527     1 root     S     3392   1%   0% freememapplet -p 5
 6190     1 root     S     2720   1%   0% /bin/sh /usr/X11R7/bin/xwin
10969     1 root     S     2640   1%   0% rxvt -font 7x14 -bg #c0c0c0 -fg black
10970 10969 root     R     2316   1%   0% top
 6467  6190 root     S     2224   1%   0% /usr/X11R7/bin/xinit /root/.xinitrc --
 6185     1 root     S N   2208   1%   0% /bin/sh /usr/sbin/savepuppyd
 6197     1 root     S     2052   1%   0% /sbin/getty 38400 tty2
    1     0 root     S     2048   1%   0% init       
 4177     1 root     S     2044   1%   0% klogd
 4175     1 root     S     2044   1%   0% syslogd -m 0
10976  6185 root     S N   1340   0%   0% sleep 4
 1954     6 root     SW<      0   0%   0% [loop0]
    2     1 root     SWN      0   0%   0% [ksoftirqd/0]


I've also tried writing the .iso to DVD at the slowest speed available and booting from that, just using the default option and loading none of the existing pup_save files. That gave me the option of saving. In this case, I saved to the DVD, not the hard drive.

I consider myself a minor-league hacker. I can write simple bash scripts and compile other people's programs (sometimes!), so I don't mind doing the occasional workaround. Still, it would be nice to know why it's acting up.

Might it be that the grub command line needs to be altered? That's the only thing I can think of at the moment.

Irihapeti
Back to top
prit1


Joined: 03 Jan 2008
Posts: 538
Location: Los Angeles

PostPosted: Thu 26 Jun 2008, 18:46    Post subject:  

@Irihapeti:

Does the below grub entry help at all?
Code:

rootnoverify (hd0,x)
kernel (hd0,x)/vmlinuz pmedia=idehd
initrd (hd0,x)/initrd.gz


From your posts above, I believe all the puppy 400 related files - initrd.gz, vmlinuz, pup_400.sfs, zdrv_400.sfs all reside in the root of (hd0,x)

_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 26 Jun 2008, 19:27    Post subject:  

prit1:
Thanks for your prompt reply. Unfortunately, using the command you indicated hasn't made any difference. I even tried the option "pmedia=satahd", since they are sda partitions, and that didn't help either.

As you have gathered, all the Puppy 4.00 files are on sda4 (hd0,3) at root level.

I'm going to try creating an empty pup_save file in the meantime, and see how that works.
Back to top
dm6257

Joined: 27 Jun 2008
Posts: 10
Location: Columbia, MD USA

PostPosted: Thu 03 Jul 2008, 22:35    Post subject: Replacing 4.0 rc.shutdown with 3.01 rc.shutdown
Subject description: An attempt to fix the problem of usb flash drive not creating pup_save file
 

I tried the suggestion of vanchutr and replaced the 4.0 rc.shutdown with the 3.01 rc.shutdown and received a string of error messages but no pup_save request.

Also I am not a good enough hacker to find the glitch in the 4.0 rc.shutdown script that is skipping directly to "session not saved" for my fat32 formatted usb flash drive with syslinux boot.

Thanks for the suggestion though. I will keep my eye out for anyone who fixes this.

dm6257
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 03 Jul 2008, 23:38    Post subject:  

I still haven't managed to solve the problem. I have used the suggestion above to create an empty file and then format it as my workaround. That works on a ext3 partition, but I'm not sure how that goes on an NTFS system.

I notice that there's another thread on this topic. I tried the suggestions there, too, with no result.
Back to top
dm6257

Joined: 27 Jun 2008
Posts: 10
Location: Columbia, MD USA

PostPosted: Fri 04 Jul 2008, 20:15    Post subject: Puppy 4 install not asked to save
Subject description: Pup 4 install on fat32 usb flash drive did not ask to save session
 

I finally got Puppy 4 to save files on my USB flash drive. I first installed Puppy 3.01 which does create a pup_save file on my flash drive. Then I booted the Puppy 4.0 CD which recognized my USB drive with Puppy 3.01 and upgraded it. THe upgraded Puppy 4.0 then used the old pup_save file and saves the session when I quit.
Back to top
View user's profile Send private message 
charnisingh

Joined: 06 Oct 2007
Posts: 138

PostPosted: Fri 04 Jul 2008, 20:52    Post subject: puppy 4-creating save file
Subject description: it wouldnot if
 

Hi Irihapeti ,

puppy 4 would not save if it can see any other save file on some other drive like: D,E, F/pup_save.2fs, so hide other save files if you have one on
your disk at least 3 layers below.

like: D/my documents/downloads/puppy 4/puppy 4-files/pup_save.2fs.

i faced this problem once and the problem was puppy was able to see
my other save file which was only one layer below like:
/D/puppy files/pup_save.2fs.

i hope this will help.

Charni.
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Sat 05 Jul 2008, 02:13    Post subject:  

charnisingh:
That might be the case, as I have goodness knows how many pup_save files on my drive. I'll try your trick sometime.

Thanks

Irihapeti
Back to top
tzi

Joined: 20 May 2007
Posts: 31

PostPosted: Sat 05 Jul 2008, 12:06    Post subject:  

I get exactly the same problem with no savefile being created.
have run 2.14 and 3.01 no worries before, on grub4dos setup on ntfs partition.
I just installed wolfpup 2.00 (puppy4) tonight and it wont create a save file.
I deleted 2.14 and 3.01 files off my computer, but that didnt help

I did manage to fix it with the commands that HairyWill proposed to create a savefile manually (changing the drive location of course)... and then rebooted, and used the resize utility to expand the save file.
All working now, but I still dont know why it didnt work in the first place. Confused
Back to top
View user's profile Send private message 
dm6257

Joined: 27 Jun 2008
Posts: 10
Location: Columbia, MD USA

PostPosted: Sat 05 Jul 2008, 13:33    Post subject:  

I think I discovered the source of my problems with not having a pup_sav e file created.

After I installed Puppy on the flash drive, it ejected the live cd. When I requested shutdown and it asked me if I wanted to create a pup_save file, I assumed it was referring to the live cd session. I should have requested a save file and pointed to the usb flash drive.

My bad.

dm6257
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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