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 Wed 22 Oct 2014, 18:40
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Boot issue after rude shutdown
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
Flash
Official Dog Handler


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

PostPosted: Wed 17 Oct 2007, 13:32    Post subject:  

HairyWill wrote:
ScottD wrote:
>>add pfix=ram in your menu.lst

How would that fix it??

Scott

it won't
adding the following line to /etc/rc.d/rc.local will though
Code:
rm -f /etc/.XLOADED

What does that do? Confused
Back to top
View user's profile Send private message 
HairyWill


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

PostPosted: Wed 17 Oct 2007, 17:34    Post subject:  

For further explanation please do a forum search for "xloaded"
I get 48 hits, most of which concern this exact subject..

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 17 Oct 2007, 19:54    Post subject:  

Quote:
In your case the hard disk is probably not even mounted and writes to the pup_save file are buffered in RAM.

Flash doesn't have a pup_save at all. Writes are directly to the DVD, and only happen when he explicitly tells Puppy to make them. So the only way he'd have a problem is if the power died mid-burn. Just so that's all clear.


Reasoning for Puppy's nagging = not because of bad shutdown, but as a precaution so that if Xwindows is broken to the point where it starts but you can't kill it, rebooting will dump you at the command prompt so you at least have a possibility of fixing it.

So it used to be important. It could be prettied up by changing it to a dialog box, just like I did for 2.15CE and Pizzapup. Easy way to see the changes: Compare the /root/.xinitrc files from 2.15 and 2.14 with tkdiff. I don't think there were many other changes, so they'll stand out pretty well.


Now Puppy supports a "nox" boot option, so perhaps it isn't necessary at all anymore? When booting LiveCD you could add the option during boot. With Frugal or FullHD, you can add it from Grub itself (press the 'e' key and follow it's directions to edit the command). So the only time there would be an issue is if booting from USB or potentially if you use a boot manager other than grub.

I think I've only had one time when I actually needed it. Every time I've ever broken X, it was broken enough that it wouldn't even load. The only time it would load and then immediately lock up was when I was trying to get two video cards and a tv tuner to all work at the same time (never did get it worked out, so I stuck the tuner in the other machine).

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
d4p


Joined: 12 Mar 2007
Posts: 407

PostPosted: Wed 17 Oct 2007, 22:01    Post subject:  

I'm not sure, how you installed puppy on your HD.
Assumed: Puppy normal installation & using Grub
This is what I did & it worked:
-boot your pc from puppy live cd
-mount your hd
-find grub folder
-add to your menu.lst pfix=ram (after that don't forget to save it)

# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal pfix=ram
# Linux bootable partition config ends


-reboot your pc & remove your live cd
-& boot from your hd
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 17 Oct 2007, 22:16    Post subject:  

....That would boot it in ram, without using the pup_save file. So if you don't care about saving anything in the pup_save file, I suppose it would "solve" the problem.

I dug up this post:
http://www.murga-linux.com/puppy/viewtopic.php?p=121039#121039

I don't know if those exact changes still work in 3.xx, but you get the idea.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
d4p


Joined: 12 Mar 2007
Posts: 407

PostPosted: Wed 17 Oct 2007, 22:33    Post subject:  

Hi scott,
as soon as you are able to boot to your desktop, go to your menu.lst & delete pfix=ram.
At next boot you'll be fein.
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Wed 17 Oct 2007, 23:59    Post subject: tut tut  

tut tut d4p!!!! That was a "fix" worthy of Micro$oft!!! Rolling Eyes

May I suggest the Laughing Smiley for posts like that in the future, made me laugh though.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
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.0711s ][ Queries: 11 (0.0136s) ][ GZIP on ]