I have a Samsung N135 notebook which boots well from USB. When I travel, I am afraid to damage the disk due to shocks. When I boot from USB and dismounts the build-in disk are the heads parked away from the platters? Is the disk not spinning at all? Is there a command to force power off of the disk!
The following script should make screen blanking work without disabling gnome-power-manager code...
This script can also be called from a panel launcher (with ./<scriptname> if it is in $HOME). It will not disable the power manager even though the process disappears from the system monitor. The "if" condition is necessary because SIGHUP will return an error if the process doesn't exist.
If you want a bash command, add this to $HOME/.bashrc:
# The following cannot be implemented as an alias # and it cannot be called from a launcher, more's the pity dark () code...
Since updating to C5.7 (64bit) when I go to burn an ISO it is not recognizing the blank disk and I have to use the force option(k3b). In 5.6 it worked fine. This is the same box of disks(and everything else) I was using before the update. The disks seem to burn fine (verify ok). It is just a PITA to have to hit the force button every time.
I have noticed that a CD or DVD wont mount in Ubuntu 10.04 but always mounts on a reboot. /media is empty.Could this maybe a hardware issue rather that a fault with Ubuntu? My PC is used almost every day and is 4 years old. Is there a command to force mount a CD or DVD?
I have the suspicion that the latest gdm update (2.28.1-0ubuntu2.2) broke something because the login screen isn't displayed anymore on my desktop. My question is the following:How can I revert an update or force a package version via command line? It's pretty straight forward via Synaptic but I only have access to the recovery command line so that is not really an option.
While using my computer the other day (I was sending an email) it suddenly turned off. I didn't get any low power warning, but I was running on battery and had my iphone charging from a USB port.
As I didn't think there was low battery, I just turned it back on again. As it was booting I saw the battery light flashing, indicating low power. I went to get the charger, but before I got it, mid boot-up it turned off again.
This seemingly damaged something hard-disk-wise.
Upon turning it on again it dropped into busy box with some message similar to this:
Quote:
No init fount. Try passing init= bootarg.
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built in shell (ash) Enter 'help' for a list of build in commands
(initramfs)
That's not the actual message (copy pasted from another post) but the message is VERY similar to that.
If I "exit" busy box, I get a load of message about "kernel panic" before it freezes up.
I have booted a live USB (what I am using now). I thought since it wasn't cleanly unmounted, simply mounting and unmounting would do the trick. I was wrong.
Code: ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
I had previously ran e2fsck (after checking it was unmounted) but it wouldn't run also because it was reporting that the device was already mounted, busy, or being exclusively used by a process.
I don't want to do any more for fear of causing further damage.
I am astounded that such damage can be caused so easily!
I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.
here is the problem I am facing. My system [ fedora 11 with all updates installed as of nov 27] suffered a power interuption.[ well that happens I dont have an UPS] here is what happen then
1- when i restarted i get stuck with the "install problem with gnome power manager" that prevent the desktop to launch. I found this to be well documented and I ssh'd [ for some reason cannot get the consol] my system and tried as root to remove gnome-power manager with yum remove power manager ... well the command hang out doing nothing and I have to close the session and reconnect... CTRL C dont even work.
So I had another problem. I started checking my system and when I tried df, I received the shocking following answer
My system does not power off completely after I trigger the "suspend to disk" function. The monitor gets blank and the usb-mouse does not light anymore, but the power led is still on and the pc fans can be heared. Interestingly, neither pressing the power button nor the reset button starts the pc in this state. I have to unplug the electrical power and then press the power button. After that, the system resumes nicely from the hibernation state as it should. I know that the hardware itself is capable of powering off because it worked perfectly before with opensuse 10.2, and I didn't change any bios settings either. I tried the option acpi=force, but to no avail.
I run Ubuntu Netbook 10.04 on my EeePC 1005HA. I'm going to get a SSD for it eventually, but I can't afford one right now so it's running from a 200GB hard disk I scavenged off a dead laptop.
I went in power management and set the option that says "spin down hard drives whenever possible", but this accomplished a whole lot of nothing - whenever the computer is on, the drive's spinning. I ran hdparm -y and the drive clicked off, and then promptly spun back up after a few seconds. Iotop shows occasional tiny bursts of activity from "jdb2/sda1-8", which I don't really know how to interpret, but I don't have anything weird installed so I'm assuming this is normal system operation.
Now, what I need is some sort of application, utility, command - anything - that forces the computer to keep all filesystem changes in RAM with the drive shut down; every five/ten minutes or so (this would hopefully be configurable) it spins up the drive, dumps the filesystem changes to it, and spins it down again.
I realize this presents data loss risks related to crashing and poweroffs when the cache hasn't been dumped to disk, but I'm willing to risk it as Linux never really crashes at all, and since it's a netbook power failures won't cause unexpected shutdowns.
Im trying to find out if my computer is whats got my power bill so high. Im not sure it is, but Id like to know if there is a shell command to monitor my power use.
pt@pt-laptop:~$ gnome-power-cmd gnome-power-cmd: command not found pt@pt-laptop:~$ gnome-power-cmd gnome-power-cmd: command not found pt@pt-laptop:~$ gnome-power-cmd shutdown gnome-power-cmd: command not found
I am trying to figure out where the harddisk power management can be found in Squeeze. Before it was in the scripts under /etc/acpi, but in Squeeze it's not. I'd like to be able to change the hdparm -B value from 128 to 200 when using battery.
Is there any way to allow normal fsck boot-time checks when running on battery power? After looking around, the only solution I've seen is to manually alter the /etc/init.d/checkfs.sh and /etc/init.d/checkroot.sh files and remove the AC power check. There must be a better way than that surely?
technically, this is UNR with lxde installed after extended UNR use. i like being able to hit my power button in gnome, and getting a message asking what you want to do, or cancel if needed. well, in lxde, the shutdown button brings up a similar message. could i map the power button to show that popup in lxde?
I'm having problem in installing debian 7.5.0 on Dell Power Edge R 470 1U Rack Server ( Not Sure If am using RAID 1 ) whereby the hard drive is not detected. This server is running 2 Proc/2x1.2 SAS HDD . The installation went ok until i reached into partition section whereby the drives is not there to be selected , throwing an error " No disk drive detected , Driver needed fro your disk drive "
I've tried to use debian-7.8.0-amd64-DVD-1.iso
My server details: Dell Power Edge R 470 32GB RAM 2 x 1.2 TB SAS HDD
My laptop has a dead battery. Even when it's fully charged, if the power cable is pulled out it only lasts for about 4 minutes before it dies. I'm running Ubuntu Lucid Lynx 32-Bit. What I want to do is create some sort of script or program that will immediately set my computer to go into hibernation once it detects that the power cable has gone dead. I'm willing to look into all ways of doing this. I can program in C, but I'm not familiar with the API used to manage Power Management in Linux.
Is there a command to turn off my Broadcom wireless card to save power. In Apple, the have an Airport off listing under the airport menu, Is there something for Fedora?
I am using Ubuntu 10.04 64-bit and I purchased a new ALFA AWUS036H wireless card. I would like to know if this "1Watt" wireless card is configured for full power. iwlist wlan0 txpower results:
wlan0 unknown transmit-power information. Current Tx-Power=27 dBm (501 mW). It appears to me that I should be able to increase the power. "iwpriv wlan0 highpower 1" does not work. Do I need to patch the new default driver that comes with Ubuntu 10.04 64-bit with the aircrack one following these directions:[URL]...? Monitor mode and a injection tests seem to work fine with the driver I have installed.
I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running. If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again. The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).
I'm looking for any power monitoring devices for Linux to allow monitoring power quality, voltage changes, and outages. This would be for North American three phase power system. I want to have this data fed live to my own program. It should be something much better than just jury-rigging a circuit to fee the power waveform into 2 or 3 audio cards.
On the last release, I had this app installed where I could pick my power profile. I could use power conservatively, and performance would suffer a bit, but longer batt life,or I could have it automatically detect, or I could have the apps use all the power they want and then some. I'm looking to reinstall that app. What was the name of it?I can't remember, and so far, can't find.
I had unplugged my PC last night as sometimes there's storms at night this morning I plugged in PC and the power light is blinking and the PC wont come on at all tried different power cord, same result
PC is a AMD athlon64 3300+ 2.4ghz SiS graphics
probably the power-supply or what?
If it is the power supply, how do I find new one as I've never had to replace anything on it or any other PC?
Also, I really need access to the hard drive but it's a weird hard drive and was wondering if I could put that hard drive in my K7 PC, which already has 2 drives in it can a pc have 3 drives? do I have to add/have another ribbon cable for 3rd drive?