Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need help with SILO
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
NixdorfZippaHed
n00b
n00b


Joined: 07 Nov 2004
Posts: 14
Location: PA

PostPosted: Thu Jan 20, 2005 8:18 pm    Post subject: need help with SILO Reply with quote

Hello all,

I'm trying to set up gentoo on a SunBlade 1500 for a friend. I have no experience with OBP or silo. I successfully completed the gentoo build ( I've built many on x86 and x86_64 ). I can't seem to get silo to boot. From the prom ( OpenBoot 4.9.5 ) I get
Code:
the file just loaded does not seem to be executable
After a few days of scouring the net, I think I narrowed it down to the first stage boot loader. According to what I'v read, the "file" that the prom referrs to is the boot block. Correct me if I'm wrong, but the bootblock loader should be created when I run silo. I've tried running silo ( 1.4.8 ) many different ways with no luck. Among the flags I've tried ( at least the ones I can remember ), some are as follows.
Code:
silo
silo -f -u
silo -f -u -t
silo -f -u -t -i /boot/ultra.b


each time silo responds with something to the effect of
Code:
silo.conf appears to be valid

From http://www.sparc-boot.org/how.html I see that after each stage silo will output a character until it completes its stages, at which time "silo" will be spelled out. I don't even get to the point where "s" is printed. I executed at the prom: setenv boot-device disk0. The disk is an ide disk and is the only one in the can. devalias seems have disk0 pointing to the right device. At the prom I tried: boot disk0/kernel-2.4.28-gentoo-r6 with no difference. I downloaded and tried to upgrade the OBP and was answered with the same response "the file just loaded does not seem to be executable" It appears that nothing is executable. Below I will put the output of fdisk -l, and list my silo.conf. Any suggestions will be warmly welcomed.
==============================================================================================
Code:
livecd root # fdisk -l /dev/hda

Disk /dev/hda (Sun disk label): 16 heads, 255 sectors, 19677 cylinders
Units = cylinders of 4080 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/hda1             0       515   1050600   83  Linux native
/dev/hda2           515      1472   1952280   82  Linux swap
/dev/hda3             0     19677  40141080    5  Whole disk
/dev/hda4          1472      4413   5999640   83  Linux native
/dev/hda5          4413      4903    999600   83  Linux native
/dev/hda6          4903     19677  30138960   83  Linux native

hda1 is /
hda4 is /usr
hda5 is /var
hda6 is /home
==============================================================================================
silo.conf

Code:
timeout=150
partition=1
root=/dev/hda1

image=/boot/kernel-2.4.28-sparc-r6
        label=Gentoo
        root=/dev/hda1
        read-only

==============================================================================================
Another day another problem... My friend was able to upgrade the OBP from 4.9.5 to 4.16.4 and now the live cd no longer boots. We get the following error now.
Code:
clock_probe: Could not find timer chip.
Not much to say here... well a few choice words come to mind.
Back to top
View user's profile Send private message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Fri Sep 16, 2005 3:43 pm    Post subject: Reply with quote

I'm not sure, but shouldn't you have a boot flag somewhere ? maybe /dev/hda1 !?

Luca
Back to top
View user's profile Send private message
Toady
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 161
Location: South Wales, UK

PostPosted: Sun Sep 18, 2005 11:24 am    Post subject: Reply with quote

luca wrote:
I'm not sure, but shouldn't you have a boot flag somewhere ? maybe /dev/hda1 !?

Luca



Also (mostly down to personal preferance) I usually keep the first partition (/dev/hda1) as /boot (about 15 meg is nice).

It might be worth trying that too.
_________________
Toady

Gentoo Laptop
3.1.10-gentoo-r1, Intel Core 2 Duo (32bit)
Gnome on the desk, Intel in the box, on-board everything, but it all works!
Back to top
View user's profile Send private message
i-right-i
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 118
Location: Chandler, AZ USA

PostPosted: Mon Sep 19, 2005 4:56 pm    Post subject: Reply with quote

Forget what you know about grub and lilo. SIlo and the way OBP interacts it a tad different for sparc.

Here is a copy of my Silo config for an Ultra 10 that I have.

partition = 1 # Boot partition (= root partition)
root = /dev/hda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section

image = /boot/kernel-2.4.31
label = linux

/dev/hda1 is my root partition. You dont specify a boot partion like you do in grub for x86/amd64. The reason why is because OBP is the bootloader.

You have the root option listed twice. Take out the top one and you should be ok.

Also, if you make /dev/hda1 read-only good luck getting it to boot. Since it really ins't boot, it is root, you will need to remove that.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
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