General :: Eject Cdrom And Shutdown Computer?
Feb 12, 2011When using a live distribution, I can exit the system with the following command
Code:
shutdown -h now
This however does not eject the cdrom
[code]....
When using a live distribution, I can exit the system with the following command
Code:
shutdown -h now
This however does not eject the cdrom
[code]....
Is there some file I can alter on the Live CD image that will make Ubuntu not automatically eject the drive tray when I shut down from a live CD session?
[URL]
/etc/rc0.d/S89casper is a link though, so I just edited the file it points to (/etc/init.d/casper) -- seems to be working. I merge a modified "casper" at every boot, next time I build a Remastersys, I'll try to make it permanent.
I am sitting in front of a suse server computer and i have to install php-mysql package in this server.When i am doing that through yast it is asking for the cd of suse.I have that cd but i cannot connect the cdrom to that server.The cdrom is connected to another PC which i can also access.Is there anyway to install that package using the cdrom connected to other PC.
View 1 Replies View RelatedRecently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.
[Code]....
Right clicking on the desktop CD icon eventually ejects it. But it still can't be ejected using the button.
View 6 Replies View RelatedSimple question: what parameters can be used to shutdown a computer running Linux/OSX in 30 seconds? I've always run Windows, where I would go shutdown -s -t 30 but the parameters are different. I've looked it up here but it will only let you shut a computer down at a specific time (like 8:00) rather than in a specific amount of seconds.
View 4 Replies View RelatedThis has been bothering me for years now...when I go to remove a thumb drive from my computer, I have two options when I right click the device eject and safely remove. What on earth is the difference supposed to be?
View 3 Replies View RelatedI have been trying plop floppy to boot a bootable cdrom from a mobile USB cdrom reader, but the usb cdrom are not recognized.I was thinking that with grub or grub2 or syslinux that would be possible, no ?
View 13 Replies View RelatedI am using latest kde version in latest opensuse. I am working with distro one and a half year now (of course I was doing updates all this period) The last twenty dates if I have a quite heavy session I can not log off (or shutdown the computer) I even tried from konsole qdbus org.kde.ksmserver /KSMServer logout 0 0 0
even that did not work (well right now I can not launch any new apps from kde, but I still work with the already running).
Sometimes when I shutdown Ubuntu 10.10 and try to turn on the desktop PC it fails. I then have to disconnect tower from the power source and plug it in after waiting a few minutes. This problem first started in Ubuntu 9.10. I have a hunch that it happens because I am shutting down with applications open.
I was told that this is a batter issue on my motherboard, but I've replaced it and still have issues.
i dont know how to install yahoo messenger in ubuntu
how to shutdown computer from terminal
I have a computer with Fedora 12 installed on it. Previous I had Fedora 8. After shutting down the Fedora 8 it also switched off the computer. With the new Fedora 12 it get stuck on telling me the system has halted. I have to switch off the computer manually. How do I get the Fedora 12 to also switch off the computer?
View 10 Replies View Relatedrecently I installed opensuse 11.4 in my Dell optiplex 790 desktop. everything works well. however, when I tried to restart or shutdown my computer . the computer logoff and then "freeze" at opensuse window. I have to turn off the power button forcely and turn on the computer again.
My computer configuration:
DELL Optiplex 790
Intel i5 3.1G with HD intel graphic card
Bios revision A05
Memory 8G
My ubuntu won't shut down, it stops at the ubuntu logo (with the dots under it). It seems like the OS completely and successfully shuts down, also the harddrive spins down too, except for the computer. I belive this might have happened after I updated my bios. (due to hybrid gpu trouble)I did search on the internet, and found that it might be some ACPI related issues, and that I have to edit the grub's menu.lst file and add acpi=force.However my menu.lst file is blank, there is nothing in there.
I have tried to shutdown via the terminal too, but the same happens there. Last time I checked it successfully reboots, and standby works correctly. For me to shutdown this laptop, I have to remove the battery and the power cord for it to shutdown, or hold the power button for 10 secs, which is really annoing
just recently I upgraded from 9.10 to 10.04. Now whenever I shut down computer gets stuck after umounting disks etc, so I have to shut down using power button, similar to this error[URL]
View 2 Replies View Relatedso i just bought a new Sony Vaio laptop and things are seeming to run great. However, there is one issue: when i go to restart or shutdown the computer, the graphical interface goes away like it should, it goes to CLI and does it's shutdown routine....the problem occurs about 2 seconds into the routine, when it just stops. it doesnt shutdown or restart, but stays in the CLI with a blinking cursor. if i allow it to set for a couple of minutes, a message pops up that says something like this, "BUG: soft lock up CPU0 CPU1 stuck, blah blah". any ideas on what this is or what is causing this? the laptop has the i5 processor in it, just in case that matters
View 6 Replies View RelatedI'm running Ubuntu 10.04, and ever since last upgrade a couple of days ago (I think), everytime I hit shutdown on the gnome-panel (admittedly, I haven't tried the command line shutdown) the computer restarts itself. This computer is dual-booted with Win 7, and the shutdown command there properly halts the system.
View 3 Replies View RelatedThis isn't stricly an Ubuntu question, but it is in the cause of an Ubuntu-powered home server Essentially: does wake-on-lan work if the computer is Shut Down (ie to all intents and purposes 'off' except for the hardware switch on the back), assuming that the motherboard and network interface (which in my case are one and the same) support wake-on-lan?
Also, if wake-on-lan is turned on, will this mean power going to anything other than the network interface (e.g. will PSU, CPU, case fans still be on?)Finally, will all of this work on Ubuntu 10.10 (assuming that the computer components are compatible)?
EDIT: Just to be clear, the Ubuntu system will be receiving the wake-on-lan 'call' (from a Squeezebox, though from my very limited knowledge of this stuff I don't think the source matters)
My laptop randomly shuts off, at first I thought it was an issue with the laptop overheating but during the install of 11.04 I made sure the laptop had a fan blowing on it constantly and checked it and determined it couldn't have overheated. My problem now is that I was able to use a live cd to access my old files but was presented with only two files stating that my files were encrypted, I'm don't ever recall encrypting my files and so I'm without a passphrase.
What I'm wondering, is there a way to gain access without the passphrase? Or is there a way to fix the corrupt install?
I used to like having that Red Shutdown Button on the top panel in the far right corner next to my name on older Ubuntu versions. It was easy to add with the 'Add to Panel' right-click feature that Unity eliminated. Is there a way to put that Red Shutdown button back on the far right top? IMHO it works better than the present Unity shutdown button.
View 4 Replies View RelatedI'm looking for a program or script that will automatically shut down my computer at specified times. The thing is, if I happen to be using the computer at those times, I want it to ask me if I want to shut down before it does it.
Something like I want the computer to shut down at 9 am every day. When it's 9am, a prompt pops up and says, "Do you want to shut down or continue running? If you do not answer, the computer will automatically shut down in 10 seconds." Not sure if something like this is out there or not.
This OS is has been cloned from the drive of another computer. The motherboard is now an SIS730. I assume the hardware is sufficiently different to prevent the OS from shutting down the computer.How do I fix this? ---without installing, if possible.
View 2 Replies View RelatedI am on opensuse 11.2 and sometimes when I shutdown the computer, It make a noise like "bzzz" but different than error beep. I think maybe there is a problem withe the automatic detection at the boot, but I really don't know alsa configuration or udev rules very well.
Code:
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfc400000 irq 22
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xcfeec000 irq 17
Code:
$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc RV710/730
just ran the obligatory kernel update for Karmic 9.10 and now my computer doesn't shut down when prompted to do so. It tries...goes through the logoff, makes all the motions and then hangs at the very end.
Reinstalled Ubuntu...same thing after kernel update.
I have an 80GB HDD where I installed Windows XP first and then Ubuntu. The thing is that whenever I shut down my computer and then turn it back on (wether it's right away or a few hours later, or the next day), I get the GRUB screen where you have to choose Ubuntu, but after that just a completely black screen. I then have to force a shutdown, then turn it back on, and it works. Whenever I restart it works too, this seems to happen only after a shutdown.
Specs:
Dell Dimension 4600
P4 2.8 GHz procesor
2GB RAM
ATI Radeon x1650 video card
80GB HDD
Is in Ubuntu option, that can shutdown computer after time or at defined time? I think: I have turned on my computer and I will need to automatically shutdown computer after 4 hours or at 21.00 pm. Is there option, if computer can automatically turn on at defined time?
View 9 Replies View RelatedI installed it via Wubi it did well, but when it told me to restart, I did, after restarting I booted Ubuntu Netbook, then it said "Installation.iso not found. This usually happens when your computer does not shutdown correctly, shutdown without unmounting/removing usb. Please run the chkdsk /r" I already ran that many times nothing happens. I have Windows XP Pro 32bit.
View 1 Replies View RelatedI was playing with the Gnome-shell and my gui crashed. I was stuck in full-screen Terminal (i.e., Ctrl Alt F2) but I could not figure out how to shutdown/restart the computer.Anybody know if there's a command for this that works from within Terminal?
View 8 Replies View RelatedI have a Genius K627 Keyboard with Power, Sleep and Wake buttons. ACPI is unsupported on my computer, but it can turn off its power supply when the system halts (PM is ok). I would like to bind the Power key on the keyboard to execute the /sbin/halt command. What I already know is that I can specify an event in inittab (kbrequest) that would execute a command. What I don't know how I can make my system receive pressing Power button as a kbrequest. The scancodes of Power button on the keyboard (by showkey): 0x74 0xf4
This is the line I was talking about in my inittab:
Code:
ce:12345:kbrequest:/sbin/halt
I think I should edit /etc/console/boottime.kmap.gz but don't know how I could insert this scancode into it.
I install Opensuse 11.4 on KDE environment then I changed to XFCE. I don't know how to configure for computer auto shutdown after a period of time don't use it.
View 6 Replies View Related