LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-10-2005, 07:00 PM   #1
ddajango
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 10-10-2005, 07:27 PM   #2
init100
LQ Newbie
 
Registered: Oct 2005
Location: Europe
Distribution: Fedora Core 4
Posts: 20

Rep: Reputation: 0
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.
 
Old 10-10-2005, 07:31 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.
 
Old 10-11-2005, 03:24 AM   #4
ddajango
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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!
 
  


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
Build 'n Debug a C/C++ KDevlop cmd prompt project SCOSWriter Linux - Software 2 12-10-2004 11:07 AM
Gentoo - stuck at lilo boot prompt brenan99 Linux - Distributions 1 11-29-2004 05:28 PM
I'm stuck at a command prompt logiplex Linux - Software 2 09-08-2004 07:02 PM
RH 8.1, computer stuck at GRUB prompt, wont respond Sizam Linux - Software 4 08-25-2003 11:27 PM
free quote @ cmd prompt rickenbacherus Linux - General 7 03-07-2003 12:01 AM


All times are GMT -5. The time now is 06:03 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration