LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2004, 05:51 PM   #1
logiplex
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'
<OK>
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......
Thanks.......
 
Old 09-08-2004, 06:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,534

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
Enter the following commands to reload grub
chroot /mnt/sysimage
grub-install

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

Rep: Reputation: 30


someone got to it before me
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stuck in unix cmd prompt ddajango Linux - Newbie 3 10-11-2005 02:24 AM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-08-2005 11:12 PM
Gentoo - stuck at lilo boot prompt brenan99 Linux - Distributions 1 11-29-2004 04:28 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
RH 8.1, computer stuck at GRUB prompt, wont respond Sizam Linux - Software 4 08-25-2003 10:27 PM


All times are GMT -5. The time now is 01:23 AM.

Main Menu
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