LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2008, 03:54 AM   #1
lsanga099
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Error 13: Invalid or unsupported executable format + solaris and linux


Hi, I am trying for dual boot with solaris and linux.
I have installed rh4u4 successfully. through fdisk I selected a partition[sda2 below] and changed the label to bf, for solaris.

sda1 - rh4u4
sda2 - sol10
sda3 - linux swap

I have successfully installed solaris now on sda2.

my grub file snip in solaris is :

# kernel /platform/i86pc/multiboot <boot-args> -B prop1=val1,prop2=val2,...

#

#---------- ADDED BY BOOTADM - DO NOT EDIT ----------

title Solaris 10 8/07 s10x_u4wos_12b X86

kernel /platform/i86pc/multiboot

module /platform/i86pc/boot_archive

#---------------------END BOOTADM--------------------

#---------- ADDED BY BOOTADM - DO NOT EDIT ----------

title Solaris failsafe

kernel /boot/multiboot kernel/unix -s -B console=ttya

module /boot/x86.miniroot-safe

#---------------------END BOOTADM--------------------

title RH4u4

rootnoverify (hd0,0)

chainloader +1

makeactive



# Unknown partition of type 131 found on /dev/rdsk/c0t2d0p0 partition: 1

# It maps to the GRUB device: (hd0,0) .

...

If I select to boot linux I get the error.

<<rootnoverify (hd0,0)>>
<<chainloader +1>>

<<Error 13: Invalid or unsupported executable format>>

<<Press any key to continue... >>

what is the step i am missing here ?
I have selected linux as a primary partition.
 
Old 06-20-2008, 04:10 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Are you sure that you got the right kernel for your architecture?
 
Old 06-20-2008, 04:15 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What is Rh4u4?

Does sda1 have grub installed? You may need to boot a rescue disc or perhaps solaris, and install grub on sda1 if you want to chainload.

Something along the lines of:

mount /dev/sda1 /mnt
grub-install --root-directory=/mnt /dev/sda1
 
Old 06-30-2008, 06:51 AM   #4
lsanga099
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Was on long leave, late response!!

RG4u4- redhat-4 update 4-2.6 kernel, more precise is below with uname output. This is the output of another system with same architecture and same kernel installed
[root@xxx ~]# uname -a
Linux xxx 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

billy, By default my system is booting to solaris, now how can I access sda1 from solaris ?
I had selected 20GB to each of sda1 and sda2 through manual partition during linux installation my first OS.

df -h output from solaris is :
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t2d0s0 16G 3.2G 12G 21% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 6.8G 876K 6.8G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap2.so.1
16G 3.2G 12G 21% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 6.8G 36K 6.8G 1% /tmp
swap 6.8G 28K 6.8G 1% /var/run

I am doing all the installation through network.
 
Old 06-30-2008, 07:10 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Code:
title RH4u4 

rootnoverify (hd0,0)

chainloader +1

makeactive
The chainload command is executed before the makeactive and you encounter the error before makeactiver is executed.

Try moving makeactive up in the sequence of commands so that it's executed before chainloader.

Last edited by bigrigdriver; 06-30-2008 at 07:12 AM.
 
  


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 error: Invalid or unsupported executable format newtovanilla Linux - Newbie 4 04-29-2008 02:14 PM
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 01:26 AM
[SOLVED] Booting Vista via grub: Invalid or unsupported executable format jot Linux - Kernel 3 01-07-2007 04:03 AM
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 01:51 AM
Error 13 : Invalid or unsupported Executed Format. linuxnewbie82 Linux - Newbie 1 08-01-2006 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 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