Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple Entries in silo.conf
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
i-right-i
Tux's lil' helper
Tux's lil' helper


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

PostPosted: Thu Mar 31, 2005 7:38 pm    Post subject: Multiple Entries in silo.conf Reply with quote

I am trying to add multiple entries in silo.conf so that I can boot for a few different kernels. Is there a trick to it? Becuase if I add another entry to silo.conf, regardless of what I put, i always get an error in parseing silo.conf.

Here is what my entry looks like.

partition = 1
root = /dev/hda1
timeout = 150
image = /boot/kernel-2.4.27
label = linux

now what I want to add is this:

partition = 1
root = /dev/hda1
timeout = 150
image = /boot/kernel-2.4.29
label = linux-test

any hidden quirks in doing this?

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
Back to top
View user's profile Send private message
leonarp
n00b
n00b


Joined: 22 Mar 2004
Posts: 35
Location: Kansas

PostPosted: Thu Mar 31, 2005 9:07 pm    Post subject: Reply with quote

I don't know if there is a "trick" but here is what my silo.conf looks like with three entries:

Code:
partition = 1
root = /dev/md2
timeout = 100
#
image = /boot/kernel-2.4.29-sparc
        label = linux
image = /boot/kernel-2.4.28-sparc-r6
        label = linux-prev
image = /boot/kernel-2.4.28-sparc-r1
        label = linux-2.4.28-sparc-r1
Back to top
View user's profile Send private message
mrPr0ky
n00b
n00b


Joined: 12 Oct 2004
Posts: 12

PostPosted: Fri Apr 01, 2005 10:01 pm    Post subject: Reply with quote

On my ultra5 my /boot/silo.conf looks like this. I was playing with different kernel configs to get the promise IDE card working right, so I ended up changing the same kernel a few times. (You can't boot the kernel from the promise controlled drives, so the boot partition is on a drive attatched to the built-in IDE controller)

Code:

partition = 1         # Boot partition (= root partition)
root = /dev/hde4      # Root partition
timeout = 150          # Wait 15 seconds before booting the default section
default = /boot/kernel-2.4.29-sparc-3

image = /boot/kernel-2.4.29-sparc
  label = gentoo-sparc

image = /boot/kernel-2.4.29-sparc-2
  label = gentoo-sparc-2

image = /boot/kernel-2.4.29-sparc-3
  label = gentoo-sparc-3_udma_fixed
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sun Apr 03, 2005 11:15 pm    Post subject: Reply with quote

No trick. You can't have multiple partition= entries though.
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 Apr 11, 2005 4:51 pm    Post subject: Reply with quote

Sweet, thats what I was looking for. Didn't know you could add multiple entries under the same partition. 8)

Thanks Guys,

Also, sorry for the late reply. I was on Vacation.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 138
Location: North Texas

PostPosted: Mon May 02, 2005 5:03 pm    Post subject: Reply with quote

What about your System.map files? How do you name them if you have more than one kernel?

Code:

gollum boot # ls -l
total 5984
-rw-r--r--  1 root root  449517 May  2 12:44 System.map
-rw-r--r--  1 root root  444479 Apr 11 20:37 System.map-2.4.29
lrwxrwxrwx  1 root root       1 Apr  9 11:06 boot -> .
-rw-r--r--  1 root root   12940 Apr 11 20:37 config-2.4.29
-rw-r--r--  1 root root   12411 May  2 12:44 config-2.4.30
-rw-r--r--  1 root root    1024 May  2 11:40 fd.b
-rw-r--r--  1 root root     512 May  2 11:40 first.b
-rw-r--r--  1 root root    1024 May  2 11:40 generic.b
-rw-r--r--  1 root root     816 May  2 11:40 ieee32.b
-rw-r--r--  1 root root    7192 May  2 11:40 isofs.b
-rwxr-xr-x  1 root root 2485936 Apr 11 20:37 kernel-2.4.29
-rwxr-xr-x  1 root root 2559664 May  2 12:43 kernel-2.4.30
-rw-r--r--  1 root root    7680 Apr 11 21:28 old.b
-rw-r--r--  1 root root   66560 May  2 12:45 second.b
-rw-r--r--  1 root root      78 May  2 12:45 silo.conf
-rw-r--r--  1 root root   63961 May  2 11:40 silotftp.b
-rw-r--r--  1 root root     512 May  2 11:40 ultra.b

_________________
Gentoo Linux is groovy, baby! Yeah!
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