what does grub.conf look like, if it had
Code:
root (??,??) Code:
set root=(??,??) |
Yep it's like so:
Code:
root (hda0,0) |
This should create a grub.cfg and put it in the right location.
Code:
grub-mkconfig -o /mnt/boot/grub/grub.cfg |
Sorry repeating advise.
Since you reinstall with default layout, it is follows: First partition is mounted as /boot Second partition is LVM; It may include more than one LV, but all of them resides on same second partition hidden by LVM. Look on my very first advise, do copy-paste, and be happy |
Ok, so I finally got it working. I decided to re-install CentOS because I had installed 5.9 i386, but because it was 32 bit, it wouldn't let me allocate more than 2GB of memory to my minecraft server, so I downloaded and burned a liveDVD of CentOS 5.9 x86_64 (6.4 gives a blank screen at the gui installer). I installed the new one, but this time, I switched the drive order so that c0d0 was first, and lo and behold there was an option to install grub on the MBR. So I selected it, and everything went fine, grub now automatically loads CentOS. Anyway, if anyone is wondering, I think the issue is that I originally installed grub from the liveDVD, so it's system analysis incorrectly detected the DVD as the main OS, and when that wasn't there at boot, it just went to a grub prompt. Thanks for all the assistance, this seems like a very helpful forum.
|
All times are GMT -5. The time now is 08:47 PM. |