LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 01-30-2010, 08:40 PM   #1
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Rep: Reputation: 15
Exclamation puppy linux boot


puppy linux stops during boot with a #
sucks because i just got it set up nicely.
it did go black when it was sitting on my desk and froze to i shut down an now it have this??????
 
Old 01-30-2010, 09:10 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
type at the # startx, if that don't work try xorgwizard
 
Old 01-30-2010, 09:23 PM   #3
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Puppy linux boot

i heard that there is a script to avoid the bad shut downs.
i wonder if it is good to put in since it is an old lap top and sometime the battery dies or the cord unplugs.
 
Old 02-01-2010, 10:40 AM   #4
Wu2wei
Member
 
Registered: Jan 2010
Posts: 60

Rep: Reputation: 26
You might want to search for your script/solution at this Puppy search engine:
http://wellminded.com/puppy/pupsearch.html

Other approach for an occasional bad shutdown would be to save a copy of your pupsave file (frugal install) to another partition. Then if you do have a shutdown prblem start Puppy from CD with the boot option "puppy pfix=ram". From the running Puppy LiveCD open your Puppy partition and replace the pupsave file with the backup copy. Then start normally without the boot option. This gives you a clean system without any remnants of a bad shutdown.
 
Old 02-02-2010, 02:53 AM   #5
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Question

i found this script but i am not sure how to install it can anybody give more instructions on it???? by the way does it work??? or is the better fix to go to ext3 does puppy run on ext3??? can i convert it???
well i need the script install instructions first.
Quote:
To cope with this in the future (as this is repeatable every time I have a powerloss) I added the following to my /etc/rc.sysini script just after the lineQuote:
ln -s /proc/mounts /etc/mtab
:

Code:
#If we were not shutdown cleanly, try and recover
if [ -f /tmp/RUNNING ];then
echo -n "(Cleaning up after unclean shutdown)" >/dev/console
rm -f /var/log/X*
rm -rf /tmp/*
rm -f /var/lock/LCK*
rm -f /var/run/*.pid
rm -rf /root/tmp 2> /dev/null
rm -rf /root/.thumbnails/* 2> /dev/null
fi

#create a file in tmp that should be deleted on a clean shutdown
echo 'this file is deleted during a clean shutdown' > /tmp/RUNNING


My puppy linux box will now boot after a power loss without me having to boot from CD to fix things.

I was wondering if anyone had a better way of doing this?
I guess for some people it might be worth copying the temp files to another location before deleting them?
 
Old 02-02-2010, 11:31 AM   #6
bobbio
LQ Newbie
 
Registered: Nov 2007
Posts: 16

Rep: Reputation: 1
Quote:
Originally Posted by DarinB View Post
puppy linux stops during boot with a #
sucks because i just got it set up nicely.
it did go black when it was sitting on my desk and froze to i shut down an now it have this??????
I use full installs of Puppy.
If I do a hard power down and get a # during rebooting, I just type...
reboot.

Here is a link to a new full install recovery method:

http://murga-linux.com/puppy/viewtopic.php?t=47668
 
Old 02-02-2010, 09:52 PM   #7
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
i tried adding the lines of code above now i have a mess my x wont start and i got it going on vesa.then i deleted the added code now it is worse i am at my desktop with huge res any way to reinstall the .sys file that i messed up no i did not back it up..LOL
 
Old 02-02-2010, 10:43 PM   #8
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
ok i booted into a live cd and copied over the .sys file from the live cd.
it seems to work. let me know if there is anything else i can do.
thanks
 
Old 02-03-2010, 08:12 AM   #9
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Exclamation

this is getting confusing...I am using ext3 do i still need to clean up after bad shutdown???
what is the simplest way if i do.
the scripts seem to mess things up worse!!!
full install on HD
 
Old 02-04-2010, 09:16 AM   #10
bobbio
LQ Newbie
 
Registered: Nov 2007
Posts: 16

Rep: Reputation: 1
Quote:
Originally Posted by DarinB View Post
this is getting confusing...I am using ext3 do i still need to clean up after bad shutdown???
what is the simplest way if i do.
the scripts seem to mess things up worse!!!
full install on HD
Ext3 is supposed to be better than ext2 for full install.
I'm confused by the "new" recovery method too.
I'll just wait till it comes out in pet form.
 
Old 02-04-2010, 11:11 PM   #11
DarinB
LQ Newbie
 
Registered: Apr 2008
Posts: 21

Original Poster
Rep: Reputation: 15
i am a newbie to pup what is petform??? do you mean on the forums? or does that have to do with .pet applications?
 
Old 02-06-2010, 11:21 AM   #12
bobbio
LQ Newbie
 
Registered: Nov 2007
Posts: 16

Rep: Reputation: 1
Quote:
Originally Posted by DarinB View Post
i am a newbie to pup what is petform??? do you mean on the forums? or does that have to do with .pet applications?
Yes, I meant .pet application.
 
Old 02-11-2010, 07:34 AM   #13
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
when i get the "#" prompt after a bad restart I type:
Code:
# xwin
to get X to start.
--
if i have issues with X starting or it starts in the wrong resolution. i run
Code:
# xorgwizard
from the command prompt.

This runs the X setup wizard that ran when your first install or use puppy on a new machine.
--
As for filesystem maintainance i usually run
Code:
# e2fsck -p /dev/sda1
adjust drive name to match your setup.
from the livecd if the system start to act funny and after power failures or system crashes.

Last edited by xweb; 02-11-2010 at 08:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using lilo to boot Slackware and puppy linux wufo Slackware 4 01-02-2010 05:22 PM
[SOLVED] Puppy Linux 4.2 retro boot problems billolney Puppy 13 09-05-2009 03:26 PM
Puppy Linux Boot Hangs Dr Belka Linux - Newbie 2 07-28-2009 04:19 PM
Puppy Linux Boot Error Chronothread Linux - Software 1 09-11-2007 12:59 AM
Puppy Linux resolution at boot up pbcroberge Linux - Distributions 1 12-29-2005 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration