LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-13-2013, 12:28 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 627
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 03-13-2013, 02:32 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Thanks for posting your success. It helps us to learn and be aware of possible surprises-

Bet Linux Mint looks great on you Lenovo!

In regard to this error:
Code:
Error 13: Invalid or unsuppored executable format
Is this error associated with a device or a partition?
Please explain.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub _ Chain-loading problem pam196 Linux - Newbie 17 09-07-2007 12:25 PM
grub.conf dual boot xp centos xp does not load Envision5000 Linux - Newbie 8 03-06-2006 10:04 PM
How can I chain boot GRUB (Fedora) from LILO (Slackware)? DaneM Linux - Distributions 6 07-06-2005 04:25 AM
how to chain load grub on a floppy? zero79 Linux - General 11 08-15-2004 04:51 PM
Chain loading grub from lilo - help! thebeardedladie Linux - General 2 03-09-2003 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration