Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-08-2004, 06:51 PM   #1
LQ Newbie
Registered: Aug 2004
Location: USA
Posts: 2

Rep: Reputation: 0
I'm stuck at a command prompt

I have two hard drives on my computer; linux (fedora 2) and windows XP. I had to re-install and reformat my XP, and now I've lost my linux partition when I boot up. I installed the Fedora CD and at boot I type in
Linux Rescue <Enter>
It then comes up....'Running Annaconda.....rescue mode' . Next.....
Mounting under /mnt/sysimage <Enter> to continue.....
The message comes up now:
'Your system has been mounted under /mnt/sysimage. If you would like to make this your system root chroot/mnt/sysimage, press continue'
The message now is:
'Your system is mounted under the /mnt/sysimage directory. When finished, exit shell and reboot.'
sh-2.05b# _ (a blinking cursor here)
I type in the command prompt......
sh-2.05b# chroot <Enter>
The response after enter is:
Usage: chroot NEWROOT [COMMAND....]
And here is where I'm stuck. No matter what I put in, I can't seem to get any further. I must admit, with considerable embarrasement, that I once started banging on the keyboard and mouse, and something happened, so that I DID reboot to the OS menu for Linux or XP. But I havn't been able to repeat whatever I did. Can someone help me out......
Old 09-08-2004, 07:01 PM   #2
Registered: Aug 2002
Posts: 16,414

Rep: Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936
Enter the following commands to reload grub
chroot /mnt/sysimage

BTW Did you search the website at all?
Old 09-08-2004, 07:02 PM   #3
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30

someone got to it before me


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
stuck in unix cmd prompt ddajango Linux - Newbie 3 10-11-2005 03:24 AM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-09-2005 12:12 AM
Gentoo - stuck at lilo boot prompt brenan99 Linux - Distributions 1 11-29-2004 05:28 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
RH 8.1, computer stuck at GRUB prompt, wont respond Sizam Linux - Software 4 08-25-2003 11:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration