As I shared on this forum last week, I did a bad boo boo when I erased my /boot/ directory without a backup - all of the things I caution other NOT to do. Nevertheless, after trying to put things back in order, today I decided to try a reboot and I get a GRUB prompt.
Next I have put my Linux 4 disk in the CD drive and have selected the "linux repair" mode which has put me into the /mnt/sysimage with the # prompt. That is as far as I have gone since I am in uncharted waters.
Help! It, the linux repair, has found and identified that I have a Linux system...what should I try next?
Todd
On 03/21/2011 07:43 PM, Todd Cary wrote:
As I shared on this forum last week, I did a bad boo boo when I erased my /boot/ directory without a backup - all of the things I caution other NOT to do. Nevertheless, after trying to put things back in order, today I decided to try a reboot and I get a GRUB prompt.
Next I have put my Linux 4 disk in the CD drive and have selected the "linux repair" mode which has put me into the /mnt/sysimage with the # prompt. That is as far as I have gone since I am in uncharted waters.
Help! It, the linux repair, has found and identified that I have a Linux system...what should I try next?
Todd
The grub repair is covered well in this archived email:
http://www.mail-archive.com/scientific-linux-users@listserv.fnal.gov/msg0011...
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
However, I am not sure if hda is correct (no error messages though).
When I reboot, I get the black with the words GRUB
Todd
On 3/21/2011 4:47 PM, Digimer wrote:
On 03/21/2011 07:43 PM, Todd Cary wrote:
As I shared on this forum last week, I did a bad boo boo when I erased my /boot/ directory without a backup - all of the things I caution other NOT to do. Nevertheless, after trying to put things back in order, today I decided to try a reboot and I get a GRUB prompt.
Next I have put my Linux 4 disk in the CD drive and have selected the "linux repair" mode which has put me into the /mnt/sysimage with the # prompt. That is as far as I have gone since I am in uncharted waters.
Help! It, the linux repair, has found and identified that I have a Linux system...what should I try next?
Todd
The grub repair is covered well in this archived email:
http://www.mail-archive.com/scientific-linux-users@listserv.fnal.gov/msg0011...
On 3/21/11 7:13 PM, Todd Cary wrote:
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
However, I am not sure if hda is correct (no error messages though).
I'm pretty sure you said it was /dev/hdc last time around.
On 3/21/2011 5:37 PM, Les Mikesell wrote:
On 3/21/11 7:13 PM, Todd Cary wrote:
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
However, I am not sure if hda is correct (no error messages though).
I'm pretty sure you said it was /dev/hdc last time around.
When I did a
# ls -l /dev
hdc is shown; not hda
*AND* there is an error message along the lines of "Cannot find hda". So here goes....
Todd
P.S. I set my message to be below the quote...only thing is for most messages it needs to be above....
On 3/21/2011 5:37 PM, Les Mikesell wrote:
On 3/21/11 7:13 PM, Todd Cary wrote:
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
However, I am not sure if hda is correct (no error messages though).
I'm pretty sure you said it was /dev/hdc last time around.
Les -
It appears to be up and running THANKS to you and MANY other folks generous with their patience, knowledge and time.
T-H-A-N-K Y-O-U
Todd
On 03/21/2011 08:13 PM, Todd Cary wrote:
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
Read further down, and read the grub man page (from a good system); 'grub-install' is not recommended. I generally go through the manual process, and suggest you do the same.
Take your time, read things carefully. You're messing with a core bit of your server.
Digimer wrote:
On 03/21/2011 08:13 PM, Todd Cary wrote:
How can I determine the device on which the mbr is placed? I tried the following:
# chroot /mnt/sysimage
# grub-install /dev/hda
Read further down, and read the grub man page (from a good system); 'grub-install' is not recommended. I generally go through the manual process, and suggest you do the same.
I don't see any such warning in the grub or grub-install man pages on CentOS-5.5 or Fedora-14.