find out what kernel and and initrd with
Quote:
Code:
set root=(hd0,3) Code:
linux /boot/<name of kernel> root=/dev/cciss/c0d0p3 Code:
configfile (hd0,3)/boot/grub/grub.cfg |
It's like this machine is possessed, I went and re-installed the OS and selected "delete partitions and set up default scheme", and it seemed to work. However, when I rebooted , it gave this error:
Code:
"file '/boot/grub/i386-pc/normal.mod' not found" |
Looks like grub didn't install correctly. Try installing grub from install disk again.
|
Ok, so I re-installed grub, but now it's just back to the grub prompt, no default OS. I can boot using the linux, initrd, and boot commands, which I suppose is OK, but since there's only one OS, it should boot CentOS automatically. I looked at the menu.lst file, and everything looks fine; kernel and initrd are specified correctly and the default=0 line is there. At this point it's not a huge issue, as I won't be turning it off very often, but I would like to be able to start right into the OS.
|
Quote:
|
To be honest I'm not completely sure, it's never said grub2, it's always said just grub. However, it's my understanding that legacy used menu.lst, and grub2 uses grub.cfg. Both files are there, so if I had to guess I would say it's the new one with a linked menu.lst for compatibility. But you're the expert, so if I do have grub legacy installed, how would I update it to grub2?
EDIT: I installed grub like so: Code:
mount /dev/cciss/c0d0p1 /mnt When I run Code:
rpm -qa | grep grub Code:
grub-0.97-13.10.e15 |
If your using linux at the grub prompt for your kernel then you are using grub2. Look in your /boot and see if you have a efi directory. If so go down the /boot/efi/??/?? until you find grubx64.efi. Copy /boot/grub/grub.cfg to this directory and see if this fixes the grub menu problem.
|
I think it's grub legacy, it doesn't seem to recognize normal linux commands. The only ones I've used are these:
Code:
ls / |
Quote:
|
Did you try and copy the grub.cfg file to the /boot/efi directory? If it doesn't exist mount your first partition, it shoud be a fat32 partition and then see if you can find the directory with grubx64.efi in it. That is where you want to copy your grub.cfg to.
|
Well, I mounted /dev/cciss/c0d0p1 to /mnt, but still no dice. There's no efi directory, and there's no grubx64.efi anywhere. I'm labeling this thread as solved, because at this point it's a minor annoyance rather than a real issue. Anyway, thanks for all the help, if you have any more ideas about the grub issue please post.
|
I thought we had done this, but anyways download and run bootinfoscript and post the results.
http://bootinfoscript.sourceforge.net/ |
Ok, so here are the results. To my unpracticed eye there seems to be less data here than there should be.
Code:
Boot Info Script 0.61 [1 April 2012] |
You don't have any more info because of mounting problems. However from what I can tell if you have a /boot/grub files also located here
Quote:
Quote:
Code:
set |
Ok, so I mounted /dev/mapper/VolGroup00-LogVol00 and there is a /boot directory, but the boot folder is empty. Also, there is no grub.cfg in /boot/grub of c0d0p1, but there is a grub.conf, which might fulfill the same function.
Code:
set |
All times are GMT -5. The time now is 10:24 PM. |