Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SILO "does not appear executable" error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
digidocs
n00b
n00b


Joined: 10 Feb 2004
Posts: 19

PostPosted: Sun Oct 17, 2004 8:06 pm    Post subject: SILO "does not appear executable" error Reply with quote

I just finished installing gentoo on a SparcServer 670MP. Upon reboot I'm getting the famous "file does not appear to be executable" error message.
Its worth noting that my /boot directory is located on my / partition; I have no seperate /boot partition.

My first (1.3GB) disk is setup as follows:

Disk /dev/sda (Sun disk label): 17 heads, 80 sectors, 1965 cylinders
Units = cylinders of 1360 * 512 bytes
Code:

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0      1965   1336200    5  Whole disk
/dev/sda2             0      1965   1336200   83  Linux native [/]


The second disk is as follows:

Code:

Disk /dev/sdb (Sun disk label): 17 heads, 80 sectors, 1965 cylinders
Units = cylinders of 1360 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sdb1             0      1965   1336200    5  Whole disk
/dev/sdb2             0      1231    837080   83  Linux native [/var]
/dev/sdb3  u       1231      1965    499120   82  Linux swap


The first disk (sda) has scsi id 2, the second disk (sdb) has scsi id 3.

Here is my silo.conf
Code:

partition = 2         # Boot partition
root = /dev/sda2      # Root partition
timeout = 30          # Wait 3 seconds before booting the default section

image = /boot/kernel-2.4.27-sparc
  label = linux


I've tried the commands "boot disk:c", "boot disk" and a few others.
What do I need to change to make this thing run?
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Mon Oct 18, 2004 3:19 am    Post subject: Reply with quote

One problem may be that the whole disk partition needs to be at partition 3 on the drive to be booted. I noticed your are at partition 1, which may be causing the problem. You can try boot disk:a or boot disk:1 and see if those help.
Back to top
View user's profile Send private message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Sat Oct 23, 2004 1:44 am    Post subject: Reply with quote

Hi,

I had exactly the same problem, but I was trying to dual boot solaris and gentoo. I had set it all up as per the Sun pages, and set partition 7 as root and 8 as swap for gentoo, and 1 for root and 2 for swap for solaris, and 3 for the whole disk.

Needless to say it didnt work, I kept seeing what you are seeing even though I had set an nvram alias in OBP.

My solution was to use SuSe. Install this and at the end of the SILO setup when you select expert, you can set it to boot and write an nvram alias, then just boot from Gentoo live CD format partitions and start again.

Works for me, and as noone else has posted a decent answer for either you or me, I would give it a go!

Mark
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum