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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2005, 06:00 PM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 2
Rep:
|
stuck in unix cmd prompt
Hi everyone,
I have a windows xp laptop that was accidentally started up with a linux (power cinema) cd in it. The computer asked if I wanted to run set up and I hit no, it then said 'hit return to activate this console', which I did. I now appear to be in a Unix cmd prompt. typing 'help' showed me some command options (break, cd .. return .. unset. etc). I've never worked in unix before and i can't get the computer out of it. I've tried typing exit, but it has no effect. The cd wont eject either (i've tried 'eject', 'eject cd' some similar combinations, and manual ejection). If I turn the computer off and then back on, the screen is exactly where I left off. I know windows is an inferior system and all but its not my computer and someone needs to be working on it.
I'm really in a tight spot and any help/advice anyone could give me would be greatly appreciated.
-thanks in advance
-ddajango
|
|
|
10-10-2005, 06:27 PM
|
#2
|
LQ Newbie
Registered: Oct 2005
Location: Europe
Distribution: Fedora Core 4
Posts: 20
Rep:
|
If the screen is at the same spot after you turn off and then on again, that's a hint that your computer is not actually turning off at all. It might go to standby instead.
Try typing "shutdown -r now" (without the quotes) and press enter. This should restart the computer. Be sure to remove the cd from the cdrom drive (if you haven't already done so) before your computer boots again.
|
|
|
10-10-2005, 06:31 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
It sounds like this is a live distro that is running from the CD. That means that since you haven't installed anything, you can simply turn off the computer. Or just in case, use the command '/sbin/shutdown -h now'.
If this command shuts down the computer, eject the disk just after powering it back up, so that it doesn't boot up to CD again.
Another way to reboot is to hit the "ctrl-alt-delete" keys at the same time.
The command to eject a cd, depends on what the device is or where it is mounted. Most likely, it is the second ide device and the command 'eject /dev/hdd' would work.
Hopefully, one of these will work for you.
|
|
|
10-11-2005, 02:24 AM
|
#4
|
LQ Newbie
Registered: Oct 2005
Posts: 2
Original Poster
Rep:
|
Thanks very much to both of you. I tried all of the commands but none of them worked. I finally removed the battery and power source to shut the computer down for real. I was then able to eject the CD as the computer was rebooting. It started up normally in XP after that.
much appreciated init100 and jschiwal!
|
|
|
All times are GMT -5. The time now is 06:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|