Boot issue after rude shutdown

Using applications, configuring, problems
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#16 Post by Flash »

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: Select all

rm -f /etc/.XLOADED
What does that do? :?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#17 Post by HairyWill »

For further explanation please do a forum search for "xloaded"
I get 48 hits, most of which concern this exact subject..
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#18 Post by Pizzasgood »

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).
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
d4p
Posts: 439
Joined: Tue 13 Mar 2007, 02:30

#19 Post by d4p »

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

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#20 Post by Pizzasgood »

....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/viewto ... 039#121039

I don't know if those exact changes still work in 3.xx, but you get the idea.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
d4p
Posts: 439
Joined: Tue 13 Mar 2007, 02:30

#21 Post by d4p »

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.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

tut tut

#22 Post by ecomoney »

tut tut d4p!!!! That was a "fix" worthy of Micro$oft!!! :roll:

May I suggest the :lol: Smiley for posts like that in the future, made me laugh though.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Post Reply