chain load failure using CentOS 6.3 grub
Just to report a problem thatI manage to avoid when I put Linux Mint 14 and CentOS 6.4
on my new Lenovo Y480 computer.
On /dev/sda1 I installed a base OS CentOS 6.3 system. I edit
/dev/sda1/boot/grub/grub.conf to either boot directly other new linux distros or
to chainload a new OS on other partitions.
Usually chainload always work on my other old computer.
On my new Lenovo computer,
I installed Linux Mint 14 on another partition and it is strange that
an entry such as
root (hd0,6)
chainloader +1
does not work and I hit a problem something like
Error 13: Invalid or unsuppored executable format
Press any key to continue...
Similarly I installed CentOS 6.4 last night and the chailoader trick give me
"Error 18: Selected cyclinder exceeds maximum supported by BIOs.
Press any key to continue"
On both occasions I was not despair since I had
learned a trick to copy vmlinuz and initrd file
to /dev/sda1/boot
and then create new entries in /dev/sda1/boot/grub/grub.conf
accordingly that looks like
root (hd0,0)
kernel /vmlinuz-2.6.18-164.15.1.el5 ro root=/dev/sda3 rhgb quiet
initrd /initrd-2.6.18-164.15.1.el5.img
so that direct booting is enable. I "solved" the BIOS errors by
"avoiding a problem" but I thought I should report and share with other what
might have happened.
|