|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Reboot
How do you safely powerdown the server? I am corupting the filesystem by just hitting the power button.
|
#2
|
|||
|
|||
In Linux, you normally use a GUI tool to shutdown, or use a terminal window to issue the "shutdown" command.
But on today's PCs, just tapping the power button should signal Linux to do a graceful shutdown after signaling all processes to exit - and SageTV should do so. Of course, the BIOS has to be setup for this. |
#3
|
||||
|
||||
Quote:
"shutdown -h now" will bring the machine down when typed into a terminal window. "shutdown -r now" will reboot oh don't include the quotes... Last edited by dbfresh23; 02-20-2006 at 01:07 PM. |
#4
|
|||
|
|||
How do you get to the promt from SageTV? I have been using ssh to do it but what if one has no way to ssh to the machine?
|
#5
|
|||
|
|||
ctrl c
Im not using a monitor. ill just log on to the network and do it thanks for your help.
after the system fires up the lan connection then press Ctrl + c will get you to the prompt. i figured out just holding on to the power button for 3 seconds will get you to the prompt also when your in the sage gui. Last edited by riversma; 02-20-2006 at 06:09 PM. |
#6
|
||||
|
||||
reboot and poweroff are other commands that'll work... but I don't get why a system would immediately turn off on a power button tap but act as a tap after holding down the power button for 3 seconds -- it sounds (and I think it is) backwards -- if I tap the power button and x cuts out and if I hold the system will do a dirty power off.
|
#7
|
|||
|
|||
There is currently a bug that prevents shutdown from happening, a simple workaround is to edit the file /root/.xinit and add "shutdown -h now" on the last line. After doing that, simply press power for a fraction of a second and the computer will shutdown cleanly.
_Demo_ |
#8
|
|||
|
|||
Doesn't SageTV honor the Kernel's ATX power supply standard for a BIOS interrupt when you tap the power button - and signal all processes to stop and then it shuts down like Windows XP does? The Linuxes I've had do this. Not related to X windows.
|
#9
|
|||
|
|||
Quote:
Can someone Please tell me where I find this File? on Sage tv OEM dist??? Thanks |
#10
|
||||
|
||||
do ls -a to see hidden files - files that start with a .
|
#11
|
|||
|
|||
Quote:
I was thinking if i add the line "shutdown -h now" to the file /root/.xinit as mentioned above.then possibly the pc would shutdown correctly when pressing the power switch) When I try edit the file xinit I get a blank file..In root dir I typed the following "Nano .xinit" ... I have looked further and found in /etc/xinit.d/ shutdown.sh file... Which I thought maybe would solve the problem... |
#12
|
|||
|
|||
Sorry about that, it should be nano /root/.xinitrc
|
#13
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|