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 Mon 20 May 2013, 13:52
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Shutting down computer from puppy problem
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Author Message
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Fri 02 Mar 2012, 17:01    Post subject:  Shutting down computer from puppy problem
Subject description: Computer will not shutdown from puppy
 

I'm not sure whats happening. When i go to power off computer, computer goes through processes and seems like it will shut down. Then all of the sudden loop back and restart. How do i fix this? I do not want to keep having to hard kill it.
Back to top
View user's profile Send private message 
bones01

Joined: 11 Aug 2008
Posts: 363
Location: Melbourne, Aus

PostPosted: Fri 02 Mar 2012, 17:34    Post subject:
Subject description: more info required
 

I can't help you much, but I'm sure someone can. However, it will help if you include the version of puppy you have, is it a frugal or full install. That sort of stuff matters.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send private message 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Fri 02 Mar 2012, 17:44    Post subject:  

Oh sorry about that. It is a frugal install, but I'm not sure what version it is. I downloaded and installed it yesterday. I just clicked get latest version. I believe it was 5.3 if I remember right.

Is there a command I can enter or a feature that tells you the version?
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Fri 02 Mar 2012, 18:03    Post subject:  

Shutdown not working

Try boot option

acpi=off
or
acpi=force

If you use a boot loader like Grub or Grub4dos.
Edit the menu.lst in a text editor.
Add one of these to the end of the kernel line.
First try acpi=off

Example:
Grub4dos menu entry
find --set-root --ignore-floppies --ignore-cd /puppy528/initrd.gz
kernel /puppy528/vmlinuz psubdir=puppy528 pmedia=atahd pfix=fsck,acpi=off
initrd /puppy528/initrd.gz

If this does not help. Need to know more info.
Frugal install to what? Hard drive, Usb flash or hard drive?
Save file located where?
You used what to install Puppy?


This can also happen with a full install, if you shutdown with the partition mounted, that the full install is on.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Fri 02 Mar 2012, 21:39    Post subject:  

I use grub4dos. I don't see the menu entry file inside the directory. The only file that will actually let me open in an editor just has a bunch of lines saying the same warning about don't change the file size. nothing of substance. The directory location I am looking in is /usr/lib/grub4dos, is this the correct directory i should be looking in?

The frugal install is on my internal hard drive. I have no idea where the save file is being put. The default spot wherever that is. I used an .iso disk i made to install puppy.

Its quite possible the mistake happened with the system being shutdown without unmounting. I'm really not quite sure what that would mean. I see the option to unmount and mount the drives but that is very unfamiliar to me. Also it doesn't look like the option to unmount the drive I am using for puppy is active.

Thanks again for the responses. This is all very differant than what I am used to. I used to think myself as being moderately computer literate. I feel like a dummy.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Fri 02 Mar 2012, 23:29    Post subject:  

Quote:
I see the option to unmount and mount the drives but that is very unfamiliar to me.


Basically "mounted" means that it is activated and capable of being read. To put it in windows-speak, whenever in windows you are about to pull out a usb-stick and you click "eject" first, you are essentially "unmounting" that stick. Its also possible to do the same with any other drive--harddrives and partitions of harddrives included. This is a nice feature, because it basically protects you from accidentally messing with a drive that you don't want to.

Quote:
Also it doesn't look like the option to unmount the drive I am using for puppy is active.


This is normal, and if you think about what I just wrote above, makes perfect sense. The operating system (puppy) is being run from that drive, so normally it stays mounted.

Quote:
I have no idea where the save file is being put. The default spot wherever that is.


Its almost certainly at the top layer (or perhaps in a file near the very top) of the drive you mentioned above. If you click on that drive, you will see that it is labeled
/mnt/home **

Quote:
I use grub4dos. I don't see the menu entry file inside the directory.


I think it is usually in a file labeled "boot" or something similar in the /mnt/home which we just discussed. (I'm not absolutely sure because I don't use grub4dos)

It may be a "hidden file." These can be shown by clicking the little eyeball tab at the top of a window.

Quote:
Thanks again for the responses. This is all very differant than what I am used to. I used to think myself as being moderately computer literate. I feel like a dummy.


Don't feel embarrassed. It takes some getting used to, but starts making sense pretty soon. And one of the things I've come to love about puppy is that the forums are full of people with good attitudes-- none of that high and mighty B.S here. (or only a bit now and then Very Happy )

**note: Sometimes I think of puppy as one of those sets of nesting russian dolls.
-mnt/home holds the outer layer, with big chunks of the operating system (vmlinuz, initrd, lupu-525.sfs (or similar depending on which puppy you are running), and your savefile). It also contains things to make that stuff go, like grub4dos.
-root (~) the little house at the top left of your screen, is like a smaller doll inside. Its actually the innards of your savefile + the otherfiles mixed together.
-There's actually a barrier between root and home. If you try to click on your savefile at mnt/home it won't let you get in because its in use. If you try to go "up" from root, you can only go one layer before you're blocked again. This took me a while to get my head around, but it seems to make sense now.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Sat 03 Mar 2012, 00:47    Post subject:  

If yours is a frugal install.
Mounting is not causing the problem.

The save file is probably on the first partition sda1 in a directory (folder)
Example For Lucid Puppy528:
Directory - /puppy528
Save file - name like lupusave.3fs

A normal install of Grub4dos will put the menu.lst on the top layer of the first partition of the hard drive.
On the lower left desktop you should see drive icons.
Left click on sda1.
This will open Rox Filer the file manager.
Look for menu.lst.
To edit.
Right click on menu.lst file.
Select open as text.
This will open it in a text editor.
Make changes and save.
Reboot computer to use new changes.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Sun 04 Mar 2012, 12:49    Post subject:  

Well I found the menu.lst. It was on sda1. I added both acpi=off and acpi=force to the end of the kernel line after pfix=fsck. Neither worked and the computer continued to come back on instantly after shutdown process. When it comes back on I've notice I no longer have an internet connection and need to force restart the computer.

Now in my menu.lst it seems like I have a few different kernel lines. They look like this:

# menu.lst produced by grub4dosconfig-v1.7.1
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

# Frugal installed Puppy

title Puppy slacko 5.3.1 (sda2)
find --set-root --ignore-floppies --ignore-cd /puppy_slacko_5.3.1.sfs
kernel /vmlinuz pmedia=atahd pfix=fsck,acpi=force
initrd /initrd.gz

title Puppy slacko 5.3.1 (sda2) RAM mode\nBoot up Puppy without pupsave
find --set-root --ignore-floppies --ignore-cd /puppy_slacko_5.3.1.sfs
kernel /vmlinuz pmedia=atahd pfix=ram,fsck
initrd /initrd.gz

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on


I have been adding the acpi=off or force to the end of the sda2 kernel line. Which is what my puppy is installed to. Is this correct? Or do I need to be adding it to a different line? Or all of these lines?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2199
Location: Gatineau (Qc), Canada

PostPosted: Sun 04 Mar 2012, 13:30    Post subject:  

Hello, SkullyRipz.

You'll probably find little comfort in knowing that you're not alone with this problem. http://murga-linux.com/puppy/viewtopic.php?t=76311

I'm only a configuration guy, not a programmer. But I know the following works.
All acpid considerations aside, you may want to type, in a console,

busybox reboot
OR
busybox poweroff

as the case may be, AFTER you've left the original closing and SAVE process bring you back to the desktop.

I hope this will help your Puppy stop running in circles. (Gerbils do that, not Puppies !) Very Happy

Good luck!

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Sun 04 Mar 2012, 14:03    Post subject:  

Busybox poweroff in the console works. Thank you!
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Sun 04 Mar 2012, 15:27    Post subject:  

Quote:
I have been adding the acpi=off or force to the end of the sda2 kernel line. Which is what my puppy is installed to. Is this correct? Or do I need to be adding it to a different line? Or all of these lines?

Yes, you are editing the proper entry.
The second entry "title Puppy slacko 5.3.1 (sda2) RAM mode\nBoot up Puppy without pupsave " is what it says. A way to boot, without using the save file.
Good recovery option, if something happens to the save file.
The Windows entries, are always made, even if Windows is not on computer. Needed if you have Windows installed. If you do not need them, you can edit menu.lst, and remove them.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Sun 04 Mar 2012, 15:56    Post subject:  

SkullyRipz wrote:
Busybox poweroff in the console works. Thank you!

Good that this works, but this is still not normal for Slacko shutdown or reboot.
What are the specs of the computer?

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Mon 05 Mar 2012, 10:47    Post subject:  

It has 1.66gh AMD Athlon XP 2000+ and 768mb of RAM.
Back to top
View user's profile Send private message 
pblum

Joined: 05 Mar 2012
Posts: 1

PostPosted: Mon 05 Mar 2012, 16:32    Post subject: ouooy shutdown problems
Subject description: I have the same problem
 

I'm running an OLD EEEPC netbook. Flash drive with 500 meg set aside for Puppy, no other os on the machine. I installed from a CD I built from the ISO. The "busybox poweroff" works for me. I would like to be able to do a normal shutdown!
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2199
Location: Gatineau (Qc), Canada

PostPosted: Tue 06 Mar 2012, 23:49    Post subject:  

bigpup wrote:
SkullyRipz wrote:
Busybox poweroff in the console works. Thank you!

Good that this works, but this is still not normal for Slacko shutdown or reboot.
What are the specs of the computer?


Hi, bigpup.

You're right. It's not normal... Probably some "slip of the tongue", programming style. I think it happened before, in Puppy 4.11, or thereabouts. Nothing too serious, once you know the solution, just annoying. It'll be better next time.

To pblum and SkullyRipz: the

busybox reboot

trick should work too. at least in the initial black console (the one you get to with Ctrl+Alt+Backspace).

BFN.

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0777s ][ Queries: 13 (0.0046s) ][ GZIP on ]