LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2011, 02:58 PM   #1
Jetpenguin
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Exclamation Ungraceful shutdown of Linux kernel


This is what I want to know: If I run Ubuntu (say, 10.04) live from, say, a 4 Gigabyte usb stick (the mach I want to do it on have 3 gig ram), IF IT FREEZE LIKE IT HAS KEPT DOING WHILE INSTALLED TO Harddrive, and I have to shut it down by holding-down the on/off power-switch with my finger, would I have a way then to avoid the issues of damage to my computer's hardware? I do not care about some $24 memory stick. But I have 600 USD invested in my new laptop here. I am gonna probably wipe lucid lynx from its hdd partition, because it keeps freezing, and I have tried to shut down gracefully each time, with alt+sysrq+reisub, and many other commands. But I always end up, after minutes or an hour of searching for other commands on my old junker, back to shutting-down my new computer from power switch. My new mach. in question is a Toshiba satellite manufactured in 2010, Intel Pentium, 3 gig ram. Any intelligent answer to my query greatly appreciated. Thanks.
 
Old 03-05-2011, 04:42 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You don't have to worry about damaging hardware when you force the machine to turn off. The hardware can't tell the difference between a graceful shutdown and pulling the power cord. The potential for damage is with the file system structure. It is possible for data to be corrupted when the computer's power is interrupted with the operating system running. That data could be in the inodes which could result in files being lost or file contents being corrupted.

I think it is more interesting to consider how you could be experiencing this problem on two different machines. You should try to think about how your actions, whatever they may be, are causing the software to become unresponsive. Then you should consider not doing that any more.
 
Old 03-09-2011, 12:38 AM   #3
Jetpenguin
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Cool Ungraceful shutdown of Linux kernel

Thank You so much for replying, Stress Junkie. I revere your experience and advice. I do not experience the freeze-up problem on my old junker, which only have karmic koala ('tu 9.10) on it. I had karmic running in the partition on my good/new computer too, and had no freeze problems. But I wanted an up-to-date distro. So I upgraded to Lucid. I immediately noticed it worked quicker, and the almost unhearable, weak audio it had given magically changed to wonderfully voluble sound. I was pleased. But after a few days, "Claire" (my pet name for my nice new machine) would occasionally freeze. No mouse or keyboard response, no graceful shutdown with "magic keys"/REISUB. Though I tried for sometime, every time it happened. (It has been about 4 times now. That's why I'm typing this from Windoze partition. I respect your experience. Still, I feel I want to search for a more elegant solution, at least for awhile. I guess I'm a "hung-up" personality. I just sort-of chafe at "make-do". And so many ppl online have practically SCREAMED at me for shutting-down Claire by holding-down the power button. I gonna play for time for awhile, I guess. I have posted this ? on other boards, too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where I can locate Shutdown log for Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE) msmallya Linux - General 2 04-23-2010 02:56 AM
Flushing Linux kernel routing table - server got shutdown shreeman Linux - Kernel 1 07-13-2009 06:51 AM
My Linux box does not shutdown i do when i do /sbin/shutdown -h now yawe_frek Linux - Hardware 6 09-14-2007 08:48 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
New kernel but shutdown problem boltar Linux - General 3 07-19-2001 10:51 PM


All times are GMT -5. The time now is 06:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration